@extends('user.layout') @section('content')
@if (count($orders) > 0)
@foreach ($orders as $key => $order) {{-- Receipt Modal --}} @endforeach
{{ __('Order_Number') }} {{ __('Billing_Name') }} {{ __('Billing_Email') }} {{ __('Billing_Phone') }} {{ __('Billing_City') }} {{ __('Billing_Country') }} {{ __('Shipping_Name') }} {{ __('Shipping_Email') }} {{ __('Shipping_Phone') }} {{ __('Shipping_City') }} {{ __('Shipping_Country') }} {{ __('Gateway') }} {{ __('Shipping_Method') }} {{ __('Payment_Status') }} {{ __('Order_Status') }} {{ __('Cart_Total') }} {{ __('Discount') }} {{ __('Tax') }} {{ __('Shipping_Charge') }} {{ __('Total') }} {{ __('Date') }}
#{{ $order->order_number }} {{ $order->billing_fname }} {{ $order->billing_email }} {{ $order->billing_number }} {{ $order->billing_city }} {{ $order->billing_country }} {{ $order->shpping_fname }} {{ $order->shpping_email }} {{ $order->shpping_number }} {{ $order->shpping_city }} {{ $order->shpping_country }} {{ ucfirst($order->method) }} {{ $order->shipping_method ? $order->shipping_method : '-' }} @if ($order->payment_status == 'Pending') {{ __('Pending') }} @elseif ($order->payment_status == 'Completed') {{ __('Completed') }} @endif @if ($order->order_status == 'pending') {{ __('Pending') }} @elseif ($order->order_status == 'processing') {{ __('Processing') }} @elseif ($order->order_status == 'completed') {{ __('Completed') }} @elseif ($order->order_status == 'rejected') {{ __('Rejected') }} @endif {{ $userBs->base_currency_symbol_position == 'left' ? $userBs->base_currency_symbol : '' }}{{ round($order->cart_total, 2) }}{{ $userBs->base_currency_symbol_position == 'right' ? $userBs->base_currency_symbol : '' }} {{ $userBs->base_currency_symbol_position == 'left' ? $userBs->base_currency_symbol : '' }}{{ round($order->discount, 2) }}{{ $userBs->base_currency_symbol_position == 'right' ? $userBs->base_currency_symbol : '' }} {{ $userBs->base_currency_symbol_position == 'left' ? $userBs->base_currency_symbol : '' }}{{ round($order->tax, 2) }}{{ $userBs->base_currency_symbol_position == 'right' ? $userBs->base_currency_symbol : '' }} {{ $userBs->base_currency_symbol_position == 'left' ? $userBs->base_currency_symbol : '' }} {{ round($order->shipping_charge, 2) }} {{ $userBs->base_currency_symbol_position == 'right' ? $userBs->base_currency_symbol : '' }} {{ $userBs->base_currency_symbol_position == 'left' ? $userBs->base_currency_symbol : '' }}{{ round($order->total, 2) }}{{ $userBs->base_currency_symbol_position == 'right' ? $userBs->base_currency_symbol : '' }} {{ $order->created_at }}
@endif
@if (!empty($orders)) @endif
@endsection