@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 = $_GET['copies']; // BREAK $copies INTO ARRAY $copies = explode(',', $copies); @endphp
CAUTION This consignment will not be detained diverted re-routed or re-booked without consignee bank's written permission will be delivered at the destination. |
Address of Delivery Office |
CONSIGNMENT NOTENo. {{ $gr->gr_number }} Date. {{ formatDate($gr->gr_date) }} |
AT OWNER'S RISK {{ $copy }} COPY INSURANCE |
The Customer Has stated That : 1)He Has insured the consignment OR 2)He Has not insured the consignments Company : Policy No: Date : Amount: Risk : |
GSTIN NO. {{ $company->gst_number }} |
Vehicle No.: {{ $gr->vehicle?$gr->vehicle['vehicle_number']:'' }} |
E-way Bill No.: @if(isset($gr->eway_details)) @foreach($gr->eway_details as $eway) {{ $eway['eway_number'] }} @endforeach @endif |
NOTICE The consignment covered by this set of Special Lorry Receipt shall be started at the destination under the control of the transport and shall be delivered to the order of the Consignee Bank whose name is mentioned in the Lorry Receipt. It will not be delivered to anyone under any circumstances without the written authority from the Consignee Bank or its order endorsed on the consignee copy or on a separate Letter of Authority. |
Consignor's Name & Address : {{ printTillSpecificLength($consignor_string, 50) }} |
{{-- Print after 50 position in consignee string --}} |