{{$page_info['page_name']}}
| Sanction Officer |
Fresh Cases |
Fresh Loan Amount |
Repeat Cases |
Repeat Loan Amount |
Grand Total Cases |
Grand Total Loan Amount |
@php
$totalFreshCases = 0;
$totalFreshLoanAmount = 0;
$totalRepeatCases = 0;
$totalRepeatLoanAmount = 0;
@endphp
@if(count($sanctionFreshRepeatData) > 0)
@foreach($sanctionFreshRepeatData as $arr)
@php
$grandTotalCases = $arr->freshCases + $arr->repeatCases;
$grandTotalLoanAmount = $arr->freshLoanAmount + $arr->repeatLoanAmount;
// Accumulate totals
$totalFreshCases += $arr->freshCases;
$totalFreshLoanAmount += $arr->freshLoanAmount;
$totalRepeatCases += $arr->repeatCases;
$totalRepeatLoanAmount += $arr->repeatLoanAmount;
@endphp
{{ getUserNameById('users', 'userID', $arr->userID, 'displayName') }}
|
{{ $arr->freshCases }}
|
{{ nf($arr->freshLoanAmount) }}
|
{{ $arr->repeatCases }}
|
{{ nf($arr->repeatLoanAmount) }}
|
{{ $grandTotalCases }} |
{{ nf($grandTotalLoanAmount) }} |
@endforeach
@else
| No Records Found |
@endif
@if(count($sanctionFreshRepeatData) > 0)
| Total |
{{ $totalFreshCases }} |
{{ nf($totalFreshLoanAmount) }} |
{{ $totalRepeatCases }} |
{{ nf($totalRepeatLoanAmount) }} |
{{ $totalFreshCases + $totalRepeatCases }} |
{{ nf($totalFreshLoanAmount + $totalRepeatLoanAmount) }} |
@endif
@endsection
@section('custom-js')
@endsection