@if(!is_null($invoice->label_invoice_title) )
|
|
{{ $invoice->label_invoice_title }} |
|
|
@endif
@foreach($invoice->items as $item)
@if($item->type == 'item')
0{{ ++$count }} |
{{ ucfirst($item->quantity) }} |
{{ $item->item_summary }} |
{{ number_format($item->unit_price, 2, ',' , '.') }} |
{{ number_format($item->amount, 2, ',' , '.') }} |
@endif
@endforeach
|
|
{{$invoice->label_subtotal_project}} |
|
{{ number_format($invoice->sub_total , 2, ',' , '.') }} |
@if(($invoice->deduction != 0))
|
|
{{$invoice->label_deduction}} |
|
{{ number_format($invoice->deduction , 2, ',' , '.') }}
|
|
|
{{$invoice->label_current_subtotal}} |
|
{{ number_format($current_subtotal , 2, ',' , '.') }} |
@endif
@if($invoice->tax != 0)
|
|
I.V.A. 21% |
|
{{ number_format((($current_subtotal)*0.21), 2, ',' , '.') }}
|
|
|
{{$invoice->label_total}} |
|
{{ number_format($cur_subtotal_iva , 2, ',' , '.')}} |
@endif
@if(($invoice->discount != 0))
|
|
{{$invoice->label_discount}} |
|
- {{ number_format($discount , 2, ',' , '.') }}
|
@endif
@if($invoice->retention != 0)
|
|
{{$invoice->label_retention}} |
|
- {{ number_format((($current_subtotal)*$invoice->retention/100), 2, ',' , '.') }}
|
@endif
|
|
{{$invoice->label_total_to_pay}} |
|
{{ number_format($total_to_pay , 2, ',' , '.') }} |
@for($aux=0;$aux<(7-$count);$aux++)
|
|
|
|
|
@endfor
|
|
@if(!is_null($invoice->note))
{{ $invoice->note }}
@endif
|
|
|