{{-- @extends('docs.master', ['title' => 'Bill '.$model->number]) --}} @extends(($model->value_master == 2) ? 'docs.mastertwo' : 'docs.master', ['title'=> 'Bill '.$model->number]) @section('content')
Bills
@endsection --}} @if($model->value_master ==2) @section('heading_two')Bill
@endsectionBill
@endsection {{--
{{$model->vendor->billing_address}}
| Document | Bill |
| Number: | {{$model->number}} |
| Date: | {{$model->date}} |
| Due Date: | {{$model->due_date}} |
| Reference: | {{$model->reference}} |
| Purchase Order: | {{$model->purchaseOrder->number}} |
| Currency: | {{$model->currency->code}} |
| Total: | {{moneyFormat($model->total, $model->currency, false)}} |
| 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)}} | |||