@extends('docs.master', ['title' => 'Sales Order '.$model->number]) @section('content')
{{$model->client->billing_address}}
{{$model->client->shipping_address}}
| Document | Sales Order |
| Number: | {{$model->number}} |
| Date: | {{$model->date}} |
| Reference: | {{$model->reference}} |
| Quotation: | {{$model->quotation->number}} |
| Currency: | {{$model->currency->code}} |
| Total: | {{moneyFormat($model->total, $model->currency, false)}} |
| Item Code | Item Description | Unit Price | Qty | Total |
|---|---|---|---|---|
| {{$item->product->item_code}} |
{{$item->product->description}}
|
{{moneyFormat($item->unit_price, $model->currency, false)}} | {{$item->qty}} | {{moneyFormat($item->qty * $item->unit_price, $model->currency, false)}} |
| {{$tax->name}} | {{$tax->rate}}% | +{{moneyFormat(($item->qty * $item->unit_price) * $tax->rate / 100, $model->currency, false)}} | ||
| Sub Total | {{moneyFormat($model->sub_total, $model->currency, false)}} | |||
| {{$key}} | {{moneyFormat($tax, $model->currency, false)}} | |||
| Total | {{moneyFormat($model->total, $model->currency)}} | |||