915 B
915 B
Service Default Status
When a service is added to a new quote, it defaults to Pending (not Approved).
Locations (3 code paths in QuoteGenerator.tsx)
| Path | Line | Description |
|---|---|---|
handleAdd |
~147 | Catalog search picker |
| RO import | ~777-778 | Loading services from a Repair Order |
handleAddSuggestion |
~959-960 | AI-suggested services |
All three set approved: false, customerDecision: 'pending' instead of the old default of approved: true, customerDecision: 'approved'.
How It Works
- The approve/decline/pending toggle buttons in the service list are unchanged — the advisor explicitly approves each service
- The
billableServices()helper insrc/lib/totals.tshandles mixed approved/pending correctly: counts all when unanimous, only approved when mixed - The "Convert to RO" flow filters on
s.approved, so only approved services become RO line items