@extends('layouts.default') @php $lc_party_pet_res=''; $lc_supreme_court=''; @endphp @if(!empty($anr_details)) @if(count($anr_details)>0) @foreach($anr_details as $item) @php $is_checked_option=FALSE; $chk=''; $data["id"]=$item->id; $data["establishment"]=$item->establishment; $data["anr_no"]=$item->anr_no; $data["anr_year"]=$item->anr_year; $data["receipt_mode"]=$item->receipt_mode; $data["applicant"]=$item->applicant; $data["emp_unique_id"]=$item->emp_unique_id; $data["fil_dt"]=$item->fil_dt; $data["case_type"]=$item->case_type; @endphp @endforeach @endif @endif @php use App\Http\Controllers\Da\DaController; @endphp @push('scripts') @endpush @section('content') @if(Session::has('error'))
{{Session::get('error')}}
@endif
dfdfdf

Legal Aid Details - {{$data["anr_no"]." / ".$data["anr_year"]}}

@if(!empty($legalaid_party_pet)) @if(count($legalaid_party_pet)>0)

Applicant (Petitioner)

@endif @endif @if(!empty($legalaid_party_res)) @if(count($legalaid_party_res)>0)

Respondent

@endif @endif @if(!empty($mul_array_o)) @endif @if(!empty($legalaid_lowerct)) @if(count($legalaid_lowerct)>0)

Lower Court Details

@endif @endif @if(!empty($eligibilityList)) @if(count($eligibilityList)>0)
@csrf

Eligibility

@php $cnt=0; $list=''; $anr_eligibility= DaController::getANREligibilityList($data["id"])->toArray(); @endphp @foreach($eligibilityList as $item_el) @if($cnt%3==0 && $cnt>0) @php echo ''.$list.''; $list=''; @endphp @endif @if(!empty($anr_eligibility)) @if(count($anr_eligibility)>0) @php $key = array_search($item_el->id, array_column($anr_eligibility, 'eligibility_id')); if($key !== false){ $chk = "checked"; $is_checked_option=TRUE; } else $chk=''; @endphp @endif @endif @php if($item_el->eligibility_condition == 'Not eligible') $class=" noteligible"; else $class=" eligible"; $list.=''; @endphp @php $cnt++; @endphp @endforeach @php echo ''.$list.''; $list=''; @endphp
@endif @endif
@endsection @push('scripts') @endpush