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