@extends('home') @section('title') @lang('site.site_name') @endsection @section('styles') {!! Html::style(theme_url('/invoice.css')) !!} @endsection @section('content')
{!! Form::open(array('route' => 'delivery2.order','method' => 'POST', 'class' => 'form-horizontal','id' => 'myform')) !!}
{!! __('Customer name') !!} {!! @$order->user->name !!}
{!! __('Phone') !!} {!! @$order->address->phone !!}
{!! __('Status') !!} {!! @$order->status !!} @if (!$order->publish) @else @if ($order->publish == 1 ) {!! __('Done') !!} @else {!! __('Canceled') !!} @endif @endif

{!! __('Customer name') !!} {!! @$order->user->name !!}

{!! __('Phone') !!} : {!! @$order->address->phone !!}

{!! __('Destination') !!} : {!! @$order->destination->title !!}

{!! __('Date') !!} : {{ $order->created_at->format('Y/m/d - h:i') }} {{ __($order->created_at->format('a')) }}


{!! siteName() !!}

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

{!! $order->order_number !!}


@php $j = 1; @endphp @foreach ($order->cart_items as $key =>$item) @endforeach
#
{!! __('Item') !!}
{!! __('Quantity') !!}
{!! __('Price') !!}
{!! __('Total') !!}
{!! $j++ !!} {!! $item->name !!} {!! $item->qty !!} {!! $item->price !!} {{ __('EGP') }} {!! ($item->price)*$item->qty !!} {!! __('EGP') !!}

{{ __('Order Total') }}:

{!! __('Delivery') !!}:

{{ @$order->price - 0}} {{ __('EGP') }}

{{ @$order->delivery - 0}} {{ __('EGP') }}

{!! __('Total payment') !!}:

{{ @$order->price + @$order->delivery}} {{ __('EGP') }}

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


{!! Form::close() !!} @endsection @section('scripts') @endsection