@extends('docs.master', ['title' => 'Invoice '.$model->number]) @section('content')
{{Settings()->get('company_name')}}
| Document | Invoice |
| Number: | {{$model->number}} |
| Date: | {{$model->date}} |
| Due Date: | {{$model->due_date}} |
| Reference: | {{$model->reference}} |
| Currency: | {{$model->currency->code}} |
| Total: | {{moneyFormat($model->total, $model->currency, false)}} |
| Sr# | Item Description | {{--Unit Price | Qty | --}}Total | |
|---|---|---|---|---|---|
| 1 | {{--{{$item->product->item_code}} | --}}
{{$item->item_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)}} | ||||