@extends('inner_layout') @section('title') {{ __('Order Details') }} @endsection @section('frontend_content')
@include('user.sidebar')

{{ __('Billing Address') }}

{{ __('Name:') }} {{ __($order->address['name']) }}
{{ __('Phone:') }} {{ __($order->address['phone']) }}
{{ __('Email:') }} {{ __($order->address['email']) }}
{{ __('Address:') }} {{ __($order->address['address']) }}

{{ __('Order Details') }}

{{ __('Transaction Id:') }} {{ $order->transaction_id }}
{{ __('Order Id:') }} {{ $order->order_id }}
{{ __('Order Date:') }} {{ $order->created_at->format('d M Y') }}
{{ __('Payment Status:') }}
@if ($order->payment_status == 1) {{ __('Paid') }} @else {{ __('Un Paid') }} @endif
{{ __('Payment Method:') }} {{ $order->payment_method }}
{{ __('Order Status:') }} @if ($order->order_status == 0) {{ __('Pending') }} @elseif($order->order_status == 5) {{ __('Completed') }} @elseif($order->order_status == 2) {{ __('Rejected') }} @elseif($order->order_status == 3) {{ __('Processing') }} @elseif($order->order_status == 4) {{ __('Shipped') }} @endif
@foreach ($order->order_detail as $detail) @endforeach
{{ __('Product Name') }}
{{ __('Price') }}
{{ __('Quantity') }}
{{ __('Amount') }}

{{ __($detail->singleProduct->translate->name) }}

{{ __(currency($detail->singleProduct->finalPrice)) }}

{{ $detail->quantity }}

{{ __(currency($detail->price)) }}

{{ __('Subtotal') }}
{{ currency($order->subtotal) }}
{{ __('Shipping Cost') }}
{{ currency($order->shipping_charge) }}
{{ __('Total') }}
{{ currency($order->total) }}
@endsection