@php
$srno = 1;
$total_parcel_amount = $total_ess = $total_fuel = $total_other = $total_insurance_amount = 0;
@endphp
@foreach($datas as $parcels)
{{(@$parcels['center'] != '') ? $srno :''}} |
{{@$parcels['receiver']}} |
{{@$parcels['center']}} |
{{(@$parcels['date'] != '') ? date("d/m/Y", strtotime(@$parcels['date'])) :''}} |
{{@$parcels['cons_no']}} |
{{@$parcels['remakrs']}} |
{{@$parcels['weight']}} {{strtoupper(@$parcels['weight_type'])}} |
{{Laracore::showPrice(@$parcels['parcel_amount'])}} |
@php
(@$parcels['center'] != '') ? $srno++ :'';
$total_parcel_amount = $total_parcel_amount + $parcels['parcel_amount'];
$total_ess = $total_ess + @$parcels['ess_charge_amount'];
$total_fuel = $total_fuel + @$parcels['fuel_amount'];
$insurance_amount = (is_null($parcels['insurance'])) ? 0 : $parcels['insurance'];
$total_insurance_amount = $total_insurance_amount + $insurance_amount;
@endphp
@endforeach
Amount
|
{{Laracore::showPrice(@$total_parcel_amount)}}
|
ESS Charge
|
{{Laracore::showPrice(@$total_ess)}}
|
Fuel Charge
|
{{Laracore::showPrice(@$total_fuel)}}
|
Insurance Amount
|
{{Laracore::showPrice(@$total_insurance_amount)}}
|
cgst % ({{$bill->cgstpercent}})
|
{{Laracore::showPrice(($totAmount * $bill->cgstpercent)/100)}}
|
sgst / utgst % ({{$bill->sgstpercent}})
|
{{Laracore::showPrice(($totAmount * $bill->sgstpercent)/100)}}
|
@if($bill->igstpercent > 0)
igst % ({{$bill->igstpercent}})
|
{{Laracore::showPrice(($totAmount * $bill->igstpercent)/100)}}
|
@endif
@if($roundValue > 0 && $roundValue <= 0.50)
Round Of
|
{{Laracore::showPrice($roundValue)}}
|
@endif
grand total
|
{{ Laracore::showPrice($finalGrandTotal) }}
|