@php
function isGujarati($text) {
return preg_match('/[\x{0A80}-\x{0AFF}]/u', $text);
}
function gujaratiDate($date) {
$gujDigits = ['૦', '૧', '૨', '૩', '૪', '૫', '૬', '૭', '૮', '૯'];
return str_replace(range(0, 9), $gujDigits, $date);
}
function showGujarati($text) {
$gujDigits = ['૦', '૧', '૨', '૩', '૪', '૫', '૬', '૭', '૮', '૯'];
$text = str_replace(range(0, 9), $gujDigits, $text ?? '');
return $text ?: '___________________';
}
$isGujarati = isset($data->customer_name) && isGujarati($data->customer_name);
$todayDate = \Carbon\Carbon::now()->format('d-m-Y');
@endphp
બાંયેધરી પત્ર
તારીખ : {{ gujaratiDate($todayDate) }}
પ્રતિ શ્રી મેનેજર,
પરમ ઓટોમોબાઇલ્સ પ્રા.લી,
ગાંધીનગર.
હું, {{ showGujarati($data->customer_name ?? '') }} આજ રોજ નીચે મુજબ ની ગાડી ખરીદી રહ્યો છું જેની વિગતો નીચે પ્રમાણે છે.
- મોડેલ : {{ showGujarati($data->car_model_name ?? '') }}
- કલર : {{ showGujarati($data->exteriorcolor_name ?? '') }}
- ચેસ્સીસ નંબર : {{ showGujarati($data->chassis_number ?? '') }}
- એન્જિન નંબર : {{ showGujarati($data->engine_number ?? '') }}
- ઉત્પાદન નું વર્ષ : {{ showGujarati($data->manufacturing_year ?? '') }}
આર ટી ઓ અને કમિશનર ઓફ ટ્રાન્સપોર્ટ, ગુજરાત ના આદેશ મુજબ મને જાણ કરવામાં આવી છે કે નવી ગાડી ની ડિલિવરી નંબર પ્લેટ વિના થશે નહિ...
વધુમાં, હું એ પણ સમજું છું અને સ્વીકારું છું કે કારને લગતી તમામ વોરંટી આ પત્રની તારીખથી માન્ય છે...
આપનો વિશ્વાસુ,
નામ : {{ showGujarati($data->customer_name ?? '') }}
કોન્ટેક્ટ નંબર : {{ showGujarati($data->contact_number ?? '') }}
તારીખ : {{ gujaratiDate($todayDate) }}
Undertaking
TO,
The Manager,
Param Automobiles Pvt. Ltd
I, Mr./Mrs/Ms. {{ $data->customer_name ?? '___________________' }}
Acknowledge following details of my new vehicle delivery.
- Model: {{ $data->car_model_name ?? '___________________' }}
- Color: {{ $data->exteriorcolor_name ?? '___________________' }}
- Chassis No: {{ $data->chassis_number ?? '___________________' }}
- Engine No: {{ $data->engine_number ?? '___________________' }}
- Manufactured in: {{ $data->manufacturing_year ?? '___________________' }}
Wherein, I am informed that as per the order of RTO and Commissioner of Transport, Gujarat, the delivery of a new vehicle will not be done without a number plate...
I understand that after the RTO tax process is completed, I will not make any changes to the variant or color of the new vehicle model and will not cancel the delivery of the vehicle...
Additionally, I also understand and acknowledge that all the warranties related to the car are valid from the date of this letter and not from the date which I choose for the delivery of the car.
I also agree that the dealership will not be responsible for the choice number.
Herewith I provide my undertaking that all documents pertaining to KYC/RTO registration are genuine and valid.
Acknowledging acceptance and agreement of the foregoing, I affix my signature here too.
Customer Signature
Customer Name: {{ $data->customer_name ?? '___________________' }}
Date of Acknowledgement: {{ \Carbon\Carbon::now()->format('d-m-Y') }}
Contact Number: {{ $data->contact_number ?? '___________________' }}