@lang('pdf_subtotal') |
{!! format_money_pdf($invoice->sub_total, $invoice->customer->currency) !!}
|
@if($invoice->discount > 0)
@if ($invoice->discount_per_item === 'NO')
@if($invoice->discount_type === 'fixed')
@lang('pdf_discount_label')
@endif
@if($invoice->discount_type === 'percentage')
@lang('pdf_discount_label') ({{$invoice->discount}}%)
@endif
|
@if($invoice->discount_type === 'fixed')
{!! format_money_pdf($invoice->discount_val, $invoice->customer->currency) !!}
@endif
@if($invoice->discount_type === 'percentage')
{!! format_money_pdf($invoice->discount_val, $invoice->customer->currency) !!}
@endif
|
@endif
@endif
@if ($invoice->tax_per_item === 'YES')
@foreach ($taxes as $tax)
{{$tax->name.' ('.$tax->percent.'%)'}}
|
{!! format_money_pdf($tax->amount, $invoice->customer->currency) !!}
|
@endforeach
@else
@foreach ($invoice->taxes as $tax)
{{$tax->name.' ('.$tax->percent.'%)'}}
|
{!! format_money_pdf($tax->amount, $invoice->customer->currency) !!}
|
@endforeach
@endif
|
|
@lang('pdf_total')
|
{!! format_money_pdf($invoice->total, $invoice->customer->currency)!!}
|