@include('../bd_section/layouts.header') @include('../bd_section/layouts.sidebar') @php $r_status = ""; if(isset($_GET['status'])) { $r_status = $_GET['status']; } $r_dt = ""; if(isset($_GET['dt'])) { $r_dt = $_GET['dt']; //$r_dt = date('m-d-Y', strtotime($r_dt)); } @endphp
| Name | Doc Check | Missing Docs | Account Activation | Form Fill | Review Pending | Form Refill | Share Notary Stamp | Notary Pending | Share VFS Details | Pay on VFS | Prepare Package | Final Step | Application Closed | Closed Won | Closed Lost | ||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{$res->appli_email}} | @if(isset($res->cof_nri_detail)) @if($res->cof_nri_detail->bd_doc_status == 'approved') Completed @elseif($res->cof_nri_detail->bd_doc_status == 'rejected') Rejected @else Pending @endif @endif | @if(isset($res->service)) @php $docs_id = \App\Models\ReasonRelatedData::where('reason_id',$res->service->doc_pro_id)->whereIn('type',['document','doc_cat'])->select('document_ids')->first(); $docIds1 = $docs_id ? explode(',', $docs_id->document_ids) : []; $docIds2 = $res->cof_nri_detail && $res->cof_nri_detail->additional_docs ? json_decode($res->cof_nri_detail->additional_docs, true) : []; $mergedDocIds = array_unique(array_merge($docIds1, $docIds2)); $is_err = 0; if (!empty($mergedDocIds)) { foreach ($mergedDocIds as $rr) { $chk_hv_docs = \App\Models\CkReasonDocument::where('nir_applicantid', $res->nri_applicate_id) ->where('document_id', $rr) ->first(); if (empty($chk_hv_docs)) { $miss_id[] = $rr; $is_err = 1; } } } @endphp @if($is_err == 1)Pending at User | @elsePending at Visament | @endif@endif @if(isset($res->cof_nri_detail)) @if($res->cof_nri_detail->vfs_id != null && $res->cof_nri_detail->vfs_pass != null && $res->cof_nri_detail->vfs_id != null && $res->cof_nri_detail->vfs_pass != null) Pending at Visament @elseif($res->cof_nri_detail->vfs_status == 1 && $res->cof_nri_detail->govt_status == 1) Approved @else Pending at User @endif @endif |