diff --git a/src/PowderCoating.Web/Controllers/QuotesController.cs b/src/PowderCoating.Web/Controllers/QuotesController.cs index 17e5d17..f4d3f12 100644 --- a/src/PowderCoating.Web/Controllers/QuotesController.cs +++ b/src/PowderCoating.Web/Controllers/QuotesController.cs @@ -3146,6 +3146,13 @@ public class QuotesController : Controller quote.ConvertedDate = DateTime.UtcNow; await _unitOfWork.SaveChangesAsync(); + // The interceptor just bumped quote.UpdatedAt as part of the ConvertedToJobId write. + // Advance the job's snapshot past that update — otherwise the comparison + // job.Quote.UpdatedAt > job.QuoteSnapshotUpdatedAt is immediately true and the + // "source quote was modified" banner fires on every newly-converted job. + job.QuoteSnapshotUpdatedAt = quote.UpdatedAt ?? quote.CreatedAt; + await _unitOfWork.SaveChangesAsync(); + // Copy all quote photos to job (leave originals on the quote) // AI analysis photos are copied with IsAiAnalysisPhoto=true so they don't count against subscription limits try