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

Scanned Documents

@foreach ($scan_records AS $record_key => $record_value)
doccode, $scan_saved_records) ? 'checked' : '' }} >
@endforeach
@elseif(!$case_orders->isEmpty())

Orders

@foreach ($case_orders AS $order_key => $order_value)
@endforeach
@endif