| {{ __('Name') }} | {{ __('Payment Status') }} | @if (checkAdminHasPermission('order.management')){{ __('Status') }} | @endif
|---|---|---|
| {{ $order?->user?->name }} |
{{ \App\Enums\OrderStatus::getLabel($order->payment_status) }}
|
@if (checkAdminHasPermission('order.management'))
@endif |
{{ __('Invoice') }}
{{ __('Order Id') }}: #{{ $order->order_id }}
|
{{ __('Billed To') }}: {{ $order?->order_address->billing_first_name . ' ' . $order?->order_address->billing_last_name }} {{ $order?->order_address->billing_email }} {{ $order?->order_address->billing_phone }} {{ $order?->order_address->billing_address }} {{ $order?->order_address->billing_city }}, {{ $order?->order_address->billing_state }}, {{ $order?->order_address->billing_country }} {{ __('Payment Method') }}: {{ str_replace('_', ' ', $order?->payment_method) }} {{ __('Transaction Id') }}: {{ $order->transaction_id }} |
{{ __('Shipped To') }}: {{ $order?->order_address->shipping_first_name . ' ' . $order?->order_address->shipping_last_name }} {{ $order?->order_address->shipping_email }} {{ $order?->order_address->shipping_phone }} {{ $order?->order_address->shipping_address }} {{ $order?->order_address->shipping_city }}, {{ $order?->order_address->shipping_state }}, {{ $order?->order_address->shipping_country }} {{ __('Order Date') }}: {{ formattedDate($order->created_at) }} |
{{ __('Order Summary') }}
| # | {{ __('Product Name') }} | {{ __('Quantity') }} | {{ __('Unit Price') }} | {{ __('Total Amount') }} |
|---|---|---|---|---|
| {{ $key + 1 }} | {{ $product->product_name }} | {{ $product->qty }} | {{ specific_currency_with_icon($order->payable_currency, $product->unit_price) }} | {{ specific_currency_with_icon($order->payable_currency, $product->total) }} |
{{ __('Sub Total') }}: {{ specific_currency_with_icon($order->payable_currency, $order->sub_total) }}
{{ __('Discount') }}: (-)
{{ specific_currency_with_icon($order->payable_currency, $order->discount) }}
{{ __('Tax') }}: {{ specific_currency_with_icon($order->payable_currency, $order->order_tax) }}
{{ __('Delivery Charge') }}: {{ $order->delivery_charge > 0 ? specific_currency_with_icon($order->payable_currency, $order->delivery_charge) : __('Free') }}
{{ __('Gateway Charge') }}: {{ specific_currency_with_icon($order->payable_currency, $order?->gateway_charge) }}
{{ __('Total Payment') }}: {{ specific_currency_with_icon($order->payable_currency, $order->paid_amount) }}
@if (checkAdminHasPermission('order.management'))
@if ($order->payment_status == 'pending')
{{ __('Make reject payment') }}
@endif
@if ($order->payment_status == 'rejected' || $order->payment_status == 'pending')
{{ __('Make approved payment') }}
@endif
@if ($order->payment_status != 'success')
{{ __('Delete Order') }}
@endif
@endif