| {{ $loop->iteration }} |
{{ $pro->application_no }} |
{{ $user->where('id', $pro->user_id)->first()?->name }} |
{{ \Illuminate\Support\Str::limit($serviceName->where('service_id', $pro->service_id)->first()?->service_name, 30) }}
|
{{ isset($pro->created_at) ? date('d-m-Y h:i A', strtotime($pro->created_at)) : 'N/A' }} |
@php
$status = $statusdata->where('service_id', $pro->service_id)->where('table_id', $pro->id)->first();
if($status->hod_status == 2) {
$remark = $status->hod_remark;
}elseif($status->clerk_status ==2){
$remark = $status->clerk_remark;
} else {
$remark = '';
}
@endphp
@if($remark)
{{ $remark }}
@else
-
@endif
|
{{--
@if ($pro->status()->where('service_id', $pro->service_id)->first()?->id)
View
@else
-
@endif
| --}}
@endforeach