{{--*/ $quantity = 0 /*--}} {{--*/ $total = 0/*--}} @foreach($fuel_orders as $fuel) {{--*/ $quantity += $fuel->quantity /*--}} {{--*/ $total += $fuel->quantity*$fuel->rate/*--}} @endforeach
GIN. Quantity Price Amount
{{$fuel->goods_issued_note_id}} {{number_format($fuel->quantity,2)}} {{number_format($fuel->price_per_item,2)}} {{number_format($fuel->quantity*$fuel->price_per_item,2)}}
Total {{number_format($quantity,2)}} liters   Tsh {{number_format($total,2)}}
{{----}} {{--*/ $i = 1 /*--}} {{--*/ $n = 1 /*--}} {{--*/ $usdCost_total = 0 /*--}} {{--*/ $tshCost_total = 0 /*--}} @foreach($payment_voucher_accounts as $index => $payment_voucher_account) {{----}} @if(($payment_voucher_account->currency == 'TSH') || ($payment_voucher_account->currency == 'Tsh')|| ($payment_voucher_account->currency == 'tsh')) @elseif(($payment_voucher_account->currency == 'USD') || $payment_voucher_account->currency == 'usd') @endif {{--*/ $i += 1 /*--}} {{--*/ $n += 1 /*--}} @endforeach
SN Dr AccountCurrencyExchange Rate Cost Amount(Tsh) Cost Amount(USD)
{{++$index}} {{$payment_voucher_account->dr}}{{$payment_voucher_account->currency}}{{$payment_voucher_account->paymentVoucher->exchange_rate}} {{--*/ $tshCost_total += $payment_voucher_account->amount /*--}} {{number_format($payment_voucher_account->amount,2)}} {{--*/ $usdCost_total += $payment_voucher_account->amount/*--}} {{number_format($payment_voucher_account->amount,2)}}
TOTAL COST {{number_format($tshCost_total,2)}} {{number_format($usdCost_total,2)}}
{{--*/ $total_amount = 0 /*--}}
SNO Client From Destination Status Quantity Rate Amount
Total {{number_format($total_amount,2)}}