From 9020ba80c1961741517652afc0736d91d53e89e3 Mon Sep 17 00:00:00 2001 From: AJ Isaacs Date: Sat, 1 Aug 2026 19:02:27 -0400 Subject: [PATCH] feat: unify add/edit stock UI into a single modal on Job Edit page Replaces the three separate surfaces (bulk import modal, inline custom-length form, inline edit forms) with one "Add Stock" button and modal that handles both add and edit, for both inventory-sourced and custom-length stock. --- CutList.Web/Components/Pages/Jobs/Edit.razor | 461 +++++++++---------- 1 file changed, 230 insertions(+), 231 deletions(-) diff --git a/CutList.Web/Components/Pages/Jobs/Edit.razor b/CutList.Web/Components/Pages/Jobs/Edit.razor index 625e0cb..6011c31 100644 --- a/CutList.Web/Components/Pages/Jobs/Edit.razor +++ b/CutList.Web/Components/Pages/Jobs/Edit.razor @@ -229,92 +229,226 @@ else } -@* Import Stock Modal *@ -@if (showImportModal) +@* Add/Edit Stock Modal *@ +@if (showStockModal) {