Account-wise Receipt Report Account-wise Receipt Report
Account Wise Summary
@php $gtCount = 0; $gtAmount = 0; $gtSGST = 0; $gtCGST = 0; $gtTotal = 0; @endphp @foreach($reportData as $data) @php $count = count($data['demand_ids']); $gtCount += $count; $gtAmount += $data['amount']; $gtSGST += $data['sgst']; $gtCGST += $data['cgst']; $gtTotal += $data['total_amount']; @endphp @endforeach
Sr No Account Number No. of Receipts Amount SGST Amount CGST Amount Total Amount
{{ $loop->iteration }} {{ $data['account_number'] }} {{ $count }} {{ number_format($data['amount'], 2) }} {{ number_format($data['sgst'], 2) }} {{ number_format($data['cgst'], 2) }} {{ number_format($data['total_amount'], 2) }}
Grand Total: {{ $gtCount }} {{ number_format($gtAmount, 2) }} {{ number_format($gtSGST, 2) }} {{ number_format($gtCGST, 2) }} {{ number_format($gtTotal, 2) }}
@push('scripts') @endpush