@if (!empty($orders) && $orders->count())
@foreach ($orders as $key => $orderItem)
{{ $orderItem->order?->retailer?->application_no }} |
@if ($orderItem->order->retailer?->image == null)
@else
@endif
{{ $orderItem->order->retailer?->first_name . ' ' . $orderItem->order->retailer?->last_name }}
{{ $orderItem->order->retailer?->email ?? '-' }}
|
{{ $orderItem->order->retailer?->company_name ?? '-' }}
|
{{ $orderItem->order->retailer?->phone ?? '-' }}
|
{{ $orderItem->order->total_price }} |
{{ !empty($orderItem->order->payment_type) ? $orderItem->order->payment_type : 'NA' }}
|
{{ !empty($orderItem->order->status) ? ($orderItem->order->status == 1 ? 'Onging' : ($orderItem->order->status == 2 ? 'Completed' : ($orderItem->order->status == 3 ? 'Cancelled' : 'NA'))) : 'NA' }}
|
@if ($orderItem->order->status != 3)
@endif
|
@endforeach
@else
No matching records found |
@endif