@extends('backend.layout.main') @section('content') @if ($errors->has('title'))
{{ $errors->first('title') }}
@endif @if (session()->has('message'))
{{ session()->get('message') }}
@endif @if (session()->has('not_permitted'))
{{ session()->get('not_permitted') }}
@endif

Daily Sale Payment Report

Sales Table (Daily Sale)

@php // යටින් පෙන්නන්න ඕන එකතුවට බින්දුවෙන් විචල්‍යයන් හදාගන්නවා $tot_grand = 0; $tot_cash = 0; $tot_card1 = 0; $tot_card2 = 0; $tot_card3 = 0; $tot_online = 0; $tot_link = 0; $tot_due = 0; @endphp @foreach ($sales_data as $sale) @php // ටේබල් එක යටින් පෙන්වන්න ඔක්කොම එකතු කරනවා $tot_grand += $sale->grand_total; $tot_cash += $sale->cash; $tot_card1 += $sale->card1; $tot_card2 += $sale->card2; $tot_card3 += $sale->card3; $tot_online += $sale->online_transfer; $tot_link += $sale->link_pay; $tot_due += $sale->due_amount; @endphp @endforeach
Date Reference Number Cashier Customer Grand Total Cash Card 1 Card 2 Card 3 Online Transfer Link Pay Due Amount
{{ $sale->date }} {{ $sale->reference_no }} {{ $sale->cashier }} {{ $sale->customer }} {{ number_format($sale->grand_total, 2) }} {{ number_format($sale->cash, 2) }} {{ number_format($sale->card1, 2) }} {{ number_format($sale->card2, 2) }} {{ number_format($sale->card3, 2) }} {{ number_format($sale->online_transfer, 2) }} {{ number_format($sale->link_pay, 2) }} {{ number_format($sale->due_amount, 2) }}
Total {{ number_format($tot_grand, 2) }} {{ number_format($tot_cash, 2) }} {{ number_format($tot_card1, 2) }} {{ number_format($tot_card2, 2) }} {{ number_format($tot_card3, 2) }} {{ number_format($tot_online, 2) }} {{ number_format($tot_link, 2) }} {{ number_format($tot_due, 2) }}

Credit Sale Collections

{{-- @foreach ($credit_data as $credit) --}} {{-- @endforeach --}}
Original Bill Date Reference Number Cashier Customer Grand Total Cash Card 1 Card 2 Card 3 Online Transfer Link Pay
Total 0.00 0.00 0.00 0.00 0.00 0.00 0.00

Payment Method Summary

Payment Option Sale Amount Received Amount Total Amount
Cash 0.00 0.00 0.00
Card 1 0.00 0.00 0.00
Card 2 0.00 0.00 0.00
Card 3 0.00 0.00 0.00
Online Transfer 0.00 0.00 0.00
Link Pay 0.00 0.00 0.00
Grand Total 0.00 0.00 0.00
@endsection @push('scripts') @endpush