Service Head-wise Collection Report Service Head-wise Collection Report
Service Wise Summary
@php $gtAmount = 0; $gtSGST = 0; $gtCGST = 0; $gtTotal = 0; @endphp @foreach ($reportData as $data) @php $gtAmount += $data['amount']; $gtSGST += $data['sgst']; $gtCGST += $data['cgst']; $gtTotal += $data['total_amount']; @endphp @endforeach
Sr No Department Service Name Function Code Budget Code Amount SGST CGST Total Amount
{{ $loop->iteration }} {{ $data['dept_name'] }} {{ $data['service_name'] }} {{ $data['function_code'] }} {{ $data['budget_code'] }} {{ number_format($data['amount'], 2) }} {{ number_format($data['sgst'], 2) }} {{ number_format($data['cgst'], 2) }} {{ number_format($data['total_amount'], 2) }}
Grand Total: {{ number_format($gtAmount, 2) }} {{ number_format($gtSGST, 2) }} {{ number_format($gtCGST, 2) }} {{ number_format($gtTotal, 2) }}
@push('scripts') @endpush