Kukreja Interiors
A-45, R Quarters, Near Sai Chowk, Pimpri,
Pune - 411017 Maharashtra, India
Phone : +91 96650 65522
Email : kukreja_interiors@yahoo.com

Customerwise Receipt Details

@if(!$is_pdf)
Reset
@endif

@php $today = \Carbon\Carbon::now()->setTimezone('Asia/Kolkata')->toDateString(); @endphp
@php $grandTotal = 0; $headerShown = false; @endphp @foreach($groupedReceipts as $date => $customers) @foreach($customers as $customerName => $receipts) @php $customer = $receipts->first(); $customerTotal = $receipts->sum('pay_amount'); $grandTotal += $customerTotal; @endphp @if(!$headerShown) @php $headerShown = true; @endphp @endif @php $totalAmountSum = 0; @endphp @foreach($receipts as $receipt) @php $totalAmountSum += $receipt->pay_amount; @endphp @endforeach
Receipt No Order No Invoice No Order Date Amount Payment Mode Details Receipt Type Order Status Remark
{{ \Carbon\Carbon::parse($date)->format('d-M-Y') }}
{{ $customer->customer_display_name }}
{{ $receipt->receipt_id }} {{ $receipt->order_code }} {{ $receipt->invoice_no ?? '-' }} {{ date('d-m-Y',strtotime($receipt->order_date)) }} {{ number_format($receipt->pay_amount, 2) }} {{ $receipt->payment_mode }} @if(!empty($receipt->bank_name)) Bank: {{ $receipt->bank_name }}
@if(!empty($receipt->account_number)) Ac No: {{ $receipt->account_number }}
@endif @if(!empty($receipt->ifsc_code)) IFSC: {{ $receipt->ifsc_code }}
@endif @endif @if(!empty($receipt->reference_id)) Txn ID: {{ $receipt->reference_id }}
@endif @if(!empty($receipt->cheque_number)) Cheque No: {{ $receipt->cheque_number }} @endif @if(empty($receipt->bank_name) && empty($receipt->reference_id) && empty($receipt->cheque_number)) - @endif
{{ $receipt->receipt_type }} {{ $receipt->order_status }} {{ $receipt->remark }}
{{ number_format($totalAmountSum, 2) }}
@endforeach @endforeach
Grand Total : ₹{{ number_format($grandTotal, 2) }}


@if(!$is_pdf) Download @endif