Merchant receives new lead notification email (send-lead-email Edge Function)
↓
Goes to Leads page (/leads)
Tabs: Pending | Accepted | Declined | Connected | Closed Won | Closed Lost | All
Shows: RFQ ID, Customer Name, Venue, Event Date, Time Slot,
Group Size, Event Type, Budget, Status
↓
Clicks lead → RFQ Detail page (/rfq/RFQ-XXXX/pending/{venue_lead_id})
Shows:
Left: Event Type, Group Size, Event Date, Preferred Time,
Venue, Food Preference, Special Requirements
Right: Budget Range (e.g. Standard $101-$250)
Customer Details (Full Name, Company, Phone, Email)
Actions: "Decline" or "Accept" buttons (when Pending)
↓
Merchant clicks Accept → status changes to "Accepted"
→ "Send Proposal" button appears top right
↓
Merchant clicks "Send Proposal" → goes to proposal creation page
↓
DB Trigger: trg_set_venue_lead_timestamps → records accepted_at
DB Trigger: trg_record_response_time → logs response time