Invoice Terms
{!! nl2br(ucfirst($invoiceInfo->terms)) !!}
|
Total Price
@php
$taxAmount = 0;
@endphp
@if($invoiceInfo->is_tax && $invoiceInfo->tax_percentage != 0)
Tax ({{ $invoiceInfo->tax_percentage }}%)
@endif
Amount Paid
Amount Due
|
{{$currencySymbol != 'SAR' ? $currencySymbol : '' }}{{ number_format( $invoiceInfo->cost_sum_count, 2, '.', ',') }}{{$currencySymbol == 'SAR' ? ' '.$currencySymbol : '' }}
@if($invoiceInfo->is_tax && $invoiceInfo->tax_percentage != 0)
@php
$taxAmount = ($invoiceInfo->cost_sum_count * $invoiceInfo->tax_percentage) / 100;
@endphp
{{$currencySymbol != 'SAR' ? $currencySymbol : '' }}{{ number_format( $taxAmount, 2, '.', ',') }}{{$currencySymbol == 'SAR' ? ' '.$currencySymbol : '' }}
@endif
{{$currencySymbol != 'SAR' ? $currencySymbol : '' }}{{ number_format( $invoiceInfo->paid_sum_count, 2, '.', ',') }}{{$currencySymbol == 'SAR' ? ' '.$currencySymbol : '' }}
{{$currencySymbol != 'SAR' ? $currencySymbol : '' }}{{ number_format( (($invoiceInfo->cost_sum_count - $invoiceInfo->paid_sum_count) + $taxAmount) , 2, '.', ',') }}{{$currencySymbol == 'SAR' ? ' '.$currencySymbol : '' }}
|