Actions
User Story #705
openEPIC #699: Quote & Enquiry Management
Backend - Generate Booking Reference, Send Confirmation Email & Create Admin Enquiry
Start date:
Due date:
% Done:
0%
Estimated time:
Description
As a system,
I want to generate a unique booking reference, send confirmation notifications to the customer, create an enquiry in the Admin Inbox, and notify all registered admin users,
So that the enquiry is acknowledged immediately and the operations team can begin the quotation process without delay.
Description¶
Upon successful submission of a quote request, the system should generate a unique booking reference, create the enquiry record, initialize the enquiry workflow, send a confirmation email to the customer, and notify all active admin email addresses registered in the platform. The enquiry should automatically appear in the Admin Enquiry Inbox with an initial status of Received.
Acceptance Criteria¶
- Generate a unique Booking Reference Number.
- Generate a unique Enquiry ID.
- Save the enquiry successfully in the database.
- Associate the enquiry with the customer and selected package.
- Set default enquiry status as Received.
- Create a new record in the Admin Enquiry Inbox.
- Display the enquiry in the Admin Dashboard for authorized users.
- Send a confirmation email to the customer containing:
- Booking Reference Number
- Package Name
- Customer Details
- Travel Summary
- Expected response timeline
- Send notification emails to all active admin email addresses configured in the system.
- Admin notification email should include:
- Enquiry ID
- Booking Reference Number
- Customer Information
- Package Details
- Travel Dates
- Traveller Count
- Date & Time of Submission
- Maintain email delivery status for both customer and admin notifications.
- Retry failed email deliveries based on configured retry policy.
- Log all notification activities in the audit log.
- Record enquiry creation timestamp and notification timestamps.
- Ensure duplicate emails are not sent for the same enquiry.
- Return appropriate success or failure responses through secure APIs.
- Execute the complete workflow within a transactional process to ensure data consistency.
No data to display
Actions