@extends('docs.master', ['title' => 'Purchase Order '.$model->number]) @section('content')
To:
{{$model->vendor->person}},
{{$model->vendor->company}},
{{$model->vendor->billing_address}}
 
@if($model->reference) @endif
Document Purchase Order
Number: {{$model->number}}
Date: {{$model->date}}
Reference: {{$model->reference}}
Currency: {{$model->currency->code}}
Total: {{moneyFormat($model->total, $model->currency, false)}}
@foreach($model->items as $item) @endforeach
Item Code Item Description Unit Price Qty Total
{{$item->vendor_reference}}
{{$item->product->description}}
({{$item->product->item_code}})
{{moneyFormat($item->unit_price, $model->currency, false)}} {{$item->qty}} {{moneyFormat($item->qty * $item->unit_price, $model->currency, false)}}
Total {{moneyFormat($model->total, $model->currency)}}
@if($model->terms) @endif
@endsection