{{ $order->id }} |
{{ !empty($order->buyer) ? $order->buyer->full_name : '' }}
ID : {{ !empty($order->buyer) ? $order->buyer->id : '' }}
|
{{ !empty($order->seller) ? $order->seller->full_name : '' }}
ID : {{ !empty($order->seller) ? $order->seller->id : '' }}
|
@if(!empty($order->product))
{{ trans('update.product_type_'.$order->product->type) }}
@endif
|
{{ $order->quantity }}
|
@if(!empty($order->sale))
{{ addCurrencyToPrice(handlePriceFormat($order->sale->total_amount)) }}
@endif
|
@if(!empty($order->sale))
{{ addCurrencyToPrice(handlePriceFormat($order->sale->discount)) }}
@endif
|
@if(!empty($order->sale))
{{ addCurrencyToPrice(handlePriceFormat($order->sale->tax)) }}
@endif
|
{{ dateTimeFormat($order->created_at, 'j F Y H:i') }} |
@if($order->status == \App\Models\ProductOrder::$waitingDelivery)
{{ trans('update.product_order_status_waiting_delivery') }}
@elseif($order->status == \App\Models\ProductOrder::$success)
{{ trans('update.product_order_status_success') }}
@elseif($order->status == \App\Models\ProductOrder::$shipped)
{{ trans('update.product_order_status_shipped') }}
@elseif($order->status == \App\Models\ProductOrder::$canceled)
{{ trans('update.product_order_status_canceled') }}
@endif
|
@can('admin_store_products_orders_invoice')
@if(!empty($order->product))
@endif
@endcan
@can('admin_store_products_orders_refund')
@include('admin.includes.delete_button',[
'url' => '/admin/store/orders/'. $order->id .'/refund',
'tooltip' => trans('admin/main.refund'),
'btnIcon' => 'fa-times-circle'
])
@endcan
@if($order->status == \App\Models\ProductOrder::$waitingDelivery)
@can('admin_store_products_orders_tracking_code')
@endcan
@endif
|
@endforeach