@if($total_amount_TSH < 1)
@if($payment_voucher->loadingOrderItemPaymentVoucher)
{{--*/ $loading_order_item = $payment_voucher->loadingOrderItemPaymentVoucher->loadingOrderItem /*--}}
Allocation : {{(isset($loading_order_item->clientLoadingOrder)) ? $loading_order_item->clientLoadingOrder->client->name : "NO ALLOCATION ( PIPELINE )"}}
Vehicles : {{$loading_order_item->loadingOrderVehicle->vehicle->registration_number}}
-{{$loading_order_item->loadingOrderVehicle->trailer->registration_number}}
Driver : {{$loading_order_item->loadingOrderVehicle->driver->driver}}
@endif
|
SUB TOTAL USD |
{{number_format($total_amount_USD,2)}} |
@else
@if($payment_voucher->loadingOrderItemPaymentVoucher)
{{--*/ $loading_order_item = $payment_voucher->loadingOrderItemPaymentVoucher->loadingOrderItem /*--}}
Allocation : {{(isset($loading_order_item->clientLoadingOrder)) ? $loading_order_item->clientLoadingOrder->client->name : "NO ALLOCATION ( PIPELINE )"}}
Vehicles : {{$loading_order_item->loadingOrderVehicle->vehicle->registration_number}}
-{{$loading_order_item->loadingOrderVehicle->trailer->registration_number}}
Driver : {{$loading_order_item->loadingOrderVehicle->driver->driver}}
@endif
|
SUB TOTAL TSH |
{{number_format($total_amount_TSH,2)}} |
@if($total_amount_USD <1)
|
SUB TOTAL USD |
{{number_format($total_amount_USD,2)}} |
@endif
@endif
@if($payment_voucher->exchange_rate > 0)
@if($payment_voucher->currency == 'USD')
{{--*/ $tsh_to_usd = \App\Logistics\Facades\Logistics::currencyConvert($total_amount_TSH, 'TSH',$payment_voucher->exchange_rate, 'USD') /*--}}
|
TOTAL {{$payment_voucher->currency}} |
{{number_format($total_amount_USD+$tsh_to_usd,2)}} |
@else
{{--*/ $usd_to_tsh = \App\Logistics\Facades\Logistics::currencyConvert($total_amount_USD, 'USD',$payment_voucher->exchange_rate, 'TSH') /*--}}
|
PAID AMOUNT IN {{$payment_voucher->currency}} |
{{number_format($total_amount_TSH+$usd_to_tsh,2)}} |
@endif
@endif