@if(!$scan_records->isEmpty())

Scanned Documents

@foreach ($scan_records AS $record_key => $record_value)
@endforeach
@endif @if(!$case_orders->isEmpty())

Orders

@foreach ($case_orders AS $case_order_key => $case_order_value)
@endforeach
@endif