Logo @if(!$is_pdf) Back @endif
{{ $company->company_name }}
{{ $company->address }}, {{ $company->city }}, {{ $company->state }}
Phone: {{ $company->phone1 }}
GST NO: {{ $company->gst_no }}

Daily Sales Report


@if(!$is_pdf)
Reset
@endif
@php $grandTotal = 0; @endphp @foreach($grouped_data as $paymentMethod => $customers) @foreach($customers as $customerName => $details) @php $customerTotal = 0; @endphp @foreach($details['orders'] as $order) @php $customerTotal += floatval(str_replace(',', '', $order['amount'])); @endphp @endforeach @php $grandTotal += $customerTotal; @endphp @endforeach @endforeach
Order No Invoice No Customer Name Transaction Date Amount Bill No Payment Details Remarks Receipt Type
Payment method - {{ strtoupper($paymentMethod) }}
{{ ucfirst($customerName) }}
{{ $order['order_code'] }} {{ $order['invoice_no'] ?? '-' }} {{ ucfirst($customerName) }} {{ date('d-m-Y',strtotime($order['transaction_date'])) }} {{ number_format(floatval(str_replace(',', '', $order['amount'])), 2) }} {{ $order['receipt_id'] }} @if(!empty($order['bank'])) Bank: {{ $order['bank'] }}
Ac No: {{ $order['account_number'] ?? '-' }}
IFSC: {{ $order['ifsc_code'] ?? '-' }}
@endif @if(!empty($order['reference_id'])) Txn ID: {{ $order['reference_id'] }}
@endif @if(!empty($order['cheq_no'])) Cheque No: {{ $order['cheq_no'] }} @endif @if(empty($order['bank']) && empty($order['reference_id']) && empty($order['cheq_no'])) - @endif
{{ $order['remark'] }} {{ $order['rcpt_type'] }}
Subtotal for {{ ucfirst($customerName) }}: {{ number_format($customerTotal, 2) }}
Grand Total: {{ number_format($grandTotal, 2) }}

@if(!$is_pdf) Download @endif