@if (session()->has('success'))
{{ session()->get('success') }}
@endif
@if (session()->has('error'))
{{ session()->get('error') }}
@endif
{!! __('My account') !!} {!! __('My Orders') !!}
{!! __('Welcome') !!} {{ Auth::user()->name }}
{{ __('Purchase invoice') }}
{!! __('Total bill') !!} :
-
{!! __('Subtotal') !!} :{{ @$order->price }} {!! __('EGP') !!}
-
{{ __('Delivery') }} : {{ @$order->delivery }} {!! __('EGP') !!}
-
{{ __('Order Total') }} :{{ @$order->price+@$order->delivery }} {!! __('EGP') !!}
{!! __('Place of delivery') !!} :
-
{{ __('Mobile number') }} :{{ @$order->address->phone }}
-
{{ __('City / District') }} :{{ @$order->address->region }}
-
{{ __('Detailed address') }} : {{ @$order->address->address }}
@php
$status = $order->status ?? 0;
if ($order->publish == -1) {
$status = 9;
}
@endphp
@if (empty($order->publish))
{!! __('Status') !!} :
{!! __('Order pending') !!}
@elseif ($order->publish == -1)
{!! __('Status') !!} : {!! __('Canceled') !!}
@else
{!! __('Status') !!}:
{!! transactionOrdr($order->status) !!}
@endif
-
{!! __('Invoice Number') !!} :{!! $order->order_number !!}
-
{!! __('Date') !!} :{{ $order->created_at->format('d-m-Y') }}
{{ $order->created_at->format('Y/m/d - h:i') }} {{ __($order->created_at->format('a')) }}
-
{!! __('Order summary') !!}
{!! __('Item') !!} |
{!! __('Price') !!} |
{!! __('Quantity') !!} |
{!! __('Total') !!} |
{!! __('Back') !!}
|
@foreach ($order->cart_items as $k => $item)
{!! $item->name !!} |
{!! $item->price !!} {{ __('EGP') }} |
{!! $item->qty !!} |
{{ $item->subtotal }} {{ __('EGP') }} |
@endforeach
|
|
{!! __('Subtotal') !!} |
{{ @$order->price }} {!! __('EGP') !!} |
|
|
{{ __('Delivery') }} |
{{ @$order->delivery }} {!! __('EGP') !!} |
|
|
{{ __('Order Total') }} |
{{ @$order->price+@$order->delivery }} {!! __('EGP') !!} |