@php $applicant=''; $fil_dt=''; $case_type=''; @endphp @if(!empty($anr)) @if(count($anr)>0) @foreach($anr as $item) @php $anr_id=$item->id; $applicant=$item->applicant; $fil_dt=$item->fil_dt; if($fil_dt!='') $fil_dt=date('d/m/Y',strtotime($fil_dt)); if($anr_rec=='A') $sc_skey=$item->sc_skey; else $sc_skey=''; @endphp @endforeach @endif @endif

Close Application Details {{($anr_rec=='A' ? '(ANR No.)' : '(Receipt No.)')}}

Applicant Name
{{$applicant}}
Case Type
{{$sc_skey}}
Filing Date
{{$fil_dt}}
@if(!empty($transfer_to)) @if(count($transfer_to)>0) @foreach($transfer_to as $item_tt) @if($item_tt->parent!='') @php $transfer_to_org=$item_tt->parent.', '; @endphp @endif @if($item_tt->org!='') @php $transfer_to_org=$transfer_to_org.$item_tt->org; @endphp @endif @php $data["org_id"]=$item_tt->orgid; $data["org_type"]=$item_tt->orgtype; @endphp @endforeach @endif @endif @php $alreadyExist=''; $dispose_id=''; @endphp @if(!empty($close_details)) @if(count($close_details)>0) @foreach($close_details as $item_c) @php $alreadyExist='yes'; $dispose_id=$item_c->id; $file_closing_reason=$item_c->file_closing_reason; $data["reason"]=$item_c->closing_id; $closing_remark=$item_c->closing_remark; $data["remark"]=$closing_remark; $closing_date=$item_c->closing_date; if($closing_date!=''){ $closing_date=date('d/m/Y',strtotime($closing_date)); $data["closedate"]=$closing_date; } $created_at=$item_c->created_at; if($created_at!='') $created_at=date('d/m/Y H:i:s',strtotime($created_at)); session()->put('_old_input', $data); @endphp @endforeach @else @php session()->put('_old_input', []); @endphp @endif @else @php session()->put('_old_input', []); @endphp @endif
@error('closedate') {{ $message }} @enderror
@error('reason') {{ $message }} @enderror