From ed9503706de11e9c729a6197f8ec315707205179 Mon Sep 17 00:00:00 2001 From: SJCoetz Date: Sat, 11 Jul 2026 22:56:42 +0200 Subject: [PATCH] feat(collection-pool): gate assign UI on ready_for_collection MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Both the per-row Assign Driver button and the bulk-assign button in each supplier section header now disable when the target row(s) have not been marked ready for collection. Tooltips explain the reason. This enforces the rule that a stop must be ready before it can be assigned to a driver — same gate for single-row and bulk flows. --- src/app/(app)/collection-pool/components.tsx | 27 +++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/src/app/(app)/collection-pool/components.tsx b/src/app/(app)/collection-pool/components.tsx index 87d28c5..c85f369 100644 --- a/src/app/(app)/collection-pool/components.tsx +++ b/src/app/(app)/collection-pool/components.tsx @@ -177,7 +177,13 @@ export function PoolRow({
-