{{$page_info['page_name']}}
| Sanction Officer |
Due Cases |
Repay Amount |
Paid Cases |
Paid Amount |
Deficit |
Recovery % |
@if(count($recoverySanctionValuesData) > 0)
@php
$totalDueCases = 0;
$totalRepayAmount = 0;
$totalPaidCases = 0;
$totalPaidAmount = 0;
$totalDeficit = 0;
$totalRecoveryPercentage = 0;
@endphp
@foreach($recoverySanctionValuesData as $data)
@php
$deficit = $data->Deficit;
$recoveryPercentage = $data->PerCollect;
// Aggregating the totals
$totalDueCases += $data->DueCases;
$totalRepayAmount += $data->RepayAmount;
$totalPaidCases += $data->PaidCases;
$totalPaidAmount += $data->PaidAmount;
$totalDeficit += $deficit;
$totalRecoveryPercentage += $recoveryPercentage;
@endphp
{{$data->CreditBy}}
|
{{ number_format($data->DueCases) }}
|
{{ number_format($data->RepayAmount) }}
|
{{ number_format($data->PaidCases) }}
|
{{ number_format($data->PaidAmount) }}
|
{{ number_format($deficit) }}
|
{{ number_format($recoveryPercentage, 2) }}%
|
@endforeach
| Total |
{{ number_format($totalDueCases) }}
|
{{ number_format($totalRepayAmount) }}
|
{{ number_format($totalPaidCases) }}
|
{{ number_format($totalPaidAmount) }}
|
{{ number_format($totalDeficit) }}
|
@php
// Calculate the overall recovery percentage
$overallRecoveryPercentage = $totalRepayAmount > 0 ? ($totalPaidAmount / $totalRepayAmount) * 100 : 0;
@endphp
{{ number_format($overallRecoveryPercentage, 2) }}%
|
@else
| No Records Found |
@endif
| Sanction Officer |
Due Cases |
Repay Amount |
Paid Cases |
Paid Amount |
Deficit |
Recovery % |
@if(count($recoverySanctionBranchwiseValuesData) > 0)
@php
$totalDueCases = 0;
$totalRepayAmount = 0;
$totalPaidCases = 0;
$totalPaidAmount = 0;
$totalDeficit = 0;
$totalRecoveryPercentage = 0;
@endphp
@foreach($recoverySanctionBranchwiseValuesData as $data)
@php
$deficit = $data->Deficit;
$recoveryPercentage = $data->PerCollect;
// Aggregating the totals
$totalDueCases += $data->DueCases;
$totalRepayAmount += $data->RepayAmount;
$totalPaidCases += $data->PaidCases;
$totalPaidAmount += $data->PaidAmount;
$totalDeficit += $deficit;
$totalRecoveryPercentage += $recoveryPercentage;
@endphp
|
{{ getUserNameById('lms_cities', 'cityID', $data->branchId, 'cityName') }}
|
{{ number_format($data->DueCases) }}
|
{{ number_format($data->RepayAmount) }}
|
{{ number_format($data->PaidCases) }}
|
{{ number_format($data->PaidAmount) }}
|
{{ number_format($deficit) }}
|
{{ number_format($recoveryPercentage, 2) }}%
|
@endforeach
| Total |
{{ number_format($totalDueCases) }}
|
{{ number_format($totalRepayAmount) }}
|
{{ number_format($totalPaidCases) }}
|
{{ number_format($totalPaidAmount) }}
|
{{ number_format($totalDeficit) }}
|
@php
// Calculate the overall recovery percentage
$overallRecoveryPercentage = $totalRepayAmount > 0 ? ($totalPaidAmount / $totalRepayAmount) * 100 : 0;
@endphp
{{ number_format($overallRecoveryPercentage, 2) }}%
|
@else
| No Records Found |
@endif
@endsection
@section('custom-js')
@endsection