NGUYEN LY TRAVEL - KET NOI DON DAT XE, BAN THU NGHIEM

Files: nl_booking_bridge.php, nl_booking_bridge_cron.php

1. Source: nl_service_requests (the existing customer form), not a new manual form.
2. Copies pickup, destination, date/time, trip type, return date, itinerary and notes exactly as stored.
3. Reads vehicle name from vehicles table. Determines seat class only if clearly present in vehicle name.
4. Determines pickup province only when a single supported province is explicitly written in the pickup address. Ambiguous addresses are skipped, never guessed.
5. Only requests with price_decision=dong_y, valid future dates, and not cancelled/completed are eligible.
6. Uses unique external_booking_ref to prevent duplicate dispatch jobs.
7. On confirmed import, uses the existing dispatch engine to invite up to five eligible partners. No phone/email is copied into partner-facing notes.
8. Cron bridge DISABLED by default (environment NL_BOOKING_BRIDGE_ENABLED=1 needed). Do not turn on until actual customer form schema and sample rows are checked, especially pickup formatting, booking confirmation meaning and timezone.
9. Does not change booking, pricing, HERE maps or any existing table.
10. This is a conservative integration module, NOT a verified production-ready auto dispatch system. The existing admin manual form should be removed after validated connection.
