@include('admin.layouts.header') @include('admin.layouts.sidebar')

{!! $application->name !!} Score Card

@if($errors->any()) @foreach($errors->all() as $key => $error) @endforeach @endif @if(Session::has('success')) @endif @if(Session::has('error')) @endif

Score Card

@if(isset($fraud_report) && $fraud_report)
id)->where('file_type','like','%fraud_report_%')->orderBy('created_at','desc')->first(['file_path']); ?> @if(isset($_file->file_path)) @endif
@endif
General
@if(isset($auto_co_applicant_name)) @else @endif @if(isset($auto_creditscore)) @else @endif
Name {!! $application->name !!}
Score {!! $score !!}

@if(isset($manual_applicant_creditscore)){!! $manual_applicant_creditscore !!} (Manual)@endif

Purpose category->id) && $application->category->id == 24){ switch ($application->application_element->type_of_customer){ case 1: echo 'Residential'; break; case 2: echo 'Rural C&I MSME ( Attachakki, Oil Expeller etc)'; break; case 3: echo 'Urban C&I MSME (Factories, Hospitals, Hotels, Offices, etc)'; break; case 4: echo 'Housing Society'; break; case 5: echo 'Schools & Universities'; break; } }else{ echo '-'; } ?>
# Enq L12M {!! $enquiryPast12 !!}
Co-Applicant Name{!! $auto_co_applicant_name !!}--missing--
Co-Applicant Score{!! $auto_creditscore->Score !!}

@if(isset($manual_co_applicant_creditscore)){!! $manual_co_applicant_creditscore !!} (Manual)@endif

0

@if(isset($manual_co_applicant_creditscore)){!! $manual_co_applicant_creditscore !!} (Manual)@endif

FOIR
Monthly Income ₹{!! money_format('%!i',$monthly_income) !!}
FOIR {!! $foir !!}%
ResidualFOIR {!! $ResidualFOIR !!}%
Max Eligible (Loan Amount) ₹{!! money_format('%!i',$max_eligible) !!}
Max EMI serviced in last 36 months (A) ₹{!! money_format('%!i',$max_emi_serviced) !!}
Current EMI amount (B) ₹{!! money_format('%!i',$current_emi_sum) !!}
Eligibility Amount [(A-B)*50/100] ₹{!! money_format('%!i',(($max_emi_serviced - $current_emi_sum) * 50 / 100)) !!}
Loan + Demog
Loan Value ₹{!! money_format('%!i',$loan_amount) !!}
ROI % {!! $interest_rate !!}
Tenure {!! $tenure !!}
Profession {!! $profession !!}
Profession Type {!! $profession_type !!}
Industry {!! $industry !!}
Company Category {!! $company_category !!}
Company Name {!! $company_name !!}
@if(isset($manual_applicant_creditscore))
Applicant (Manual Pulled Bureau)
@endif @if(isset($manual_co_applicant_creditscore))
Co-Applicant (Manual Pulled Bureau)
@endif @if(isset($bureauInput) && count($bureauInput) > 0)
BUREAU INPUT (Live + Closed) (Applicant)
{{----}} @foreach($bureauInput as $item) 0){ $red = "color:red;"; } ?> 0){ $red1 = "color:red;"; } $red2 = ''; if($item['AccountStatus'] == 'Settled' || $item['AccountStatus'] == 'Suit Filed(Wilful Default) and Written-off' || $item['AccountStatus'] == 'Suit Filed' || $item['AccountStatus'] == 'Post (WO) Settled'|| $item['AccountStatus'] == 'Wilful default'|| $item['AccountStatus'] == 'Written-off'|| $item['AccountStatus'] == 'Doubtful'|| $item['AccountStatus'] == 'Restructured Loan'|| $item['AccountStatus'] == 'Loss' || $item['AccountStatus'] == 'Account Sold'){ $red2 = "color:red;"; } $red3 = ''; if($item['PrincipalWriteOff'] > 0) { $red3 = "color:red;"; } if(isset($item['highlight']) && $item['highlight']){ $red2 = "color:red;"; } ?> @endforeach @if($guarantor_loans !== '') @foreach($guarantor_loans as $item) 0) { $red3 = "color:red;"; } ?> @endforeach @endif
Account Status Last Reporting Date Last Payment Date Date Opened Date Closed Type of Loan Ownership Loan Sanctioned Loan Outstanding Overdue AmountSchedule EMIPrincipal Write-off EMI Calc-Old EMI Calc-New Last EMI Amount paid Max DPD Avg. DPD DPD in 6 Months DPD in 12 Months
{!! $item['AccountStatus'] or '' !!} {!! $item['reported_date'] or '' !!} {!! $item['last_payment_date'] or '' !!} @if(isset($item['is_close_date_updated']) && $item['is_close_date_updated'])@endif {!! $item['type_of_loan'] !!} {!! $item['owner_ship'] !!} ₹{!! money_format('%!i',$item['loan_sanctioned']) !!} ₹{!! money_format('%!i',$item['loan_outstanding']) !!} ₹{!! money_format('%!i',$item['over_due_amount']) !!} {!! $item['PrincipalWriteOff'] or '' !!} {!! $item['schedule_emi'] !!} {!! $item['schedule_emi_new'] !!} ₹{!! money_format('%!i',$item['last_emi_amount_paid']) !!} {!! $item['max_dpd'] !!} {!! $item['average_dpd'] !!} {!! $item['sixmonth'] !!} {!! $item['twelvemonth'] !!}
Guarantor Loans:
{!! $item['AccountStatus'] or '' !!} {!! $item['ReportedDate'] or '' !!} {!! $item['LastPaymentDate'] or '' !!} {!! $item['AccountType'] !!} {!! $item['OwnershipType'] !!} ₹{!! money_format('%!i',$item['ApprovedAmount']) !!} ₹{!! money_format('%!i',$item['Balance']) !!} ₹{!! money_format('%!i',$item['PastDueAmount']) !!} {!! $item['PrincipalWriteOff'] or '' !!} {!! $item['InstallmentAmountNew'] !!} {!! $item['InstallmentAmountNew'] !!} ₹{!! money_format('%!i',$item['LastPayment']) !!} {!! $item['max_dpd'] or ''!!} {!! $item['average_dpd'] or '' !!} {!! $item['sixmonth'] !!} {!! $item['twelvemonth'] !!}
"AUTO LOAN", 2 => "HOUSING LOAN", 3 => "PROPERTY LOAN", 4 => "LOAN AGAINST SHARES/SECURITIES", 5 => "PERSONAL LOAN", 6 => "CONSUMER LOAN", 7 => "GOLD LOAN", 8 => "EDUCATIONAL LOAN", 9 => "LOAN TO PROFESSIONAL", 10 => "CREDIT CARD", 11 => "LEASING", 12 => "OVERDRAFT", 13 => "TWO-WHEELER LOAN", 14 => "NON-FUNDED CREDIT FACILITY", 15 => "LOAN AGAINST BANK DEPOSITS", 16 => "FLEET CARD", 17 => "Commercial Vehicle Loan", 18 => "Telco – Wireless", 19 => "Telco – Broadband", 20 => "Telco – Landline", 23 => "GECL Secured", 24 => "GECL Unsecured", 31 => "Secured Credit Card", 32 => "Used Car Loan", 33 => "Construction Equipment Loan", 34 => "Tractor Loan", 35 => "Corporate Credit Card", 36 => "Kisan Credit Card", 37 => "Loan on Credit Card", 38 => "Prime Minister Jaan Dhan Yojana - Overdraft", 39 => "Mudra Loans – Shishu / Kishor / Tarun", 40 => "Microfinance – Business Loan", 41 => "Microfinance – Personal Loan", 42 => "Microfinance – Housing Loan", 43 => "Microfinance – Others", 44 => "Pradhan Mantri Awas Yojana - Credit Link Subsidy Scheme MAY CLSS", 45 => "P2P Personal Loan", 46 => "P2P Auto Loan", 47 => "P2P Education Loan", 51 => "BUSINESS LOAN – GENERAL", 52 => "BUSINESS LOAN –PRIORITY SECTOR – SMALL BUSINESS", 53 => "BUSINESS LOAN –PRIORITY SECTOR – AGRICULTURE", 54 => "BUSINESS LOAN –PRIORITY SECTOR – OTHERS", 55 => "BUSINESS NON-FUNDED CREDIT FACILITY – GENERAL", 56 => "BUSINESS NON-FUNDED CREDIT FACILITY – PRIORITY SECTOR – SMALL BUSINESS", 57 => "BUSINESS NON-FUNDED CREDIT FACILITY – PRIORITY SECTOR – AGRICULTURE", 58 => "BUSINESS NON-FUNDED CREDIT FACILITY – PRIORITY SECTOR – OTHERS", 59 => "BUSINESS LOANS AGAINST BANK DEPOSITS", 60 => "Staff Loan", 61 => "Business Loan - Unsecured", 0 => "Others"]; ?> @if(count((array)$Enquiries) > 0 && !empty($Enquiries)) @endif
 
@if(count((array)$Enquiries) > 0) @else @endif
   Arrow Credit Enquiries No Records Found
   This section shows the names of the credit institutions that have processed a credit / loan application for you.
@foreach($Enquiries as $key=>$credit_caps_detail) @endforeach
Sr. No Enquiry Date Member Type Purpose Enquiry Amount Enquiry Type
{!! $keyMes !!} Date_of_Request) && !empty($credit_caps_detail->ReportTime) ? \Carbon\Carbon::parse($credit_caps_detail->Date_of_Request)->format('d-M-Y').' '.\Carbon\Carbon::parse($credit_caps_detail->ReportTime)->format('H:i:s') : '-'?> - Enquiry_Reason) && array_key_exists((int)$credit_caps_detail->Enquiry_Reason, $accountType) ? $accountType[(int)$credit_caps_detail->Enquiry_Reason] : '-' ?> Amount_Financed) ? $credit_caps_detail->Amount_Financed : '-'?> Credit
@endif @if(isset($bureauInputCoApplicant) && count($bureauInputCoApplicant) > 0)
BUREAU INPUT (Live + Closed) (Co-Applicant)
{{----}} @foreach($bureauInputCoApplicant as $item) 0){ $red = "color:red;"; } ?> 0){ $red1 = "color:red;"; } $red2 = ''; if($item['AccountStatus'] == 'Settled' || $item['AccountStatus'] == 'Suit Filed(Wilful Default) and Written-off' || $item['AccountStatus'] == 'Suit Filed' || $item['AccountStatus'] == 'Post (WO) Settled'|| $item['AccountStatus'] == 'Wilful default'|| $item['AccountStatus'] == 'Written-off'|| $item['AccountStatus'] == 'Doubtful'|| $item['AccountStatus'] == 'Restructured Loan'|| $item['AccountStatus'] == 'Loss' || $item['AccountStatus'] == 'Account Sold'){ $red2 = "color:red;"; } $red3 = ''; if($item['PrincipalWriteOff'] > 0) { $red3 = "color:red;"; } if(isset($item['highlight']) && $item['highlight']){ $red2 = "color:red;"; } ?> @endforeach @if($guarantor_loans !== '') @foreach($guarantor_loans as $item) 0) { $red3 = "color:red;"; } ?> @endforeach @endif
Account Status Last Reporting Date Last Payment Date Date Opened Date Closed Type of Loan Ownership Loan Sanctioned Loan Outstanding Overdue AmountSchedule EMIPrincipal Write-off EMI Calc-Old EMI Calc-New Last EMI Amount paid Max DPD Avg. DPD DPD in 6 Months DPD in 12 Months
{!! $item['AccountStatus'] or '' !!} {!! $item['reported_date'] or '' !!} {!! $item['last_payment_date'] or '' !!} @if(isset($item['is_close_date_updated']) && $item['is_close_date_updated'])@endif {!! $item['type_of_loan'] !!} {!! $item['owner_ship'] !!} ₹{!! money_format('%!i',$item['loan_sanctioned']) !!} ₹{!! money_format('%!i',$item['loan_outstanding']) !!} ₹{!! money_format('%!i',$item['over_due_amount']) !!} {!! $item['PrincipalWriteOff'] or '' !!} {!! $item['schedule_emi'] !!} {!! $item['schedule_emi_new'] !!} ₹{!! money_format('%!i',$item['last_emi_amount_paid']) !!} {!! $item['max_dpd'] !!} {!! $item['average_dpd'] !!} {!! $item['sixmonth'] !!} {!! $item['twelvemonth'] !!}
Guarantor Loans:
{!! $item['AccountStatus'] or '' !!} {!! $item['ReportedDate'] or '' !!} {!! $item['LastPaymentDate'] or '' !!} {!! $item['AccountType'] !!} {!! $item['OwnershipType'] !!} ₹{!! money_format('%!i',$item['ApprovedAmount']) !!} ₹{!! money_format('%!i',$item['Balance']) !!} ₹{!! money_format('%!i',$item['PastDueAmount']) !!} {!! $item['PrincipalWriteOff'] or '' !!} {!! $item['InstallmentAmountNew'] !!} {!! $item['InstallmentAmountNew'] !!} ₹{!! money_format('%!i',$item['LastPayment']) !!} {!! $item['max_dpd'] or ''!!} {!! $item['average_dpd'] or '' !!} {!! $item['sixmonth'] or '' !!} {!! $item['twelvemonth'] or '' !!}
"AUTO LOAN", 2 => "HOUSING LOAN", 3 => "PROPERTY LOAN", 4 => "LOAN AGAINST SHARES/SECURITIES", 5 => "PERSONAL LOAN", 6 => "CONSUMER LOAN", 7 => "GOLD LOAN", 8 => "EDUCATIONAL LOAN", 9 => "LOAN TO PROFESSIONAL", 10 => "CREDIT CARD", 11 => "LEASING", 12 => "OVERDRAFT", 13 => "TWO-WHEELER LOAN", 14 => "NON-FUNDED CREDIT FACILITY", 15 => "LOAN AGAINST BANK DEPOSITS", 16 => "FLEET CARD", 17 => "Commercial Vehicle Loan", 18 => "Telco – Wireless", 19 => "Telco – Broadband", 20 => "Telco – Landline", 23 => "GECL Secured", 24 => "GECL Unsecured", 31 => "Secured Credit Card", 32 => "Used Car Loan", 33 => "Construction Equipment Loan", 34 => "Tractor Loan", 35 => "Corporate Credit Card", 36 => "Kisan Credit Card", 37 => "Loan on Credit Card", 38 => "Prime Minister Jaan Dhan Yojana - Overdraft", 39 => "Mudra Loans – Shishu / Kishor / Tarun", 40 => "Microfinance – Business Loan", 41 => "Microfinance – Personal Loan", 42 => "Microfinance – Housing Loan", 43 => "Microfinance – Others", 44 => "Pradhan Mantri Awas Yojana - Credit Link Subsidy Scheme MAY CLSS", 45 => "P2P Personal Loan", 46 => "P2P Auto Loan", 47 => "P2P Education Loan", 51 => "BUSINESS LOAN – GENERAL", 52 => "BUSINESS LOAN –PRIORITY SECTOR – SMALL BUSINESS", 53 => "BUSINESS LOAN –PRIORITY SECTOR – AGRICULTURE", 54 => "BUSINESS LOAN –PRIORITY SECTOR – OTHERS", 55 => "BUSINESS NON-FUNDED CREDIT FACILITY – GENERAL", 56 => "BUSINESS NON-FUNDED CREDIT FACILITY – PRIORITY SECTOR – SMALL BUSINESS", 57 => "BUSINESS NON-FUNDED CREDIT FACILITY – PRIORITY SECTOR – AGRICULTURE", 58 => "BUSINESS NON-FUNDED CREDIT FACILITY – PRIORITY SECTOR – OTHERS", 59 => "BUSINESS LOANS AGAINST BANK DEPOSITS", 60 => "Staff Loan", 61 => "Business Loan - Unsecured", 0 => "Others"]; ?> @if(count((array)$Co_Enquiries) > 0 && !empty($Co_Enquiries)) @endif
 
@if(count((array)$Co_Enquiries) > 0) @else @endif
   Arrow Credit Enquiries No Records Found
   This section shows the names of the credit institutions that have processed a credit / loan application for you.
@foreach($Co_Enquiries as $key=>$credit_caps_detail) @endforeach
Sr. No Enquiry Date Member Type Purpose Enquiry Amount Enquiry Type
{!! $nKeysEs !!} Date_of_Request) && !empty($credit_caps_detail->ReportTime) ? \Carbon\Carbon::parse($credit_caps_detail->Date_of_Request)->format('d-M-Y').' '.\Carbon\Carbon::parse($credit_caps_detail->ReportTime)->format('H:i:s') : '-'?> - Enquiry_Reason) && array_key_exists((int)$credit_caps_detail->Enquiry_Reason, $accountType) ? $accountType[(int)$credit_caps_detail->Enquiry_Reason] : '-' ?> Amount_Financed) ? $credit_caps_detail->Amount_Financed : '-'?> Credit
@endif @if(isset($finbit_data) and count($finbit_data) > 0) applicant_type == 2 ? 2 : 1; $accountHolder = '-'; foreach ($finbit->consumer_application_file as $item) { if ($finbit->finbit_uid == str_replace('"',"",$item->accountUID)) { $fraudReport = \App\FraudReport::where('consumer_application_file_id', $item->id)->first(['accountHolder']); $accountHolder = isset($fraudReport->accountHolder) ? $fraudReport->accountHolder : '-'; } } if($type == 1){ $average_balance = isset($finbit->average_balance) && $finbit->average_balance > 0 ? money_format('%!i',$finbit->average_balance) : '-'; $average_balance_three_months = isset($finbit->average_balance_three_months) && $finbit->average_balance_three_months > 0 ? money_format('%!i',$finbit->average_balance_three_months) : '-'; $avg_emi_three_months = isset($finbit->avg_emi_three_months) && $finbit->avg_emi_three_months > 0 ? money_format('%!i',$finbit->avg_emi_three_months) : '-'; $table .= ''.$finbit->consumer_application->name.''. ''.$accountHolder.''. ''.$finbit->period_from.''. ''.$finbit->period_too.''. '₹'.$average_balance.''. '₹'.$average_balance_three_months.''. '₹'.$avg_emi_three_months.''. ''.$finbit->inwards_bounce_transaction.''. ''.$finbit->outwards_bounce_transaction.''. ''; }else{ $average_balance = isset($finbit->average_balance) && $finbit->average_balance > 0 ? money_format('%!i',$finbit->average_balance) : '-'; $average_balance_three_months = isset($finbit->average_balance_three_months) && $finbit->average_balance_three_months > 0 ? money_format('%!i',$finbit->average_balance_three_months) : '-'; $avg_emi_three_months = isset($finbit->avg_emi_three_months) && $finbit->avg_emi_three_months > 0 ? money_format('%!i',$finbit->avg_emi_three_months) : '-'; $tableCoApplicant = ''.$finbit->consumer_application->co_applicant_name.''. ''.$accountHolder.''. ''.$finbit->period_from.''. ''.$finbit->period_too.''. '₹'.$average_balance.''. '₹'.$average_balance_three_months.''. '₹'.$avg_emi_three_months.''. ''.$finbit->inwards_bounce_transaction.''. ''.$finbit->outwards_bounce_transaction.''. ''; } } ?> @endif @if(isset($dataApplicant) || isset($dataCoApplicant)) '.$dataApplicant['name'].''. ''.$dataApplicant['name'].''. ''.$dataApplicant['startDate'].''. ''.$dataApplicant['endDate'].''. '₹'.$dataApplicant['avgBalance'].''. '₹'.$dataApplicant['adjustedAvgBalance'].''. ''.$dataApplicant['noOfEmiBounces'].''. '₹'.$dataApplicant['inwardChequeBounce'].''. '₹'.$dataApplicant['outwardChequeBounce'].''. '₹'.$dataApplicant['avgMonthlyEmi'].''. ''.$dataApplicant['speculativeTradeCount'].''. '₹'.$dataApplicant['speculativeTradeAmount'].''. ''; } if(isset($dataCoApplicant) && count($dataCoApplicant)){ $co_pirimid_table .= ''.$dataCoApplicant['name'].''. ''.$dataCoApplicant['name'].''. ''.$dataCoApplicant['startDate'].''. ''.$dataCoApplicant['endDate'].''. '₹'.$dataCoApplicant['avgBalance'].''. '₹'.$dataCoApplicant['adjustedAvgBalance'].''. ''.$dataCoApplicant['noOfEmiBounces'].''. '₹'.$dataCoApplicant['inwardChequeBounce'].''. '₹'.$dataCoApplicant['outwardChequeBounce'].''. '₹'.$dataCoApplicant['avgMonthlyEmi'].''. ''.$dataCoApplicant['speculativeTradeCount'].''. '₹'.$dataCoApplicant['speculativeTradeAmount'].''. ''; } ?> @endif @if(isset($pirimid_table) && $pirimid_table != "" && false)
Pirimid Account Details - Applicant
{!! $pirimid_table !!}
Name Account Holder Name Statement From Statement Too Average Balance Adjusted Average balance No. EMI Bounces Inwards Cheque Bounce Txns Outward Cheque Bounce Txns Average Monthly EMI Amount Speculative Trade Count Speculative Trade Amount
@endif @if(isset($co_pirimid_table) && $co_pirimid_table != "" && false)
Pirimid Account Details - Co-Applicant
{!! $co_pirimid_table !!}
Name Account Holder Name Statement From Statement Too Average Balance Adjusted Average balance No. EMI Bounces Inwards Cheque Bounce Txns Outward Cheque Bounce Txns Average Monthly EMI Amount Speculative Trade Count Speculative Trade Amount
@endif @if(isset($table) && $table)
Finbit Account Details - Applicant
{!! $table !!}
Name Account Holder Name Statement From Statement Too Average balance Average balance 3 months Average EMI 3 months Inwards Bounce Transaction Outwards Bounce Transaction
@endif @if(isset($tableCoApplicant) && $tableCoApplicant)
Finbit Account Details - Co-Applicant
{!! $tableCoApplicant !!}
Name Account Holder Name Statement From Statement Too Average balance Average balance 3 months Average EMI 3 months Inwards Bounce Transaction Outwards Bounce Transaction
@endif @if(isset($dataApplicant['salaryList']) and count($dataApplicant['salaryList']) > 0 && false)
Salary Details of Applicant
@foreach($dataApplicant['salaryList'] as $salary) @endforeach @foreach($dataApplicant['salaryList'] as $salary) @endforeach
Amount of Salary₹ {{ $salary['amount'] or '-' }}
Date Salary was credited{!! $salary['date'] or '-' !!}
@endif @if(isset($dataCoApplicant['salaryList']) and count($dataCoApplicant['salaryList']) > 0 && false)
Salary Details of Applicant
@foreach($dataCoApplicant['salaryList'] as $salary) @endforeach @foreach($dataCoApplicant['salaryList'] as $salary) @endforeach
Amount of Salary₹ {{ $salary['amount'] or '-' }}
Date Salary was credited{!! $salary['date'] or '-' !!}
@endif @if(isset($epfReport) and count($epfReport) > 0)
EPF Details
@foreach($epfReport as $epfReportItem) data, 1); // $isEmployed = $uanNameMatch = false; // if($epf_data['result']['uan'] && is_array($epf_data['result']['uan']) && !empty($epf_data['result']['uan'])) { // foreach ($epf_data['result']['uan'] as $uanData) { // foreach ($uanData['employer'] as $uanDataEmployer) { // $isEmployed = $uanDataEmployer['isEmployed'] ?? false; // $uanNameMatch = $uanDataEmployer['uanNameMatch'] ?? false; // } // } // }else{ // $isEmployed = isset($epf_data['result']['nameLookup']['isEmployed']) ? $epf_data['result']['nameLookup']['isEmployed'] : '-'; // $uanNameMatch = isset($epf_data['result']['nameLookup']['uanNameMatch']) ? $epf_data['result']['nameLookup']['uanNameMatch'] : '-'; // } if(isset($epfReportItem['data'])){ $epf_data = json_decode($epfReportItem['data'], 1); $isEmployed = $isRecent = false; $summary = $epf_data['result']['summary']; if (isset($summary)){ $current_employer = $summary['uanLookup']['currentEmployer'] ?? ''; // $employee_name = $summary['nameLookup']['matchName'] ?? ""; if($current_employer){ $uan_data = $epf_data['result']['uan']; foreach ($uan_data as $data) {} $current_employer_details = array_filter($data['employer'], function($employer) use ($current_employer) { return $employer['name'] === $current_employer; }); if($current_employer_details){ $firstEmployer = reset($current_employer_details); $employee_name = $firstEmployer['matchName'] ?? ""; $isEmployed = $firstEmployer['isEmployed'] ?? null; $isRecent = $firstEmployer['isRecent'] ?? null; } } else if (isset($epf_data['result']['nameLookup']['organizationName'])) { $current_employer = $epf_data['result']['nameLookup']['organizationName']; $employee_name = $epf_data['result']['nameLookup']['employeeName'] ?? ""; $isEmployed = $epf_data['result']['nameLookup']['isEmployed'] ?? ""; $isRecent = $epf_data['result']['nameLookup']['isRecent'] ?? ""; } } } // }else{ // $isEmployed = isset($epf_data['result']['nameLookup']['isEmployed']) ? $epf_data['result']['nameLookup']['isEmployed'] : '-'; // $uanNameMatch = isset($epf_data['result']['nameLookup']['uanNameMatch']) ? $epf_data['result']['nameLookup']['uanNameMatch'] : '-'; // } ?> @endforeach
Applicant Type Employee Name Organization Name isEmployed isRecent
{!! $employee_name or '' !!} {!! $current_employer or '' !!}
@endif @if(isset($fraud_report_data) and !empty($fraud_report_data) and count($fraud_report_data) > 0) @include('admin.consumer-application.scorecard.file_validation', ['fraud_report_data' => $fraud_report_data, 'type' => 'Applicant']) @endif @if(isset($fraud_report_coapplicants) and !empty($fraud_report_coapplicants) and count($fraud_report_coapplicants) > 0) @include('admin.consumer-application.scorecard.file_validation', ['fraud_report_data' => $fraud_report_coapplicants, 'type' => 'Co-Applicant']) @endif {{-- @if(isset($bounce_charges) and count($bounce_charges) > 0)
Bounce Transaction
@foreach($bounce_charges as $bounce_charge) @endforeach
Transsaction Type Date Description Category Amount Transaction Type Balance Remark
{!! $bounce_charge->transsaction_type !!} {!! $bounce_charge->date !!} {!! $bounce_charge->description !!} {!! $bounce_charge->category !!} ₹{!! money_format('%!i',$bounce_charge->amount) !!} {!! $bounce_charge->transactionType !!} ₹{!! money_format('%!i',$bounce_charge->balance) !!} {!! $bounce_charge->remark !!}
@endif --}} @if(isset($dataApplicant['bounceTransactions']) and count($dataApplicant['bounceTransactions']) > 0 && false)
@foreach($dataApplicant['bounceTransactions'] as $transaction) @endforeach
Transaction Type Date Description Category Amount Transaction Type Balance Remark
{!! $transaction['counterParty'] !!} {!! $transaction['dateOfTransaction'] !!} {!! $transaction['narration'] !!} {!! $transaction['category'] !!} ₹{!! number_format($transaction['amount'], 2) !!} {!! $transaction['type'] !!} ₹{!! number_format($transaction['balance'], 2) !!} {!! $transaction['reference'] !!}
@endif @if(isset($dataCoApplicant['bounceTransactions']) and count($dataCoApplicant['bounceTransactions']) > 0 && false)
@foreach($dataCoApplicant['bounceTransactions'] as $transaction) @endforeach
Transaction Type Date Description Category Amount Transaction Type Balance Remark
{!! $transaction['counterParty'] !!} {!! $transaction['dateOfTransaction'] !!} {!! $transaction['narration'] !!} {!! $transaction['category'] !!} ₹{!! number_format($transaction['amount'], 2) !!} {!! $transaction['type'] !!} ₹{!! number_format($transaction['balance'], 2) !!} {!! $transaction['reference'] !!}
@endif @if(isset($dataApplicant['fcuIndicatorTransactions']) && count($dataApplicant['fcuIndicatorTransactions']) > 0 && false)
{{-- Collapsible toggle for main section --}} {{-- Collapsible content --}}
@php $fcuData = $dataApplicant['fcuIndicatorTransactions']; $sectionTitles = [ 'fraudIndicators' => 'Fraud Indicators', 'behaviouralIndicators' => 'Behavioural Indicators', 'riskIndicators' => 'Risk Indicators' ]; @endphp @foreach($sectionTitles as $sectionKey => $sectionTitle) @if(isset($fcuData[$sectionKey]))
{{ $sectionTitle }}
@foreach($fcuData[$sectionKey] as $indicatorKey => $indicator) @if(isset($indicator['transactions']) && count($indicator['transactions']) > 0)
{{ ucwords(preg_replace('/([a-z])([A-Z])/', '$1 $2', str_replace('_', ' ', $indicatorKey))) }} {{ count($indicator['transactions']) }}
@foreach(array_keys($indicator['transactions'][0]) as $header) @endforeach @foreach($indicator['transactions'] as $txn) @foreach($txn as $value) @endforeach @endforeach
{{ ucwords(str_replace('_', ' ', $header)) }}
{{ $value }}
@endif @endforeach
@endif @endforeach
@endif @if(isset($dataCoApplicant['fcuIndicatorTransactions']) && count($dataCoApplicant['fcuIndicatorTransactions']) > 0 && false)
Risk Events Transactions (Co-Applicant)
@php $fcuData = $dataCoApplicant['fcuIndicatorTransactions']; $sectionTitles = [ 'fraudIndicators' => 'Fraud Indicators', 'behaviouralIndicators' => 'Behavioural Indicators', 'riskIndicators' => 'Risk Indicators' ]; @endphp @foreach($sectionTitles as $sectionKey => $sectionTitle) @if(isset($fcuData[$sectionKey]))
{{ $sectionTitle }}
@foreach($fcuData[$sectionKey] as $indicatorKey => $indicator) @if(isset($indicator['transactions']) && count($indicator['transactions']) > 0)
{{ ucwords(preg_replace('/([a-z])([A-Z])/', '$1 $2', str_replace('_', ' ', $indicatorKey))) }} {{ count($indicator['transactions']) }}
@foreach(array_keys($indicator['transactions'][0]) as $header) @endforeach @foreach($indicator['transactions'] as $txn) @foreach($txn as $value) @endforeach @endforeach
{{ ucwords(str_replace('_', ' ', $header)) }}
{{ $value }}
@endif @endforeach
@endif @endforeach
@endif
OUTPUT
@if(\Illuminate\Support\Facades\Session::has('Score_Card_Weights|-18')) @foreach($scoreCard as $item) @endforeach @endif
Parameter Value Score Max Score
{!! $item['Parameter'] !!} {!! $item['value'] !!} {!! $item['score'] !!} {!! $item['max_score'] !!}
Score {!! $finalScore !!} {!! $maxScore !!}
Category Score : {!! $finalCategory !!}
@if(isset($telecom_response->result))
Telecom Data
@if(isset($telecom_response->result->history)) @foreach($telecom_response->result->history as $payment_history) @endforeach @endif {{----}} {{----}} {{--Get Telecom Data--}}
Contact
Address Alt Contact Email id Work Email
{!! $telecom_response->result->contact->address !!} {!! $telecom_response->result->contact->alt_contact !!} {!! $telecom_response->result->contact->email_id !!} {!! $telecom_response->result->contact->work_email !!}
Device
device_activation_date imei model
{!! $telecom_response->result->device->device_activation_date !!} {!! $telecom_response->result->device->imei !!} {!! $telecom_response->result->device->model !!}
Identity
date_of_birth gender name
{!! $telecom_response->result->identity->date_of_birth !!} {!! $telecom_response->result->identity->gender !!} {!! $telecom_response->result->identity->name !!}
Sim Details
activation_date last_activity_date provider type
{!! $telecom_response->result->sim_details->activation_date !!} {!! $telecom_response->result->sim_details->last_activity_date !!} {!! $telecom_response->result->sim_details->provider !!} {!! $telecom_response->result->sim_details->type !!}
Payment History
Amount Payment Date Payment Type
{!! $payment_history->amount !!} {!! $payment_history->payment_date !!} {!! $payment_history->payment_type !!}
@endif @if(isset($mobileData) && $mobileData)
Mobile Data (Downloaded on Customer’s Device)
@if(isset($mobileData['risky']) && $mobileData['risky']) @endif
    @foreach($mobileData['risky'] as $risky)
  • {!! $risky !!} | View on PlayStore
  • @endforeach
@if(isset($mobileData['salary']) && $mobileData['salary']) @endif
@foreach($mobileData['salary'] as $risky) @endforeach
Message
{!! $risky['message'] !!}
{!! $risky['address'] !!} - {!! $risky['date'] !!}
@if(isset($mobileData['charges']) && $mobileData['charges']) @endif
@foreach($mobileData['charges'] as $risky) @endforeach
Message
{!! $risky['message'] !!}
{!! $risky['address'] !!} - {!! $risky['date'] !!}
@endif
@include('admin.modal.email_reminders') @include("admin.layouts.footer")