@php $user = json_decode($order->user_info,true); $cart = json_decode($order->cart,true); $shipping_charge_info = json_decode($order->shipping_charge_info,true); @endphp
{{ __('Order Details') }}
{{ __('Order Id') }} {{ $order->order_number }}
{{ __('Invoice') }} {{ __('Download Invoice') }}
{{__('Payment Status')}} : @if($order->payment_status =='0') Pending @else Completed @endif
{{__('Order Status')}} : @if ($order->order_status == '0') Pending @elseif ($order->order_status == '1') Processing @elseif ($order->order_status == '2') Completed @elseif ($order->order_status == '3') Rejected @endif
{{__('Paid amount')}} : {{$order->currency_sign}} {{$order->total}}
{{__('Shipping Info')}} : Title : {{ $shipping_charge_info['title'] }}
Duration : {{ $shipping_charge_info['subtitle'] }}
Cost : {{$order->currency_sign}}{{ $shipping_charge_info['cost'] }}
{{__('Payment Method')}} : {{Helper::convertUtf8($order->method)}}
{{ __('Transaction Id') }} {{$order->txn_id}}
{{__('Order Date')}} : {{ Carbon\Carbon::parse($order->created_at)->format('d-m-Y') }}
@if($order->shipping_name && $order->shipping_email && $order->shipping_number && $order->shipping_address)
{{ __('Billing Details') }}
{{__('Email')}} : {{Helper::convertUtf8($order->billing_email)}}
{{__('Phone')}} : {{$order->billing_number}}
{{__('State')}} : {{Helper::convertUtf8($order->billing_state)}}
{{__('Address')}} : {{Helper::convertUtf8($order->billing_address)}}
{{__('Country')}} : {{Helper::convertUtf8($order->billing_country)}}
{{__('Zip Code')}} : {{Helper::convertUtf8($order->billing_zip)}}
{{ __('Shipping Details') }}
{{__('Email')}} : {{Helper::convertUtf8($order->shipping_email)}}
{{__('Phone')}} : {{$order->shipping_number}}
{{__('State')}} : {{Helper::convertUtf8($order->shipping_state)}}
{{__('Address')}} : {{Helper::convertUtf8($order->shipping_address)}}
{{__('Country')}} : {{Helper::convertUtf8($order->shipping_country)}}
{{__('Zip Code')}} : {{Helper::convertUtf8($order->shipping_zip)}}
@else
{{ __('Billing Details') }}
{{__('Email')}} : {{Helper::convertUtf8($order->billing_email)}}
{{__('Phone')}} : {{$order->billing_number}}
{{__('State')}} : {{Helper::convertUtf8($order->billing_state)}}
{{__('Address')}} : {{Helper::convertUtf8($order->billing_address)}}
{{__('Country')}} : {{Helper::convertUtf8($order->billing_country)}}
{{__('Zip Code')}} : {{Helper::convertUtf8($order->billing_zip)}}
@endif
@foreach ($cart as $key => $item) @endforeach
# {{__('Image')}} {{__('Product')}} {{__('Downloadable')}} {{__('Quintity')}} {{__('Price')}} {{__('Total')}}
{{$key+1}} product {{Helper::convertUtf8($item['title'])}} @if ($item['downloadable_file']) Download File @else {{ __('No File Available') }} @endif {{__('Quantity')}}: {{$item['qty']}}
{{$order->currency_sign}} {{ Helper::showPriceInOrder($item['price'], $order->currency_value) }} {{$order->currency_sign}} {{round( ($item['price'] * $item['qty']) * $order->currency_value,2) }}