@foreach($data['memberData'] as $key => $value) @if($value->nid_status == 'verified' ) @else @endif @endforeach
SL Employee Code Branch Employee Name (English) Employee Name (Bangla) Father's Name (English) Father's Name (Bangla) Mother's Name (English) Mother's Name (Bangla) Spouse's Name Gender Date of Birth Current Age Nid Verified Date Sent To Branch Date NID Smart Card NID Verified By Send To Branch For Correction Approve Status Action
{{ $key+1 }} {{$value->emp_id}} {{$value->branchName}} {{$value->emp_name_english}} {{$value->emp_name_bangla}} {{$value->father_name_english}} {{$value->father_name_bangla}} {{$value->mother_name_english}} {{$value->mother_name_bangla}} {{$value->husbend_wife_name}} {{$value->sex}} {{date("d-m-Y",strtotime($value->date_of_birth))}} {{ \Carbon\Carbon::parse($value->date_of_birth)->age }} {{ $value->nidVerifiedDate?date("d-m-Y",strtotime($value->nidVerifiedDate)):'-'}} {{ $value->send_to_branch_date?date("d-m-Y",strtotime($value->send_to_branch_date)):'-'}} {{$value->nid_no}} {{$value->smart_id_no}} {{$value->verifiedByName}} @if($value->send_to_branch_status == 1) Sent For Correction @elseif($value->send_to_branch_status == 2) Updated From Branch @else - @endif Verified @if((\Carbon\Carbon::parse($value->date_of_birth)->age <= 60)) @if((Auth::user()->branchId == 1)) @endif @else Not eligible to verify! Age is greater than 60. @endif Pending @if((\Carbon\Carbon::parse($value->date_of_birth)->age <= 60)) @if((Auth::user()->branchId == 1) ) @endif @if($value->send_to_branch_status == 1) @endif @else Not eligible to verify! Age is greater than 60. @endif