@php $user = json_decode($order->user_info,true); $cart = json_decode($order->cart,true); @endphp
{{ __('Order Id') }} | {{ $order->order_number }} |
{{ __('Total Amount') }} | {{$order->currency_sign}}{{round($order->total * $order->currency_value,2)}} |
{{ __('Order Status') }} | @if($order->order_status == 1) {{__('Completed')}} @elseif($order->order_status == 0) {{__('Pending')}} @else {{__('Cancle')}} @endif |
{{ __('Payment Method') }} | {{$order->method}} |
{{ __('Transaction Id') }} | {{$order->txn_id}} |
{{ __('Payment Status') }} | @if($order->payment_status == 1) {{ __('Paid') }} @else {{ __('Unpaid') }} @endif |
{{ __('Order Date') }} | {{ Carbon\Carbon::parse($order->created_at)->format('d/M/Y') }} |
Product | Price | Quintity | Total |
---|---|---|---|
{{$item['name']}} |
{{$item['price']}} | {{$item['qty']}} | {{$order->currency_sign}} {{round(($item['price'] * $item['qty']) * $order->currency_value,2)}} |