@lang('Your Orders')
@lang('Order No.')
@lang('Products')
@lang('Payment Status')
@lang('Total')
@lang('Order Date')
{{$key+1}}
@lang('Not Available')
@if($order->payment_method != 'Cash on Delivery' && $order->paid == 0) @lang('Failed') @else @if($order->paid) @lang('Paid') @else @lang('Unpaid') @endif @endif
{{currency_format($order->shipping_cost + $order->total - $order->coupon_amount + ($order->total * $order->tax) / 100, $order->currency)}}
{{$order->created_at->toFormattedDateString()}}
@lang('Order') #{{$order->orderno}}
@if(count($order->shipments) > 0)@endif @foreach($order->products as $product)
{{ $product->name }}
@if ($product->pivot->spec && ($specs = unserialize($product->pivot->spec)))
@foreach ($specs as $key => $spec)
{{ $spec['name'] }}:
{{ $spec['value'] }}@if (!$loop->last)
,
@endif
@endforeach
@endif
@lang('Qty:') {{$product->pivot->quantity}}
{{currency_format($product->pivot->total, $order->currency)}}
@if($product->file)@endforeach
@lang('Payment Status:') @if($order->payment_method != 'Cash on Delivery' && $order->paid == 0) @lang('Failed') @else @if($order->paid) @lang('Paid') @else @lang('Unpaid') @endif @endif
@if($order->payment_date)
@lang('Payment Date:') {{$order->payment_date}}
@endif@lang('Payment Method:') {{$order->payment_method}}
@lang('Order Status:') @if($order->is_processed) @lang('Delivered') @else @if($order->stock_regained) @lang('Cancelled') @elseif($order->is_not_online_payment() && $order->paid == 0) @lang('Failed') @else @lang('Pending') @endif @endif
@if(!($order->is_processed || $order->stock_regained || ($order->is_not_online_payment() && $order->paid == 0)))@lang('Current Status:') {{$order->status}}
@endif @if($order->is_processed == 1)@lang('Delivered on:') {{$order->processed_date}}
@lang('View Invoice') @endif@lang('Shipping Address')
{{$order->address->first_name}} {{$order->address->last_name}}
{{$order->address->address}}
{{$order->address->city}}, {{$order->address->state}}
- {{$order->address->zip}}
{{$order->address->country}}.
@lang('Order Total')
@lang('Sub Total:') {{currency_format($order->total, $order->currency)}}
@lang('Tax:') {{ $order->tax }} %
@lang('Shipping Cost:') {{isset($order->shipping_cost) ? currency_format($order->shipping_cost, $order->currency) : currency_format(0, $order->currency)}}
@if($order->coupon_amount && $order->coupon_amount > 0)@lang('Coupon Discount:') {{ currency_format($order->coupon_amount, $order->currency) }}
@endif@lang('Order Total:') {{currency_format($order->shipping_cost + $order->total - $order->coupon_amount + ($order->total * $order->tax) / 100, $order->currency)}}