@extends('layouts.print') @section('content')

{{ __('Purchase invoice') }} #{!! $order->order_number !!}


{!! siteName() !!}

{!! __('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('Y/m/d - h:i') }} {{ __($order->created_at->format('a')) }}

{!! __('Order summary') !!}

@foreach ($order->cart_items as $k => $item) @endforeach
{!! __('Item') !!} {!! __('Price') !!} {!! __('Quantity') !!} {!! __('Total') !!}
{!! $item->name !!} {!! $item->price !!} {{ __('EGP') }} {!! $item->qty !!} {{ $item->subtotal }} {{ __('EGP') }}
{!! __('Subtotal') !!} {{ @$order->price }} {!! __('EGP') !!}
{{ __('Delivery') }} {{ @$order->delivery }} {!! __('EGP') !!}
{{ __('Order Total') }} {{ @$order->price+@$order->delivery }} {!! __('EGP') !!}

{!! __('Printed on') !!} : {{ date("d-m-Y") }}


@endsection @section('script') @endsection