@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 Narayan logistics @php $dynamic_fields = json_decode($gr->payment_dynamic_fields); @endphp
GSTIN : {{ $company->gst_number }}
Pan No. {{ $company->pan_number }}
Jai Shree Guru Devai Namah
{{ $company->jurisdiction }}
Mob.: {{ $company->mob1}}
{{ $company->mob2 }}
{{ $company->mob3 }}
_img

{{ $company->company_name }}

{{ $company->address1}}

Trunk No.
{{ $gr->vehicle?$gr->vehicle['vehicle_number']:'' }}
Driver Name & Address
{{ $gr->driver ? $gr->driver['emp_name'] . ', ' . $gr->driver['address'] : '' }}
Lic No.
{{ $gr->driver ? $gr->driver['license_number'] : '' }}
Owner Name & Address.
{{ $gr->vehicle ? $gr->vehicle['party'] ? $gr->vehicle['party']['party_name'] . ',' . $gr->vehicle['party']['address1'] : '' : '' }}
NOTICE The Consignment Covered by this set of special lorry Receipt From shall be the destination Under the control of the Transport operator and shall be deliver of to the order of the consignee Bank whose name is mentioned in the lorry receipt it will under or circumstances be delivered to any on without the written outhority from the consignee Bank or its order endarsed on the consignee copy or on a separate Letter of Authority
AT OWNER RISK
INSURANCE
The Consignor has stated that :
He has instrued the consignmnet or
He has insured the consignment
Company
Policy No
Dated
Amount
Risk
CONSIGNMENT NOTE
{{ $gr->gr_number }}
Date
{{ formatDate($gr->gr_date) }}
From: {{ $gr->source?$gr->source['station_name']:$gr->source_name }}
To: {{ $gr->destination?$gr->destination['station_name']:$gr->destination_name }}
CAUTION
The Consignment will not be detained diverted reroutedorre booked without consignee bank's written permission will be delivered at the Destination
Consignor's Name & Address
{{ printTillSpecificLength($consignor_string, 66) }}