| {{ $key+1 }} |
{{ $order->user->title }} {{ $order->user->firstname }} {{ $order->user->surname }} |
{{ $order->id }} |
{{ $order->payment->id }} |
@if( $order->order_status == 'pending')
Pending
@elseif( $order->order_status == 'processing')
Processing
@elseif( $order->order_status == 'completed')
Completed
@endif
|
{{ \Carbon\Carbon::parse($order->created_at)->format('Y F jS - h:ia') }} |
{{ $order->product_name }} |
{{ $order->product_qty }} |
@if ($order->payment->currency == 'ESPEES')
{{ $order->product_price_esp }} ESPEES
@elseif ($order->payment->currency == 'usd' )
{{ $order->product_price_usd }} USD
@endif
|
{{ $order->payment->email }} |
{{ $order->payment->phone_number }} |
{{ $order->payment->country }} |
{{ $order->payment->street_address }}, {{ $order->payment->suburb }}, {{ $order->payment->city }}, {{ $order->payment->state }}, |
{{ $order->payment->order_notes }} |
@if (Auth::user()->can('orders.update.pending'))
Pending
@endif
@if (Auth::user()->can('orders.update.processing'))
Processing
@endif
@if (Auth::user()->can('orders.update.completed'))
Completed
@endif
|
@endif
@endforeach