Files

29 lines
1.1 KiB
PHP
Raw Permalink Normal View History

2026-08-04 22:23:54 +07:00
<?php
return [
/*
|--------------------------------------------------------------------------
| Vehicle Option Rules
2026-08-04 22:23:54 +07:00
|--------------------------------------------------------------------------
|
| Every Vehicle Option gets the same two blunt, config-driven rules — no
| real inventory tracking in v1 (see domain.md §2): an on/off switch for
| whether it can be selected at all right now, and a max passenger_count
| a single booking may request for it.
2026-08-04 22:23:54 +07:00
|
*/
'front_seat_enabled' => env('BOOKING_FRONT_SEAT_ENABLED', true),
'front_seat_max_per_booking' => env('BOOKING_FRONT_SEAT_MAX_PER_BOOKING', 1),
2026-08-04 22:23:54 +07:00
'back_seat_enabled' => env('BOOKING_BACK_SEAT_ENABLED', true),
'back_seat_max_per_booking' => env('BOOKING_BACK_SEAT_MAX_PER_BOOKING', 3),
2026-08-04 22:23:54 +07:00
'whole_vehicle_enabled' => env('BOOKING_WHOLE_VEHICLE_ENABLED', true),
'whole_vehicle_max_per_booking' => env('BOOKING_WHOLE_VEHICLE_MAX_PER_BOOKING', 4),
2026-08-04 22:23:54 +07:00
2026-08-19 21:43:00 +07:00
// comma-separated list of admin emails to notify on booking events
'admin_emails' => explode(',', env('BOOKING_ADMIN_EMAILS', 'admin@example.com')),
2026-08-04 22:23:54 +07:00
];