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

{{$page_info['page_name']}}

@if(isSuperAdmin()) @endif @if(rolesAccess('Cash Pending', 'export') || isSuperAdmin() || isAdmin() || role() == 'Sr. Credit Manager'|| role() == 'NPA Manager')
@endif @if(!empty($filter)) @endif
@php $serial = ($leads->currentPage() - 1) * $leads->perPage() + 1; @endphp @if ($leads->isEmpty()) @else @foreach($leads as $key => $arr) @php $currentDate = strtotime("today"); $repayDate = strtotime($arr->repayDate); $delayDate = ($currentDate > $repayDate) ? ($currentDate - $repayDate) / 86400 : 0; $penalty = $delayDate > 0 ? $arr->loanAmtApproved * 1.25 / 100 * $delayDate : 0; @endphp @endforeach @endif
# Action Lead ID Loan No Branch Loan Type Name Email Official Email Mobile Alternate Mobile Reference Details Pancard Employed Loan Amount ROI Repay Amount Tenure Penal Interest Collected Amount Repay Date Sanction By PD By Legal Status Red Flag Disbursal Date
No data found
{{$serial++}} @php $repayTs = strtotime($arr->repayDate); $legalEligibleTs = strtotime('+90 days', $repayTs); @endphp @if( (role() == 'Sr. Recovery Manager' || role() == 'NPA Manager') && time() >= $legalEligibleTs ) @endif {{$arr->leadID}} {{$arr->loanNo}} {{ getUserNameById('lms_cities', 'cityID', $arr->branch, 'cityName') }} {{ $arr->loanType }} {{ucwords($arr->name)}} {{ $arr->email }} {{ $arr->officialEmail }} {{ $arr->mobile }} {{ $arr->alternateMobile }} {{ $arr->referenceDetails }} {{ $arr->pancard }} {{ $arr->employed }} {{ $arr->loanAmtApproved }} {{ $arr->roi }} {{ nf($arr->repayAmount) }} {{ $arr->tenure }} {{round($penalty)}} {{$arr->totalCollectedAmount + $arr->totalPenaltyAmount}} {{ df($arr->repayDate) }} {{getUserNameById('users', 'userID', $arr->creditedBy, 'displayName')}} {{getUserNameById('users', 'userID', $arr->pdDoneBy, 'displayName')}} N/A {{ $arr->redFlag == 0 ? 'No' : 'Yes' }} {{ df($arr->disbursalDate) }}
# Action Lead ID Loan No Branch Loan Type Name Email Official Email Mobile Alternate Mobile Reference Details Pancard Employed Loan Amount ROI Repay Amount Tenure Penal Interest Collected Amount Repay Date Sanction By PD By Legal Status Red Flag Disbursal Date
{{ $leads->appends($queryParameters)->links('pagination::bootstrap-5') }}
@endsection @section('custom-js') @endsection