@if(count($getANRDetails)>0)
@php $sno=0; @endphp @foreach($o_array as $getPartyDetailsFromANRId)
ck_en_nt==1) checked @endif>
@for($q = 0; $q < 3; $q++) @php $del_mode=''; $id_name=''; $mode=''; $sht_nm=''; $ini_val=0; @endphp @if($q==0) @php $del_mode='Ordinary'; $id_name='chkOrd'; $mode='o'; $sht_nm='O'; @endphp @elseif($q==1) @php $del_mode='Registry'; $id_name='chkReg'; $mode='r'; $sht_nm='R'; @endphp @elseif($q==2) @php $del_mode='Dasti / By Hand'; $id_name='chkHumdust'; $mode='h'; $sht_nm='H'; @endphp @endif @php $chk_del_a_s=0; $getNoticeOrdinaryRegistryAdded=$getPartyDetailsFromANRId->tw_o_r; @endphp @if($getNoticeOrdinaryRegistryAdded!='') @foreach($getNoticeOrdinaryRegistryAdded as $val_added) @if($val_added->del_type==$sht_nm) @php $chk_del_a_s=1; @endphp @endif @endforeach @endif @php $send_to_type='';$getNoticeSendToType='';$tw_sn_to='';$copy_type='';$getDistrictDetails='';$sendto_state='';$sendto_district=''; $z_array= $getPartyDetailsFromANRId->z_array; $zc_array= $getPartyDetailsFromANRId->zc_array; @endphp @if($z_array!='') @foreach($z_array as $z_val) @if($z_val->tw_o_r_s==$sht_nm) @php $send_to_type=$z_val->send_to_type; $getNoticeSendToType=$z_val->getNoticeSendToType; $tw_sn_to=$z_val->tw_sn_to; $copy_type=$z_val->copy_type; $getDistrictDetails=$z_val->district_frm_state; $sendto_state=$z_val->sendto_state; $sendto_district=$z_val->sendto_district; @endphp @endif @endforeach @endif
ck_en_nt==0) style="display:none" @endif>
ck_en_nt==1 && $chk_del_a_s==1) checked @endif>
ck_en_nt==0) style="display:none" @endif>
@if($zc_array!='') @php $cp_send_to=0; @endphp @foreach($zc_array as $z_val) @if($z_val->tw_o_r_s==$sht_nm) @php $send_to_type=$z_val->send_to_type; $getNoticeSendToType=$z_val->getNoticeSendToType; $tw_sn_to=$z_val->tw_sn_to; $copy_type=$z_val->copy_type; $getDistrictDetails=$z_val->district_frm_state; $sendto_state=$z_val->sendto_state; $sendto_district=$z_val->sendto_district; @endphp @endif @if($cp_send_to==0 && $z_val->tw_o_r_s==$sht_nm) @php $cp_send_to++; break; @endphp @endif @endforeach @endif
ck_en_nt==0) style="display:none" @endif>
@if($chk_del_a_s==1 && $zc_array!='' && $z_val->tw_o_r_s==$sht_nm) @php $cp_send_to=0; $c_p=0; @endphp @foreach($zc_array as $z_val) @if($z_val->tw_o_r_s==$sht_nm) @php $send_to_type=$z_val->send_to_type; $getNoticeSendToType=$z_val->getNoticeSendToType; $tw_sn_to=$z_val->tw_sn_to; $copy_type=$z_val->copy_type; $getDistrictDetails=$z_val->district_frm_state; $sendto_state=$z_val->sendto_state; $sendto_district=$z_val->sendto_district; @endphp @if($cp_send_to!=0)
@php $c_p++; $ini_val++; @endphp @endif @php $cp_send_to++; @endphp @endif @endforeach @endif
ck_en_nt==0) style="display:none" @endif id="dvad_{{ $mode }}_{{ $sno }}"> Additional Copy
@endfor @php $sno++; @endphp @endforeach
@else
No Record Found
@endif