# Add RFQ to Maintenance Module (2-3 Workshops, File Upload Quotes)

## Steps:

- [x] 1. Create new migration database/migrations/2024_10_maintenance_rfq.sql for `maintenance_rfqs` and `workshop_quotes` tables
- [x] 2. Run migration: executed mysql
- [ ] 3. Update maintenance.php: Add RFQ section with checkbox "RFQ Multiple Workshops", multi-select #rfq_workshops (limit 3), keep single #maintenance_workshop option
- [ ] 4. Update assets/js/maintenance.js: Make rfq_workshops multi-select, save rfq_workshops[] if selected, else single workshop
- [ ] 5. Update api/maintenance.php: handleSaveJob create RFQ records for rfq_workshops[], list rfqs in job_details/jobs
- [ ] 6. Add UI in maintenance.php: "Manage Quotes" button in job row, modal with RFQ list, file upload per RFQ
- [ ] 7. Add API: maintenance.php action=upload_quote (handle file upload to quotes dir, update workshop_quotes)
- [ ] 8. Test: Create job with RFQ to 2 workshops, upload quote file, verify DB/files
- [ ] 9. Update TODO complete, attempt_completion
