{{-- one fuel receipt page: its details, then the photo. $mode: merge = a PDF receipt follows on the next page(s), note = it could not be added --}}
@php
$dt = fn ($v) => \App\Http\Controllers\Api\Reports\IftaReturnController::date($v);
@endphp
This receipt is a PDF file — it follows on the next page.
@elseif($r['is_pdf'])
This receipt is a PDF file ({{ $r['original'] ?: $r['file'] }}) and could not be added here. Use the ZIP export to get it, or open it on trip {{ $r['trip_no'] }}.
@else
This receipt file could not be shown ({{ $r['original'] ?: $r['file'] }}). Use the ZIP export to get the original file.