@extends('backend.layout') @section('content')
@php $position = $order->currency_symbol_position; $currency = $order->currency_symbol; @endphp
{{ __('Order ID') . ' ' . ' #' . $order->order_number }}
{{ __('sub Total') . ' :' }}
@if (!is_null($order->cart_total)) {{ $position == 'left' ? $currency . ' ' : '' }}{{ $order->cart_total }}{{ $position == 'right' ? ' ' . $currency : '' }} @else - @endif
{{ __('Shipping Charges') . ' :' }}
@if (!is_null($order->shipping_charge)) {{ $position == 'left' ? $currency . ' ' : '' }}{{ $order->shipping_charge }}{{ $position == 'right' ? ' ' . $currency : '' }} @else - @endif
{{ __('Coupoun Appy Discount') . ' :' }}
@if (!is_null($order->discount)) {{ $position == 'left' ? $currency . ' ' : '' }}{{ $order->discount }}{{ $position == 'right' ? ' ' . $currency : '' }} @else - @endif
{{ __('Total Pay') . ' :' }}
@if (!is_null($order->total)) {{ $position == 'left' ? $currency . ' ' : '' }}{{ $order->total }}{{ $position == 'right' ? ' ' . $currency : '' }} @else - @endif
{{ __('Paid via') . ' :' }}
@if (!is_null($order->method)) {{ $order->method }} @else - @endif
{{ __('Payment Status') . ' :' }}
@if ($order->payment_status == 'completed') {{ __('Completed') }} @elseif ($order->payment_status == 'pending') {{ __('Pending') }} @elseif ($order->payment_status == 'rejected') {{ __('Rejected') }} @else - @endif
{{ __('Order Date') . ' :' }}
{{ date_format($order->created_at, 'M d, Y') }}
{{ __('Billing Details') }}
{{ __('Name') . ' :' }}
{{ $order->billing_fname . ' ' . $order->billing_lname }}
{{ __('Email') . ' :' }}
{{ $order->billing_email }}
{{ __('Phone') . ' :' }}
{{ $order->billing_phone }}
{{ __('Address') . ' :' }}
{{ $order->billing_address }}
{{ __('City') . ' :' }}
{{ $order->billing_city }}
{{ __('State') . ' :' }}
@if (!is_null($order->billing_state)) {{ $order->billing_state }} @else - @endif
{{ __('Country') . ' :' }}
{{ $order->billing_country }}
{{ __('Shipping Details') }}
{{ __('Name') . ' :' }}
{{ $order->shipping_fname . ' ' . $order->shipping_lname }}
{{ __('Email') . ' :' }}
{{ $order->shipping_email }}
{{ __('Phone') . ' :' }}
{{ $order->shipping_phone }}
{{ __('Address') . ' :' }}
{{ $order->shipping_address }}
{{ __('City') . ' :' }}
{{ $order->shipping_city }}
{{ __('State') . ' :' }}
@if (!is_null($order->shipping_state)) {{ $order->shipping_state }} @else - @endif
{{ __('Country') . ' :' }}
{{ $order->shipping_country }}
@if (count($order->order_items) > 0)
{{ __('Product Info') }}
@foreach ($order->order_items as $item) @endforeach
{{ __('Product Name') }} {{ __('Image') }} {{ __('SKU') }} {{ __('Quantity') }} {{ __('Price') }}
{{ $item->title }} {{ $item->sku }} {{ $item->qty }} {{ $position == 'left' ? $currency . ' ' : '' }}{{ $item->price }}{{ $position == 'right' ? ' ' . $currency : '' }}
@endif
@endsection