{{ __('Order Details :') }}
{{ __('Transaction Id :') }}{{ $order->txnid }}{{ __('Order Id :') }}{{ $order->transaction_number }}
{{ __('Order Date :') }}{{ $order->created_at->format('M d, Y') }}
{{ __('Payment Status :') }} @if ($order->payment_status == 'Paid')
{{ __('Paid') }}
@else
{{ __('Unpaid') }}
@endif
{{ __('Payment Method :') }}{{ $order->payment_method }}
{{ __('Billing Address :') }}
@php $bill = json_decode($order->billing_info, true); @endphp {{ __('Name') }}: {{ $bill['bill_first_name'] }} {{ $bill['bill_last_name'] }}{{ __('Email') }}: {{ $bill['bill_email'] }}
{{ __('Phone') }}: {{ $bill['bill_phone'] }}
@if (isset($bill['bill_address1'])) {{ __('Address') }}: {{ $bill['bill_address1'] }}, {{ isset($bill['bill_address2']) ? $bill['bill_address2'] : '' }}
@endif @if (isset($bill['bill_country'])) {{ __('Country') }}: {{ $bill['bill_country'] }}
@endif @if (isset($bill['bill_city'])) {{ __('City') }}: {{ $bill['bill_city'] }}
@endif @if (isset($state['name'])) {{ __('State') }}: {{ $state['name'] }}
@endif @if (isset($bill['bill_zip'])) {{ __('Zip') }}: {{ $bill['bill_zip'] }}
@endif @if (isset($bill['bill_company'])) {{ __('Company') }}: {{ $bill['bill_company'] }}
@endif
{{ __('Shipping Address :') }}
@php $ship = json_decode($order->shipping_info, true); @endphp {{ __('Name') }}: {{ $ship['ship_first_name'] }} {{ $ship['ship_last_name'] }}{{ __('Email') }}: {{ $ship['ship_email'] }}
{{ __('Phone') }}: {{ $ship['ship_phone'] }}
@if (isset($ship['ship_address1'])) {{ __('Address') }}: {{ $ship['ship_address1'] }}, {{ isset($ship['ship_address2']) ? $ship['ship_address2'] : '' }}
@endif @if (isset($ship['ship_country'])) {{ __('Country') }}: {{ $ship['ship_country'] }}
@endif @if (isset($ship['ship_city'])) {{ __('City') }}: {{ $ship['ship_city'] }}
@endif @if (isset($state['name'])) {{ __('State') }}: {{ $state['name'] }}
@endif @if (isset($ship['ship_zip'])) {{ __('Zip') }}: {{ $ship['ship_zip'] }}
@endif @if (isset($ship['ship_company'])) {{ __('Company') }}: {{ $ship['ship_company'] }}
@endif
| {{ __('Products') }} | {{ __('Attribute') }} | {{ __('Quantity') }} | {{ __('Price') }} | ||
|---|---|---|---|---|---|
| {{ $item['name'] }} |
@if (isset($item['attribute']['names']))
@foreach ($item['attribute']['names'] as $index => $name)
{{ $name }} :
{{ $item['attribute']['option_name'][$index] }} @endforeach @else -- @endif |
{{ $item['qty'] }} | @php $total_price = $item['main_price'] + $item['attribute_price']; @endphp @if ($setting->currency_direction == 1) {{ $order->currency_sign }}{{ round($total_price * $order->currency_value, 2) }} @else {{ round($total_price * $order->currency_value, 2) }}{{ $order->currency_sign }} @endif | ||
| {{ __('Tax') }} | @if ($setting->currency_direction == 1) {{ $order->currency_sign }}{{ round($order->tax * $order->currency_value, 2) }} @else {{ round($order->tax * $order->currency_value, 2) }}{{ $order->currency_sign }} @endif | ||||
| {{ __('Coupon discount') }} ({{ $discount['code']['code_name'] }}) | @if ($setting->currency_direction == 1) -{{ $order->currency_sign }}{{ round($discount['discount'] * $order->currency_value, 2) }} @else -{{ round($discount['discount'] * $order->currency_value, 2) }}{{ $order->currency_sign }} @endif | ||||
| {{ __('Shipping') }} | @if ($setting->currency_direction == 1) {{ $order->currency_sign }}{{ round($shipping['price'] * $order->currency_value, 2) }} @else {{ round($shipping['price'] * $order->currency_value, 2) }}{{ $order->currency_sign }} @endif | ||||
| {{ __('State Tax') }} | @if ($setting->currency_direction == 1) {{ isset($state['type']) && $state['type'] == 'percentage' ? ' (' . $state['price'] . '%) ' : '' }} {{ $order->currency_sign }}{{ round($order['state_price'] * $order->currency_value, 2) }} @else {{ isset($state['type']) && $state['type'] == 'percentage' ? ' (' . $state['price'] . '%) ' : '' }} {{ round($order['state_price'] * $order->currency_value, 2) }}{{ $order->currency_sign }} @endif | ||||
| @if ($order->payment_method == 'Cash On Delivery') {{ __('Total amount') }} @else {{ __('Total amount due') }} @endif | @if ($setting->currency_direction == 1) {{ $order->currency_sign }}{{ PriceHelper::OrderTotal($order) }} @else {{ PriceHelper::OrderTotal($order) }}{{ $order->currency_sign }} @endif | ||||