HMM HMM {{-- Test --}}
@csrf
@php $data = []; $file = "javascript:void(0)";$count = 0; @endphp @foreach($audits as $audit) @php array_push($data, $audit->id); if($loop->iteration == "1"){ $file = asset('storage/'.$audit->hmm_draft_letter); } $count = $count + 1; @endphp @endforeach
@if($count > 0)       View File @endif
@if($count > 0) @endif
{{--
--}}
@forelse($audits as $audit) @empty @endforelse
Department Date File Description HMM No. Subject Entry Date
{{ $audit->department?->name }} {{ Carbon\Carbon::parse($audit->audit?->date)->format('d-m-Y') }} {{ Str::limit($audit->audit?->description, '30') }} {{ $audit->objection_no }} {{ $audit->subject }} {{ Carbon\Carbon::parse($audit->entry_date)->format('d-m-Y') }}

No Data Found

@if(count($audits) > 0) @endif
@push('scripts') {{-- Open modal and Add more --}} @endpush