@if (!empty($details))
@foreach ($details as $row)
@php
$statusColor = '';
if ($row->status == 'CONFIRMED') {
$statusColor = 'text-success';
}
if ($row->status == 'NOT DELIVERED') {
$statusColor = 'text-danger';
}
if ($row->status == 'CANCEL') {
$statusColor = 'text-danger';
}
$photo_path = '';
if ($row->photo_path != '') {
$photo_path = $row->photo_path;
}
@endphp
|
{{ $row->do_number }} {!! $row->status == ''
? ''
: '' !!}
@if ($photo_path != '')
Foto Pengiriman
@endif
|
{{ $row->do_date }} |
{{ $row->customer_code }} - {{ $row->nama_customer }} |
{{ $row->receive_wh_date }} |
|
@endforeach
@endif