@php function formatDate($date) { // Check if the date is valid if (!strtotime($date)) { return ''; } return date('d-m-Y', strtotime($date)); } function printTillSpecificLength($string, $maxLength) { // Check if the length of the string is less than or equal to the maxLength if (strlen($string) <= $maxLength) { echo $string; } else { // If the length exceeds maxLength, print only up to maxLength characters echo substr($string, 0, $maxLength); } } $copies = isset($_GET['copies'])?$_GET['copies']:'consignor'; // BREAK $copies INTO ARRAY $copies = explode(',', $copies); @endphp {{ $gr->gr_number ?? '' }} @php $dynamic_fields = json_decode($gr->payment_dynamic_fields); @endphp @foreach($copies as $copy)
{{ $company->company_name ?? '' }}
(Transport Division)
Regd. Office: {{ $company->address1 ?? '' }}
Office: Khasra No. 20, 23-25, 28-36, 38-39, Dariba, Rajsamand, Rajasthan-313211
GSTIN: {{ $company->gst_number ?? '' }}
SCHEDULE OF DEMURRAGE CHARGES
Demurrage chargeable after
days
from today Rs.
par day
per Qtl. on weight charged.
NOTICE
The Consignment covered by this Lorry Receipt shall be stored at the the destination under the e control of the Trarisport Operator and shall be delivered to or to the order of the Consignes Barik whose name is mentioned in the Lorry Receipt. It will under no circumstances be delivered to anyone without the written authority from the Consignee Bank or its order, endorsed on the Consignee Copy
{{$copy}} COPY
AT CARRIER'S RISK
INSURANCE
The consignor has stated that:
He has insured the consignment
Company
Policy No.
Date
Amount
Risk
Code Number: DLJ-2098
Caution
This consignment will not be detained diverted. re-routed or re-booked without Consignee Bank's writion permission.
Will be delivered at the destination.
Address of Delivery Office
State :
Tel. No.
CONSIGNMENT NOTE
No. KT /
{{$gr->gr_number ?? ''}}
Date:
{{formatDate($gr->gr_date) ?? ''}}
Consignor's Name and Address
{{ $gr['consignor'] ? $gr['consignor']->party_name : $gr['consignor_name'] }}
{{ $gr['consignor'] ? $gr['consignor']->address1 : $gr['consignor_address'] }}
GSTIN
{{ $gr['consignor'] ? $gr['consignor']->gst_number : $gr['consignor_gst_number'] }}
Consignee Bank's Name and Address
{{ $gr['consignee']->party_name ?? '' }}
{{ $gr['consignee']->address1 ?? '' }}
GSTIN
{{ $gr['consignee']->gst_number ?? '' }}
FROM
{{$gr['source']->station_name ?? ''}}
TO
{{$gr['destination']->station_name ?? ''}}
@foreach($gr->gr_desc as $desc_item) @endforeach
Packages Description (said to contain) Weight
Actual Charged
{{$desc_item['pkg'] ?? '' }} {{$desc_item['material']->material_name ?? '' }} {{$gr->total_material_weight ?? ''}} {{$gr->total_chg_qty ?? ''}}
Rate
Rs
Fright {{ $gr->pay_mode != 'TBB' ? $gr['freight'] : '' }}
Mazdoor Charges {{ $gr->pay_mode != 'TBB' ? (json_decode($gr->payment_dynamic_fields)->mazdoor_chg ?? 0) : 0 }}
Risk Charges {{ $gr->pay_mode != 'TBB' ? (json_decode($gr->payment_dynamic_fields)->risk_chg ?? 0) : 0 }}
SGST {{ $gr->pay_mode != 'TBB' ? $gr['sgst_amount'] : '' }}
CGST {{ $gr->pay_mode != 'TBB' ? $gr['cgst_amount'] : '' }}
IGST {{ $gr->pay_mode != 'TBB' ? $gr['igst_amount'] : '' }}
Any Other Charges {{ $gr->pay_mode != 'TBB' ? (json_decode($gr->payment_dynamic_fields)->other ?? 0) : 0 }}
Total {{$gr['grand_total'] ?? ''}}
Value
{{ isset($gr->gr_desc[0])?$gr->gr_desc[0]->invoice_value:'' }}
Signature of the Transport Operator
Address of Issuing Office or Name and Address of Agent
Truck No.
{{ $gr->vehicle_number }}
Additionel information :
Private Marks
{{$gr['p_marka'] ?? ''}}
Classification of Goods
Method of Packing
{{$gr['gr_desc'][0]->packing_method ?? ''}}
Private Marks
Invoice No. {{ isset($gr->gr_desc[0])?$gr->gr_desc[0]->invoice_number:'' }}
License No. of Transport Operator
GSTIN/Unique ID Reg. No. of
person lable to pay
Consignor :
Consignee :
Transporter :
@endforeach