@php $applicant=''; $fil_dt=''; $case_type=''; $transfer_to_org=''; @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 @if(!empty($close_details)) @if(count($close_details)>0) @foreach($close_details as $item) @php $file_closing_reason=$item->file_closing_reason; $closing_remark=$item->closing_remark; $closing_date=$item->closing_date; if($closing_date!='') $closing_date=date('d/m/Y',strtotime($closing_date)); $created_at=$item->created_at; if($created_at!='') $created_at=date('d/m/Y H:i:s',strtotime($created_at)); @endphp @endforeach @endif @endif @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 @endforeach @endif @endif

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

Applicant Name
{{$applicant}}
Case Type
{{$sc_skey}}
Filing Date
{{$fil_dt}}
Closing Date
{{$closing_date}}
Closing Reason
{{$file_closing_reason}}
@if($transfer_to_org!='')
Transfer to
{{$transfer_to_org}}
@endif
Closing Remark
{{$closing_remark}}
Entry Date
{{$created_at}}