Refreshment and IEC Due From Different Blood Bank up to:‐ {{ date('d/m/Y') }}
@php $first = false; @endphp
@php
$sl = 1; // ✅ RESET SERIAL HERE
$monthRef = 0;
$monthIEC = 0;
$monthDonor = 0;
$monthTotal = 0;
$campCount = count($records);
@endphp
| Sl |
Camp Date |
Organisation Name |
BB |
NOD |
Ref Amt |
IEC Amt |
Ref IEC ToT |
Ref Rec From BB Status |
IEC Pay Rec From BB Status |
@foreach ($records as $value)
@php
$monthRef += $value->refreshment_charge ?? 0;
$monthIEC += $value->iec_grant_paid ?? 0;
$monthDonor += $value->donor_count ?? 0;
$monthTotal += $value->total_amount ?? 0;
@endphp
| {{ $sl++ }} |
{{ $value->camp_date ? date('d-m-Y', strtotime($value->camp_date)) : '' }}
|
{{ $value->org_name }}
|
{{ $value->blood_bank_code ?? '' }} |
{{ $value->donor_count ?? 0 }} |
{{ number_format($value->refreshment_charge ?? 0, 2) }} |
{{ number_format($value->iec_grant_paid ?? 0, 2) }} |
{{ number_format($value->total_amount ?? 0, 2) }} |
{{ strtoupper($value->ref_status ?? '') }} |
{{ strtoupper($value->iec_status ?? '') }} |
@endforeach
|
Sum Camp Month : {{ $month }}
|
{{ $monthDonor }} |
{{ number_format($monthRef, 2) }} |
{{ number_format($monthIEC, 2) }} |
{{ number_format($monthTotal, 2) }} |
|
@endforeach
@else