@extends('layouts.admin') @section('ext_css') @endsection @section('content')
@if(session('success'))
Success ! {!! Session::get('success') !!}
@elseif(session('failure'))
Failed ! {{ Session::get('failure') }}
@endif

Search

@if(request()->tab == "verify_api")
@elseif(request()->tab == "detail_api")
@if(isset($types))
@foreach($types as $type => $blackListRecords) @foreach($blackListRecords as $key => $blackListRecord) @if($blackListRecord->type == 'CONSUMER') @endif @php $bankCodes = json_decode($blackListRecord->bank_code ?? '[]', true); $institutionName = json_decode($blackListRecord->institution_name ?? '[]', true); $count = count($bankCodes); @endphp @if($count==0) @else @foreach ($bankCodes as $bankCodekey => $no) @php $pps = $no ?? null; if (!$pps) { $pps = $no ?? null; } if (!$pps) { $pps = $institutionName[$bankCodekey] ?? null; } @endphp @if($pps) @endif @endforeach @if(!$pps) @endif @endif @if($blackListRecord->type == 'CONSUMER') @php $citizenshipNos = json_decode($blackListRecord->citizenship_no ?? '[]', true); $citizenshipIssuedDates = json_decode($blackListRecord->citizenship_issued_date ?? '[]', true); $citizenshipIssuedDistricts = json_decode($blackListRecord->citizenship_issued_district ?? '[]', true); $count = count($citizenshipNos) ? count($citizenshipNos) : 1; @endphp @if($count==0) @else @for ($i=0; $i < $count; $i++) @php $pps = $citizenshipNos[$i] ?? null; if (!$pps) { $pps = $citizenshipNos[$i] ?? null; } if (!$pps) { $pps = $citizenshipIssuedDates[$i] ?? null; } if (!$pps) { $pps = $citizenshipIssuedDistricts[$i] ?? null; } @endphp @if($pps) @endif @endfor @if(!$pps) @endif @endif @php $passportNos = json_decode($blackListRecord->passport_no ?? '[]', true); $passportExpiryDates = json_decode($blackListRecord->passport_expiry_date ?? '[]', true); $count = count($passportNos) ? count($passportNos) : 1; $pps = null; @endphp @if($count==0) @else @for ($i=0; $i < $count; $i++) @php $pps = $passportNos[$i] ?? null; if (!$pps) { $pps = $passportNos[$i] ?? null; } if (!$pps) { $pps = $passportExpiryDates[$i] ?? null; } @endphp @if($pps) @endif @endfor @if(!$pps) @endif @endif @php $drivingNos = json_decode($blackListRecord->driving_license_no ?? '[]', true); $drivingExpiryDates = json_decode($blackListRecord->driving_license_issue_date ?? '[]', true); $count = count($drivingNos) ? count($drivingNos) : 1; @endphp @if($count==0) @else @for ($i=0; $i < $count; $i++) @php $pps = $drivingNos[$i] ?? null; if (!$pps) { $pps = $drivingNos[$i] ?? null; } if (!$pps) { $pps = $drivingExpiryDates[$i] ?? null; } @endphp @if($pps) @endif @endfor @if(!$pps) @endif @endif @php $voterNos = json_decode($blackListRecord->voter_id ?? '[]', true); $voterIssueDate = json_decode($blackListRecord->voter_issue_date ?? '[]', true); $count = count($voterNos) ? count($voterNos) : 1; @endphp @if($count==0) @else @for ($i=0; $i < $count; $i++) @php $pps = $voterNos[$i] ?? null; if (!$pps) { $pps = $voterNos[$i] ?? null; } if (!$pps) { $pps = $voterIssueDate[$i] ?? null; } @endphp @if($pps) @endif @endfor @if(!$pps) @endif @endif @php $indanEmbassyNos = json_decode($blackListRecord->indian_embassy_no ?? '[]', true); $count = count($indanEmbassyNos) ? count($indanEmbassyNos) : 1; @endphp @if($count==0) @else @for ($i=0; $i < $count; $i++) @php $pps = $indanEmbassyNos[$i] ?? null; @endphp @if($pps) @endif @endfor @if(!$pps) @endif @endif @endif @php $panNos = json_decode($blackListRecord->pan_no ?? '[]', true); $panIssuedDate = json_decode($blackListRecord->pan_issued_date ?? '[]', true); $panIssueDistrict = json_decode($blackListRecord->pan_issue_district ?? '[]', true); $count = count($panNos) ? count($panNos) : 1; @endphp @if($count==0) @else @for ($i=0; $i < $count; $i++) @php $pps = $panNos[$i] ?? null; if (!$pps) { $pps = $panNos[$i] ?? null; } if (!$pps) { $pps = $panIssuedDate[$i] ?? null; } if (!$pps) { $pps = $panIssueDistrict[$i] ?? null; } @endphp @if($pps) @endif @endfor @if(!$pps) @endif @endif @if ($blackListRecord->type == 'COMMERCIAL') @php $companyNos = json_decode($blackListRecord->company_reg_no ?? '[]', true); $companyRegAuths = json_decode($blackListRecord->company_reg_auth ?? '[]', true); $companyRegDates = json_decode($blackListRecord->company_reg_date ?? '[]', true); $count = count($companyNos) ? count($companyNos) : 1; @endphp @if($count==0) @else @for ($i=0; $i < $count; $i++) @php $pps = $companyNos[$i] ?? null; if (!$pps) { $pps = $companyNos[$i] ?? null; } if (!$pps) { $pps = $companyRegAuths[$i] ?? null; } if (!$pps) { $pps = $companyRegDates[$i] ?? null; } @endphp @if($pps) @endif @endfor @if(!$pps) @endif @endif @endif @php $blacklistNos = json_decode($blackListRecord->black_list_no ?? '[]', true); $blackListDates = json_decode($blackListRecord->blacklisted_date ?? '[]', true); $blRequestType = json_decode($blackListRecord->bl_request_type ?? '[]', true); $natureOfRelations = json_decode($blackListRecord->nature_of_relation ?? '[]', true); $blackListBank = json_decode($blackListRecord->black_list_bank ?? '[]', true); $blackListSector = json_decode($blackListRecord->black_list_sector ?? '[]', true); $count = count($blacklistNos); @endphp @if($count==0) @else @foreach ($blacklistNos as $keys => $no) @php $bankKey = array_search($blackListBank[$keys], $bankCodes); $bankName = $institutionName[$bankKey]; @endphp @endforeach @endif @endforeach @endforeach
{{ ($type == "CONSUMER") ? "INDIVIDUAL": "INSTITUTION" }}
{{$blackListRecord->name}}
Name {{$blackListRecord->name}}
Gender {{$blackListRecord->gender}}
Father Name {{$blackListRecord->father_name}}
Grand Father Name {{$blackListRecord->grand_father_name}}
BANK DETAILS
S.N Bank Code Institution Name
No Information Available
{{ $bankCodekey+1 }} {{$no}} {{$institutionName[$bankCodekey]}}
No Information Available
CITIZENSHIP DETAILS
S.N Citizenship Number Citizenship Issued Date Citizenship Issued District
No Information Available
{{ $i+1 }} {{$citizenshipNos[$i] ?? 'NULL'}} {{$citizenshipIssuedDates[$i] ?? 'NULL'}} {{$citizenshipIssuedDistricts[$i] ?? 'NULL'}}
No Information Available
PASSPORT DETAILS
S.N Passport Number Passport Expiry Date
No Information Available
{{ $i+1 }} {{$passportNos[$i] ?? 'NULL'}} {{$passportExpiryDates[$i] ?? 'NULL'}}
No Information Available
DRIVING LICENSE DETAILS
S.N Driving Number Driving Expiry Date
No Information Available
{{ $i+1 }} {{$drivingNos[$i] ?? 'NULL'}} {{$drivingExpiryDates[$i] ?? 'NULL'}}
No Information Available
VOTER ID DETAILS
S.N Voter Id Voter Issue Date
No Information Available
{{ $i+1 }} {{$voterNos[$i] ?? 'NULL'}} {{$voterIssueDate[$i] ?? 'NULL'}}
No Information Available
INDIAN EMBASSY DETAILS
S.N Indian Embassy Number Indian Embassy Reg Date
No Information Available
{{ $i+1 }} {{$indanEmbassyNos[$i] ?? 'NULL'}} {{'NULL'}}
No Information Available
PAN DETAILS
S.N PAN Pan Issued Date Pan Issued District
No Information Available
{{ $i+1 }} {{$panNos[$i] ?? 'NULL'}} {{$panIssuedDate[$i] ?? 'NULL'}} {{$panIssueDistrict[$i] ?? 'NULL'}}
No Information Available
COMPANY DETAILS
S.N Company Registration Number Company Registration Auth Company Registration Date
No Information Available
{{ $i+1 }} {{$companyNos[$i] ?? 'NULL'}} {{$companyRegAuths[$i] ?? 'NULL'}} {{$companyRegDates[$i] ?? 'NULL'}}
No Information Available
BLACKLIST DETAILS
S.N Blacklist Number Blacklisted Date Blacklisted Type Nature Of Relation Bank Name (Bank Code) Sector
No Information Available
{{ $keys+1 }} {{$no}} {{$blackListDates[$keys]}} {{$blRequestType[$keys]}} {{$natureOfRelations[$keys]}} {{$bankName}} ({{$blackListBank[$keys]}}) {{$blackListSector[$keys]}}
@endif
@elseif(request()->tab == "recent_api")
@if(isset($types))
@foreach($types as $type => $blackListRecords) @foreach($blackListRecords as $key => $blackListRecord) @if($blackListRecord->type == 'CONSUMER') @endif @php $bankCodes = json_decode($blackListRecord->bank_code ?? '[]', true); $institutionName = json_decode($blackListRecord->institution_name ?? '[]', true); $count = count($bankCodes); @endphp @if($count==0) @else @foreach ($bankCodes as $bankCodekey => $no) @php $pps = $no ?? null; if (!$pps) { $pps = $no ?? null; } if (!$pps) { $pps = $institutionName[$bankCodekey] ?? null; } @endphp @if($pps) @endif @endforeach @if(!$pps) @endif @endif @if($blackListRecord->type == 'CONSUMER') @php $citizenshipNos = json_decode($blackListRecord->citizenship_no ?? '[]', true); $citizenshipIssuedDates = json_decode($blackListRecord->citizenship_issued_date ?? '[]', true); $citizenshipIssuedDistricts = json_decode($blackListRecord->citizenship_issued_district ?? '[]', true); $count = count($citizenshipNos) ? count($citizenshipNos) : 1; @endphp @if($count==0) @else @for ($i=0; $i < $count; $i++) @php $pps = $citizenshipNos[$i] ?? null; if (!$pps) { $pps = $citizenshipNos[$i] ?? null; } if (!$pps) { $pps = $citizenshipIssuedDates[$i] ?? null; } if (!$pps) { $pps = $citizenshipIssuedDistricts[$i] ?? null; } @endphp @if($pps) @endif @endfor @if(!$pps) @endif @endif @php $passportNos = json_decode($blackListRecord->passport_no ?? '[]', true); $passportExpiryDates = json_decode($blackListRecord->passport_expiry_date ?? '[]', true); $count = count($passportNos) ? count($passportNos) : 1; $pps = null; @endphp @if($count==0) @else @for ($i=0; $i < $count; $i++) @php $pps = $passportNos[$i] ?? null; if (!$pps) { $pps = $passportNos[$i] ?? null; } if (!$pps) { $pps = $passportExpiryDates[$i] ?? null; } @endphp @if($pps) @endif @endfor @if(!$pps) @endif @endif @php $drivingNos = json_decode($blackListRecord->driving_license_no ?? '[]', true); $drivingExpiryDates = json_decode($blackListRecord->driving_license_issue_date ?? '[]', true); $count = count($drivingNos) ? count($drivingNos) : 1; @endphp @if($count==0) @else @for ($i=0; $i < $count; $i++) @php $pps = $drivingNos[$i] ?? null; if (!$pps) { $pps = $drivingNos[$i] ?? null; } if (!$pps) { $pps = $drivingExpiryDates[$i] ?? null; } @endphp @if($pps) @endif @endfor @if(!$pps) @endif @endif @php $voterNos = json_decode($blackListRecord->voter_id ?? '[]', true); $voterIssueDate = json_decode($blackListRecord->voter_issue_date ?? '[]', true); $count = count($voterNos) ? count($voterNos) : 1; @endphp @if($count==0) @else @for ($i=0; $i < $count; $i++) @php $pps = $voterNos[$i] ?? null; if (!$pps) { $pps = $voterNos[$i] ?? null; } if (!$pps) { $pps = $voterIssueDate[$i] ?? null; } @endphp @if($pps) @endif @endfor @if(!$pps) @endif @endif @php $indanEmbassyNos = json_decode($blackListRecord->indian_embassy_no ?? '[]', true); $count = count($indanEmbassyNos) ? count($indanEmbassyNos) : 1; @endphp @if($count==0) @else @for ($i=0; $i < $count; $i++) @php $pps = $indanEmbassyNos[$i] ?? null; @endphp @if($pps) @endif @endfor @if(!$pps) @endif @endif @endif @php $panNos = json_decode($blackListRecord->pan_no ?? '[]', true); $panIssuedDate = json_decode($blackListRecord->pan_issued_date ?? '[]', true); $panIssueDistrict = json_decode($blackListRecord->pan_issue_district ?? '[]', true); $count = count($panNos) ? count($panNos) : 1; @endphp @if($count==0) @else @for ($i=0; $i < $count; $i++) @php $pps = $panNos[$i] ?? null; if (!$pps) { $pps = $panNos[$i] ?? null; } if (!$pps) { $pps = $panIssuedDate[$i] ?? null; } if (!$pps) { $pps = $panIssueDistrict[$i] ?? null; } @endphp @if($pps) @endif @endfor @if(!$pps) @endif @endif @if ($blackListRecord->type == 'COMMERCIAL') @php $companyNos = json_decode($blackListRecord->company_reg_no ?? '[]', true); $companyRegAuths = json_decode($blackListRecord->company_reg_auth ?? '[]', true); $companyRegDates = json_decode($blackListRecord->company_reg_date ?? '[]', true); $count = count($companyNos) ? count($companyNos) : 1; @endphp @if($count==0) @else @for ($i=0; $i < $count; $i++) @php $pps = $companyNos[$i] ?? null; if (!$pps) { $pps = $companyNos[$i] ?? null; } if (!$pps) { $pps = $companyRegAuths[$i] ?? null; } if (!$pps) { $pps = $companyRegDates[$i] ?? null; } @endphp @if($pps) @endif @endfor @if(!$pps) @endif @endif @endif @php $blacklistNos = json_decode($blackListRecord->black_list_no ?? '[]', true); $blackListDates = json_decode($blackListRecord->blacklisted_date ?? '[]', true); $blRequestType = json_decode($blackListRecord->bl_request_type ?? '[]', true); $natureOfRelations = json_decode($blackListRecord->nature_of_relation ?? '[]', true); $blackListBank = json_decode($blackListRecord->black_list_bank ?? '[]', true); $blackListSector = json_decode($blackListRecord->black_list_sector ?? '[]', true); $count = count($blacklistNos); @endphp @if($count==0) @else @foreach ($blacklistNos as $keys => $no) @php $bankKey = array_search($blackListBank[$keys], $bankCodes); $bankName = $institutionName[$bankKey]; @endphp @endforeach @endif @endforeach @endforeach
{{ ($type == "CONSUMER") ? "INDIVIDUAL": "INSTITUTION" }}
{{$blackListRecord->name}}
Name {{$blackListRecord->name}}
Gender {{$blackListRecord->gender}}
Father Name {{$blackListRecord->father_name}}
Grand Father Name {{$blackListRecord->grand_father_name}}
BANK DETAILS
S.N Bank Code Institution Name
No Information Available
{{ $bankCodekey+1 }} {{$no}} {{$institutionName[$bankCodekey]}}
No Information Available
CITIZENSHIP DETAILS
S.N Citizenship Number Citizenship Issued Date Citizenship Issued District
No Information Available
{{ $i+1 }} {{$citizenshipNos[$i] ?? 'NULL'}} {{$citizenshipIssuedDates[$i] ?? 'NULL'}} {{$citizenshipIssuedDistricts[$i] ?? 'NULL'}}
No Information Available
PASSPORT DETAILS
S.N Passport Number Passport Expiry Date
No Information Available
{{ $i+1 }} {{$passportNos[$i] ?? 'NULL'}} {{$passportExpiryDates[$i] ?? 'NULL'}}
No Information Available
DRIVING LICENSE DETAILS
S.N Driving Number Driving Expiry Date
No Information Available
{{ $i+1 }} {{$drivingNos[$i] ?? 'NULL'}} {{$drivingExpiryDates[$i] ?? 'NULL'}}
No Information Available
VOTER ID DETAILS
S.N Voter Id Voter Issue Date
No Information Available
{{ $i+1 }} {{$voterNos[$i] ?? 'NULL'}} {{$voterIssueDate[$i] ?? 'NULL'}}
No Information Available
INDIAN EMBASSY DETAILS
S.N Indian Embassy Number Indian Embassy Reg Date
No Information Available
{{ $i+1 }} {{$indanEmbassyNos[$i] ?? 'NULL'}} {{'NULL'}}
No Information Available
PAN DETAILS
S.N PAN Pan Issued Date Pan Issued District
No Information Available
{{ $i+1 }} {{$panNos[$i] ?? 'NULL'}} {{$panIssuedDate[$i] ?? 'NULL'}} {{$panIssueDistrict[$i] ?? 'NULL'}}
No Information Available
COMPANY DETAILS
S.N Company Registration Number Company Registration Auth Company Registration Date
No Information Available
{{ $i+1 }} {{$companyNos[$i] ?? 'NULL'}} {{$companyRegAuths[$i] ?? 'NULL'}} {{$companyRegDates[$i] ?? 'NULL'}}
No Information Available
BLACKLIST DETAILS
S.N Blacklist Number Blacklisted Date Blacklisted Type Nature Of Relation Bank Name (Bank Code) Sector
No Information Available
{{ $keys+1 }} {{$no}} {{$blackListDates[$keys]}} {{$blRequestType[$keys]}} {{$natureOfRelations[$keys]}} {{$bankName}} ({{$blackListBank[$keys]}}) {{$blackListSector[$keys]}}
@endif
@endif
@stop @section('ext_js') @endsection