@if (isDesktop())
@if (!isDesktop())
@endif
@endif
@if (isDesktop())
@if (isDesktop())
{!! __('Print') !!}
@endif
{!! __('My account') !!} {!! __('My Orders') !!}
@endif{{ __('Purchase invoice') }}
@if (isDesktop())
{!! __('Total bill') !!} :
@endif- {!! __('Subtotal') !!} :{{ @$price }} {!! __('EGP') !!}
- {{ __('Delivery') }} : {{ @$order->delivery }} {!! __('EGP') !!}
- {{ __('Order Total') }} :{{ @$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('Y/m/d - h:i') }} {{ __($order->created_at->format('a')) }}
{!! __('Order summary') !!}
{!! __('Item') !!} | @if (isDesktop()){!! __('Price') !!} | @endif{!! __('Quantity') !!} | {!! __('Total') !!} |
{!! $item->name !!} @if ($item->options->has('unit')) / {{ $item->options->unit }} {{ ($item->options->has('type') && $item->options->type) ? ' - '.$item->options->type : '' }} @else / {{ $item->model->unit->title }} {{ ($item->options->has('type') && $item->options->type) ? ' - '.$item->options->type : '' }} @endif | @if (isDesktop()){!! $item->price !!} {{ __('EGP') }} | @endif{!! $item->qty !!} | {{ $item->subtotal }} {{ __('EGP') }} |
{!! __('Subtotal') !!} | {{ @$price }} {!! __('EGP') !!} |
{{ __('Delivery') }} | {{ @$order->delivery }} {!! __('EGP') !!} |
{{ __('Order Total') }} | {{ @$price+@$order->delivery }} {!! __('EGP') !!} |