From 4a7087cc0c0ccaf29e0f4776a71eec8a7731986a Mon Sep 17 00:00:00 2001 From: Scott Pouliot Date: Tue, 19 May 2026 18:37:29 -0400 Subject: [PATCH] Fix NoExtraLayerCharge dropped in DeleteItem pricing recalculation After deleting a job item, the remaining-items DTO projection was missing NoExtraLayerCharge, causing PricingCalculationService to treat all coats as extra-charge when recalculating the job total post-delete. Co-Authored-By: Claude Sonnet 4.6 --- src/PowderCoating.Web/Controllers/JobsController.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/PowderCoating.Web/Controllers/JobsController.cs b/src/PowderCoating.Web/Controllers/JobsController.cs index b8a00d3..393ae28 100644 --- a/src/PowderCoating.Web/Controllers/JobsController.cs +++ b/src/PowderCoating.Web/Controllers/JobsController.cs @@ -3128,7 +3128,8 @@ public class JobsController : Controller InventoryItemId = c.InventoryItemId, CoverageSqFtPerLb = c.CoverageSqFtPerLb, TransferEfficiency = c.TransferEfficiency, - PowderCostPerLb = c.PowderCostPerLb + PowderCostPerLb = c.PowderCostPerLb, + NoExtraLayerCharge = c.NoExtraLayerCharge }).ToList() }).ToList();