@php
$pdfFile = "";
@endphp
@foreach($objections as $key => $objection)
| HMM NO. |
{{ $objection->objection_no }} |
| Entry Date |
{{ date('d-m-Y', strtotime($objection->entry_date)) }} |
| Department |
{{ $objection->department?->name }} |
| From Year |
{{ $objection->from?->name }} |
| To Year |
{{ $objection->to?->name }} |
| Audit Type |
{{ $objection->auditType?->name }} |
| Severity |
{{ $objection->severity?->name }} |
| Audit Para Category |
{{ $objection->auditParaCategory?->name }} |
@if($objection->amount)
| Amount |
{{ $objection->amount ?? '-' }} |
@endif
| Subject |
{{ $objection->subject }} |
{!! $objection->description !!}
@if(count($objections) != $key + 1)
@endif
@php
$pdfFile = $objection->$file;
@endphp
@endforeach