@extends('../site/layouts.user_panel.app') @section('page_title', __('Order Details')) @section('content')
{{ __('Take a look at all the orders you made, their status and much more..') }}
{{ __('Status') }}
{{ __('Shipping method') }}
{{ __('status') }}:
{{$order->payment_status }} @if(optional($order->paymentMethod)->status == 'pending' && optional($order->orderStatus)->slug != 'cancelled' && !in_array(optional($order->paymentMethod)->gateway, offLinePayments())) {{ __('Pay Now') }} @endif{{ __('Paid Amount') }}: {{ formatNumber($order->paid, optional($order->currency)->symbol) }}
{{ __('Amount to be Paid') }}: {{ formatNumber($order->total - $order->paid, optional($order->currency)->symbol) }}
@if(preference("taxes") == 1){{ __('Tax') }}: {{ formatNumber($order->tax_charge, optional($order->currency)->symbol) }}
@endif{{ __('Payment Method') }}: {{ !empty($order->paymentMethod->gateway) ? paymentRenamed($order->paymentMethod->gateway) : __('Unknown') }}
{{ $shippingAddress->first_name . ' ' . $shippingAddress->last_name }}
{{ $shippingAddress->address_1 }} {{ !empty($shippingAddress->address_2) ? ', ' . $shippingAddress->address_2 . ',' : '' }} {{ $shippingAddress->city }}
{{ __('Postcode') }}: {{ $shippingAddress->zip }}
{{ __('State') }}: {{ $shippingAddress->state }}
{{ __('Country') }}:{{ $shippingAddress->country }}
{{ __('Delivery Instructions') }}:
{{ $order->note }}
{{ $billingAddress->first_name . ' ' . $billingAddress->last_name }}
{{ $billingAddress->phone }}
{{ $billingAddress->address_1 }} {{ !empty($billingAddress->address_2) ? ', ' . $billingAddress->address_2 . ',' : '' }} {{ $billingAddress->city }}
{{ __('Postcode') }}: {{ $billingAddress->zip }}
{{ __('State') }}: {{ $billingAddress->state }}
{{ __('Country') }}:{{ $billingAddress->country }}
{{ __('Email') }}: {{ $billingAddress->email }}
{{ __('Your items') }}
@foreach ($detailGroups as $group){{ __('Seller') }}: {{ optional($detail->vendor)->name }}
{{ __('Status') }}:{{ optional($detail->orderStatus)->name }}{{ trimWords($detail->product_name, 25) }}
{{ !empty($opName) ? $opName : '' }}
{{ formatNumber($detail->price, optional($order->currency)->symbol) }} x {{ formatCurrencyAmount($detail->quantity) }} ( {{ formatNumber($detail->quantity * $detail->price, optional($order->currency)->symbol) }})