@extends('layouts.default') @section('title', 'DA Defective ANRs') @section('content') @if(!empty($user_post)) @if(count($user_post)>0) @foreach($user_post as $item)

Defective ANR's

@if(!empty($defective_anr)) @if(count($defective_anr)>0)
@php $sn=0; $anrid=''; @endphp @foreach($defective_anr as $item) @if($item->id!=$anrid) @php $sn++; $rowspan_var = array_count_values(array_column($defective_anr->toArray(), 'id'))[$item->id]; @endphp @else @endif @php $anrid=$item->id; @endphp @endforeach
# ANR No. Applicant Name Defect Name Date Removal Date
anr_year}} created_at)) }} {{ empty($item->removed_on) ? '' : date('d/m/Y',strtotime($item->removed_on)) }}
@if($item->defect_type=="D") {{$item->ddoc}} @endif @if($item->defect_type=="E") {{$item->edoc}} @endif @if($item->defect_type=="O") {{$item->odoc}} @endif {{ empty($item->created_at) ? '' : date('d/m/Y',strtotime($item->created_at)) }} {{ empty($item->removed_on) ? '' : date('d/m/Y',strtotime($item->removed_on)) }}
@endif @endif
@endforeach @endif @endif @endsection