@if(isset($rec->item_line) && !empty($rec->item_line)) @foreach($rec->item_line as $key=>$row) @endforeach @endif
# @lang('form.item') {{ $rec->show_quantity_as }} @lang('form.rate') @lang('form.tax') @lang('form.amount')
{{ $key + 1 }} {{ $row->description }}
{{ $row->long_description }}
{{ $row->quantity }} {{ format_currency($row->rate) }} {{ display_tax_rate_in_item_list($row->tax_id , $rec) }} {{ format_currency($row->sub_total , TRUE, $rec->get_currency_symbol() ) }}
@if(isset($rec->discount_total) && ($rec->discount_total > 0)) @endif @if(isset($rec->array_of_taxes_used) && !empty($rec->array_of_taxes_used) ) @foreach($rec->array_of_taxes_used as $t) @endforeach @endif @if(isset($rec->adjustment) && $rec->adjustment != 0) @endif
@lang('form.sub_total') {{ format_currency($rec->sub_total) }}
@lang('form.discount') {{ format_currency($rec->discount_total) }}
{{ str_replace($t->rate.'%',"", $t->name) }} ({{ number_format($t->rate, 2) }}%) {{ $t->amount }}
@lang('form.adjustment') {{ format_currency($rec->adjustment, true, $rec->get_currency_symbol()) }}
@lang('form.total') {{ format_currency($rec->total, TRUE, $rec->get_currency_symbol() ) }}