@extends('layouts.master') @section('page-title',$page_info['page_title']) @section('main-section')

{{$page_info['page_name']}}

Recovery 360º Sanction wise {{$filterShow}}

@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 @endforeach @else @endif
Sanction Officer Due Cases Repay Amount Paid Cases Paid Amount Deficit Recovery %
table-user {{$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) }}%
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) }}%
No Records Found

Recovery 360º Branch wise {{$filterShow}}

@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 @endforeach @else @endif
Sanction Officer Due Cases Repay Amount Paid Cases Paid Amount Deficit Recovery %
{{ 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) }}%
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) }}%
No Records Found
@endsection @section('custom-js') @endsection