add admin noti email feat
PHP Tests / php-tests (push) Failing after 3m20s

This commit is contained in:
Nyan Lin Paing
2026-08-19 21:43:00 +07:00
parent 532f2ddf99
commit 5c215b4647
6 changed files with 140 additions and 0 deletions
@@ -0,0 +1,30 @@
<x-mail::message>
# New EV Booking ( {{ $booking->ref_no }} )
A new EV booking was created at {{ $booking->created_at }}.
**Booking Summary**
- **Route:** {{ $booking->route->name ?? 'N/A' }}
- **Seat Options:** {{ $booking->vehicleOptions->map(fn($b) => "{$b->passenger_count} x {$b->vehicle_option->value}")->implode(', ') }}
- **Pickup Location:** {{ $booking->pickup_address ?? 'N/A' }}
- **Dropoff Location:** {{ $booking->dropoff_address ?? 'N/A' }}
- **Travel Date:** {{ $booking->travel_date ?? 'N/A' }}
- **Total Price:** {{ $booking->price ?? 'N/A' }}
{{-- @if(!empty($booking->notes))
**Notes:**<br>
{{ $booking->notes }}
@endif --}}
Payment Method: {{ ($payment->gateway ?? 'N/A') }}
<br>
Contact Info: {{ ($booking->passenger_name ?? '') }} {{ $booking->passenger_phone ?? '' }}
<br>
Channel: {{ $booking->created_by_channel ?? '-' }}
<x-mail::button :url="$url">
View Booking
</x-mail::button>
Auto generated from<br>
{{ config('app.name') }}
</x-mail::message>