|
|
|
|
|
|
|
|
|
|||||
|
|
# | Item Description | Charges Description | Sub-Total | |||||
---|---|---|---|---|---|---|---|---|
Route/Container No/Truck No/Trailer/File No. | Qnty(ton) | Rate | Tax | |||||
{{$i}} | {{$detail->routeName}}/{{$detail->destination->container}} /{{$detail->RouteAssignment->vehicle}}/ {{$detail->RouteAssignment->trailer}}/{{$detail->destination->file_number}} | {{$detail->destination->quantity}} | {{$detail->destination->rate}} | @if($detail->isTaxed == 1) {{--*/ $total_tax += $detail->destination->amount*0.18 /*--}} @else @endif | @if($invoice->currency == 'USD') {{$detail->destination->amountValue}} @elseif($invoice->currency == 'TSH') @if(is_int($detail->destination->amountValue*$invoice->exchange_rate)) {{number_format($detail->destination->amount*$invoice->exchange_rate)}} @else {{$detail->destination->amountValue*$invoice->exchange_rate}} @endif @endif | {{--*/ $sub_amount += $detail->destination->amountValue /*--}} {{--*/ $i ++ /*--}}|||
Pre-tax subtotal | @if($invoice->currency == 'USD') {{$sub_amount}} @elseif($invoice->currency == 'TSH') @if(is_int($sub_amount*$invoice->exchange_rate)) {{number_format($sub_amount*$invoice->exchange_rate)}} @else {{$sub_amount*$invoice->exchange_rate}} @endif @endif | |||||||
Tax (18%) | @if($invoice->currency == 'USD') {{$total_tax}} @elseif($invoice->currency == 'TSH') @if(is_double($total_tax*$invoice->exchange_rate)) {{number_format($total_tax*$invoice->exchange_rate)}} @else {{$total_tax*$invoice->exchange_rate}} @endif @endif | |||||||
Grand Total Payable | @if($invoice->currency == 'USD') {{number_format($sub_amount+$total_tax,2)}} @elseif($invoice->currency == 'TSH') {{number_format(($sub_amount+$total_tax)*$invoice->exchange_rate,2)}} @endif |
AMOUNT IN WORDS
{{\App\Logistics\Facades\Logistics::numberToWord($sub_amount+$total_tax,$invoice->currency)}} only.
BANK DETAILS Name: {{$invoice->bankAccount['name']}} Bank: {{$invoice->bankAccount['bank_name']}} Account Number(USD): {{$invoice->bankAccount['account_number']}} SWIFT Code: {{$invoice->bankAccount['swift_code']}} {{$invoice->bankAccount['location']}}
Authorized Signature
|
---|