@extends('home') @section('title') @lang('site.site_name') @endsection @section('styles') {!! Html::style(theme_url('/invoice.css')) !!} @endsection @section('content')
{!! __('Phone') !!} : {!! @$order->address->phone !!}
{!! __('Destination') !!} : {!! @$order->destination->title !!}
{!! __('Date') !!} : {{ $order->created_at->format('Y-m-d') }}
# | {{----}} |
{!! __('Item') !!} |
{!! __('Quantity') !!} |
{!! __('Price') !!} |
{!! __('Total') !!} |
---|---|---|---|---|---|
{!! $j++ !!} | {{----}} | {!! $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 | {!! $item->qty !!} | {!! $item->price !!} | {!! ($item->price)*$item->qty !!} {!! __('EGP') !!} |
{{ __('Order Total') }}: {!! __('Delivery') !!}: @if (@$order->discount){!! __('Discount coupon') !!}: @endif |
{{ @$order->price - 0}} {{ __('EGP') }} {{ @$order->delivery - 0}} {{ __('EGP') }} @if (@$order->discount){{ @$order->discount - 0}} {{ __('EGP') }} @endif |
||||
{!! __('Total payment') !!}: |
{{ @$order->price + @$order->delivery - @$order->discount}} {{ __('EGP') }} |
{!! __('Printed on') !!} : {{ date("d-m-Y h:i") }} {{ __(date("a")) }}