diff --git a/src/PowderCoating.Web/Controllers/InvoicesController.cs b/src/PowderCoating.Web/Controllers/InvoicesController.cs index fdaf48b..c44f985 100644 --- a/src/PowderCoating.Web/Controllers/InvoicesController.cs +++ b/src/PowderCoating.Web/Controllers/InvoicesController.cs @@ -469,11 +469,10 @@ public class InvoicesController : Controller }); } - // Use the quote's agreed tax rate. For discount, prefer the job's current pricing - // snapshot — it is recalculated on every save and captures any post-conversion edits. - // Fall back to the original quote discount only if no snapshot exists. + // Use the quote's agreed tax rate and discount — these represent the customer-approved + // price and must not be recomputed from the job's current state. dto.TaxPercent = sourceQuote.TaxPercent; - dto.DiscountAmount = jobBreakdown?.DiscountAmount ?? sourceQuote.DiscountAmount; + dto.DiscountAmount = sourceQuote.DiscountAmount; } else if (hadJobItems) {