| |
@php
$serviceType = App\Models\ServiceType::whereId($booking->service_type)->first();
@endphp
|
👋 Dear {{ $user->name }},
We're excited to inform you that a driver has been assigned to your
upcoming ride with {{ $setting->company_name }}. Here are the driver's
details:
Driver Information :
- Driver Name: {{ $booking->driver->name ?? 'N/A' }}
- Vehicle Type: {{ $booking->vehicle->name ?? 'N/A' }}
- Contact Number: {{ $booking->driver->phone ?? 'N/A' }}
- Trip Type: {{ ucfirst($serviceType->name ?? 'N/A') }}
@php
$pickupdate = \Carbon\Carbon::parse($booking->pickup_date)->format(
'd F Y',
);
$pickuptime = getTimeByFormat($booking->pickup_time);
@endphp
Your ride is scheduled for {{ $pickupdate }} at {{ $pickuptime }}.
The driver will be waiting at your specified pickup location. Should you
need to contact the driver or have any specific requirements, feel free
to reach out using the provided contact number.
We look forward to providing you with a safe and comfortable journey.
If you have any questions or need assistance, please don't hesitate to
contact us at {{ $setting->company_email }}
or {{ $setting->company_phone }}.
Thank you for choosing {{ $setting->company_name }}. We hope you
have a pleasant ride!
Regards,
{{ Auth::user()->name }}
{{ $setting->company_name }}
|
|
|
|