| @lang('pdf_subtotal') | {!! format_money_pdf($estimate->sub_total, $estimate->user->currency) !!} | 
        @if ($estimate->tax_per_item === 'YES')
            @for ($i = 0; $i < count($labels); $i++)
                
                    | {{$labels[$i]}} | {!! format_money_pdf($taxes[$i], $estimate->user->currency) !!} | 
            @endfor
        @else
            @foreach ($estimate->taxes as $tax)
                
                    | {{$tax->name.' ('.$tax->percent.'%)'}} | {!! format_money_pdf($tax->amount, $estimate->user->currency) !!} | 
            @endforeach
        @endif
        @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->user->currency) !!}
                        @endif
                        @if($estimate->discount_type === 'percentage')
                            {!! format_money_pdf($estimate->discount_val, $estimate->user->currency) !!}
                        @endif | 
            @endif
        @endif
        
            |  |  | 
        
            | @lang('pdf_total') | {!! format_money_pdf($estimate->total, $estimate->user->currency)!!} |