-
Order No : {{ @$main->no }}
-
Order Date : {{ @$main->date }}
-
Status Booking :
{{ @$main->getStatus() }}
-
Account :
{{ @$main->account?->fullname() }}
-
Rider receive:
{{ @$main->rider?->fullname() }}
-
Rider send:
{{ @$main->riderSend?->fullname() }}
-
Service Type :
{{ @$main->service_type == 'DELIVERY' ? __('delivery') : __('getSelf') }}
-
Receive Date :
{{ date('Y-m-d', strtotime(@$main->receive_datetime)) }}
-
Receive Address :
{{ @$main->receiveAddress?->fullAddress() }}
-
Receive Remark :
{{ @$main->receive_remark }}
-
Send Date :
{{ date('Y-m-d', strtotime(@$main->send_datetime)) }}
-
Send Address :
{{ @$main->sendAddress?->fullAddress() }}
-
Send Remark :
{{ @$main->send_remark }}
-
Delivery :
{{ @$main->delivery_type }}
-
Shipping Price :
{{ number_format(@$main->shipping_price ?? 0, 2) }}
-
Promotion Price :
{{ number_format(@$main->promotion_price ?? 0, 2) }}
-
Total Price :
{{ number_format(@$main->total_price ?? 0, 2) }}
-
| # |
product |
service |
qty |
price |
unit |
total |
@foreach (@$main->getDetails as $key => $item)
| {{ $key + 1 }} |
{{ $item->product?->name }} |
{{ $item->service?->name }} |
{{ $item->qty }} |
{{ number_format($item->price ?? 0, 2) }} |
{{ $item->units?->name }} |
{{ number_format($item->qty * $item->price, 2) }}
|
@endforeach
@for ($i = count(@$main->getDetails); $i <= 24; $i++)
|
|
|
|
|
|
|
@endfor
{{-- @if (@$main->status_booking != App\Enums\OrderStatusEnums::CANCEL || @$main->status_booking != App\Enums\OrderStatusEnums::SUCCESS)
Cancel
@endif --}}
{{--
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
| # |
product |
service |
qty |
price |
unit |
total |
@foreach (@$main->getDetails as $key => $item)
| {{ $key + 1 }} |
{{ $item->product?->name }} |
{{ $item->service?->name }} |
{{ $item->qty }} |
{{ number_format($item->price ?? 0, 2) }} |
{{ $item->unit_id }} |
{{ number_format($item->qty * $item->price, 2) }} |
@endforeach
-
--}}
@if (auth()?->user()?->role?->id == 3)
@endif