- Shipped
- 2 Septemba 2026, 05:33 UTC
- Author
- Kamo
- Commit
- b787578
A setup fee typed on an option reached exactly one figure — QuoteOptionTotals put it in contractTotal — and applyOptionHeadlineTotals then built the quote's headline from periodTotal + tax + shipping. So the Total column on a lead's Quotes tab understated every options quote by the whole fee, while **************** went on billing it under the default FIRST_PERIOD_PLUS_SETUP. The document and the invoice disagreed. The headline is now the first invoice: period total + setup + tax + shipping, which is precisely what orderTotalFor charges. The fee stays out of periodTotal and monthlyEquivalent — a one-off charge is not a recurring rate, and folding it in there would misprice every savings comparison on the customer's page. acceptPublic was mirroring the chosen option by hand rather than through applyOptionHeadlineTotals, so accepting a quote dropped the tax, the shipping and the setup fee at once: the total FELL the moment the customer said yes. It now goes through the one writer.