@php
$total_booking_amount = $parcel_fuel_amount = 0;
@endphp
@if(count($parcels_data) > 0)
Name of Consignee
|
Destination
|
Remarks
|
Ref. No
|
Consignment No
|
Type
|
Weight
|
Charges
|
@php
$previousDate = ''; $skipDate = false;
@endphp
@foreach($parcels_data as $key => $parcel)
@php
$checkDate = strtotime(@$parcel['date']);
if ($previousDate != '' && $previousDate == $checkDate) {
$skipDate = true;
} else {
$skipDate = false;
$previousDate = $checkDate;
}
@endphp
@if($skipDate == false)
Booking Date : {{date("d-M-Y", strtotime(@$parcel['date']))}} |
@endif
{{@$parcel['receiver']}} |
{{@$parcel['center']}} |
{{@$parcel['remakrs']}} |
|
{{@$parcel['cons_no']}} |
{{@$parcel['dp_name']}} |
{{@$parcel['weight']}} {{strtoupper(@$parcel['weight_type'])}}
@if(@$parcel['number_of_box'] != null)
({{$parcel['number_of_box']}} Box)
@endif
|
{{Laracore::showPrice($parcel['net_amt'] - $parcel['fuel'])}} |
@php
$total_booking_amount = $total_booking_amount + @$parcel['net_amt'] - $parcel['fuel'];
$parcel_fuel_amount = $parcel_fuel_amount + $parcel['fuel'];
@endphp
@endforeach
|
@endif
|
bank details
|
Bank Name |
{{@$branch['bank_address']}} |
Account No |
{{@$branch['bank_acno']}} |
IFSC Code |
{{@$branch['ifsc_code']}} |
MICRCode |
{{@$branch['micr_code']}} |
@if(isset($branch['msme_no']) && $branch['msme_no'] != '')
MSME No |
{{$branch['msme_no']}} |
@endif
|
Total Consignments : {{count($all_parcels)}}
Abbreviations
PA : Parcel By Air
ES : Express Service
PC : Parcel By Surface
D : Document
|
Gross total: |
{{Laracore::showPrice($total_booking_amount)}} |
@if($value == 'Positive')
Discount |
- {{Laracore::showPrice($parcels[0]->total_amount - $bill->amount)}} |
@endif
Fuel Charges: |
{{Laracore::showPrice($parcel_fuel_amount)}} |
Total Taxable Value |
{{Laracore::showPrice($bill->amount)}} |
CGST: {{$bill->cgstpercent}}% |
{{Laracore::showPrice(($totAmount * $bill->cgstpercent)/100)}} |
SGST : {{$bill->sgstpercent}}% |
{{Laracore::showPrice(($totAmount * $bill->sgstpercent)/100)}} |
@if($bill->igstpercent > 0)
IGST: {{$bill->igstpercent}}% |
{{Laracore::showPrice(($totAmount * $bill->igstpercent)/100)}} |
@endif
|
Amount In Words : {{ getIndianCurrency($finalGrandTotal) }}. |
Net Amount:
{{ Laracore::showPrice($finalGrandTotal) }}
|
|
Please Make Payments in favor of {{@$branch['name']}}
@if($digital_signature != 1)
FOR, {{@$branch['name']}}
@endif
|
@if($digital_signature == 1)
@if(@$branch['payment_qr_code'])
}}/{{@$branch['payment_qr_code']}})
@endif
Digitally signed by {{strtoupper(@$branch['name'])}}
Date:{{date("d/m/Y", strtotime($bill->created_at))}} Location:{{@$branch['city']}}
|
@elseif($digital_signature == 2 && $branch['stamp'] != '')
@if(@$branch['payment_qr_code'])
}}/{{@$branch['payment_qr_code']}})
@endif
|
@else
@if(@$branch['payment_qr_code'])
}}/{{@$branch['payment_qr_code']}})
@endif
|
@endif
@if($branch['bill_terms_and_conditions'] != '')
|
Terms and Conditions
|
@php
$termsAndConditionsArr = explode("\n", str_replace("\r", "", @$branch['bill_terms_and_conditions']));
@endphp
@foreach($termsAndConditionsArr as $termsAndConditions)
- {{$termsAndConditions}}
@endforeach
|
@endif