@if ($company->company_type == 2) @endif @forelse ($data as $item) @php $color = ''; if($item['_rowVariant'] == 'success'){ $color = 'text-success'; } else if($item['_rowVariant'] == 'warning'){ $color = 'text-warning'; } else if($item['_rowVariant'] == 'danger'){ $color = 'text-danger'; } @endphp @if ($company->company_type == 2) @endif @if ($item['has_damage_waiver'] == 1) @else @endif @empty @endforelse
Truck NumberCompany NameDriver Names Order Number Model number Report Damage Stop Type Fulfillment Type Missing Parts? Replacement? Date Completed Time To Complete Pictures Signature Reschedule Reason Damage Waiver
{{$item['truck_no'] ?? '-'}} {{$item['company_name']}} {{$item['driver_names'] != "" ? $item['driver_names'] : '-'}} {{$item['order_no']}} {{ $item['model_number'] ?? '-' }} {{ $item['has_damage_allowance'] == 1 ? 'YES' : 'NO' }} {{ $item['stop_type_string'] }} {{ $item['fulfillment_type_string'] ?? '-' }} {{ $item['is_missing_part'] == 1 ? 'YES' : 'NO' }} {{ $item['is_replacement'] == 1 ? 'YES' : 'NO' }} {{ $item['date_completed_formatted'] }} {{ $item['time_to_complete'] ?? '-' }} @foreach ($item['pictures'] as $key => $picture) image @if (fmod($key, 2) == 1)
@endif @endforeach
@if ($item['signature'])
image
@else - @endif
{{$item['reschedule_reason'] ?? '-'}}
No Data