@extends('layouts.front') @section('content')
@lang('Order Date') {{ date('d-M-Y', strtotime($order->created_at)) }}
{{ $order->customer_name }}
{{ $order->customer_address }} {{ $order->customer_city }}-{{ $order->customer_zip }}
{{ $order->customer_phone }}
{{ $order->customer_email }}
{{ $order->shipping_name == null ? $order->customer_name : $order->shipping_name }}
{{ $order->shipping_address == null ? $order->customer_address : $order->shipping_address }}
{{ $order->shipping_city == null ? $order->customer_city : $order->shipping_city }}-{{ $order->shipping_zip == null ? $order->customer_zip : $order->shipping_zip }}
{{ $order->shipping_phone == null ? $order->customer_phone : $order->shipping_phone }}
{{ $order->shipping_email == null ? $order->customer_email : $order->shipping_email }}
{{ $order->pickup_location }}
{{ $order->customer_name }}
{{ $order->customer_address }} {{ $order->customer_city }}-{{ $order->customer_zip }}
{{ $order->customer_phone }}
{{ $order->customer_email }}
{{ $order->shipping_title }}: {{ \PriceHelper::showOrderCurrencyPrice($order->shipping_cost, $order->currency_sign) }}
@endif @if ($order->packing_cost != 0){{ $order->packing_title }}: {{ \PriceHelper::showOrderCurrencyPrice($order->packing_cost, $order->currency_sign) }}
@endif @else @if ($order->shipping_cost != 0){{ __('Shipping Cost') }}: {{ \PriceHelper::showOrderCurrencyPrice($order->shipping_cost * $order->currency_value, $order->currency_sign) }}
@endif @if ($order->packing_cost != 0){{ __('Packing Cost') }}: {{ \PriceHelper::showOrderCurrencyPrice($order->packing_cost * $order->currency_value, $order->currency_sign) }}
@endif @endif@lang('Tax :') {{ \PriceHelper::showOrderCurrencyPrice($order->tax / $order->currency_value, $order->currency_sign) }}
@lang('Paid Amount:') @if ($order->method != 'Wallet') {{ \PriceHelper::showOrderCurrencyPrice( ($order->pay_amount + $order->wallet_price) * $order->currency_value, $order->currency_sign, ) }} @else {{ \PriceHelper::showOrderCurrencyPrice($order->wallet_price * $order->currency_value, $order->currency_sign) }} @endif
@lang('Payment Method:')
{{ $order->method }}
@if ($order->method != 'Cash On Delivery' && $order->method != 'Wallet')
{{ __('Transaction ID:') }} {{ $order->txnid }}
@endif
{{ __('Ship To Address') }}
@else{{ __('Pick Up') }}
@endif@lang('Product Image') | @lang('Product Details') | @lang('Unit Price') | @lang('Total') |
---|---|---|---|
|
{{ $product['item']['name'] }}@lang('Quantity:') {{ $product['qty'] }} Size:
@if (!empty($product['size']))
{{ __('Size') }}:
{{ $product['item']['measure'] }}{{ str_replace('-', ' ', $product['size']) }}
@lang('Color:') @if (!empty($product['color']))
{{ __('Color') }}:
@endif
@if (!empty($product['keys']))
@foreach (array_combine(explode(',', $product['keys']), explode(',', $product['values'])) as $key => $value)
{{ ucwords(str_replace('_', ' ', $key)) }}: {{ $value }} @endforeach @endif@lang('Unit Price:') {{ \PriceHelper::showCurrencyPrice($product['item_price'] * $order->currency_value) }} @lang('Total Price:'){{ \PriceHelper::showCurrencyPrice($product['price'] * $order->currency_value) }} {{ $product['discount'] == 0 ? '' : '(' . $product['discount'] . '% ' . __('Off') . ')' }} |
{{ \PriceHelper::showCurrencyPrice($product['item_price'] * $order->currency_value) }} | {{ \PriceHelper::showCurrencyPrice($product['price'] * $order->currency_value) }} {{ $product['discount'] == 0 ? '' : '(' . $product['discount'] . '% ' . __('Off') . ')' }} |