From e5285e67df0bf1ba7b56092b99b67d75cfdb3846 Mon Sep 17 00:00:00 2001 From: SJCoetz Date: Fri, 10 Jul 2026 00:24:43 +0200 Subject: [PATCH] chore(collection-pool): rename labels Ready/Pending instead of Ready/Awaiting --- src/app/(app)/collection-pool/page.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/(app)/collection-pool/page.tsx b/src/app/(app)/collection-pool/page.tsx index 0e21562..1576641 100644 --- a/src/app/(app)/collection-pool/page.tsx +++ b/src/app/(app)/collection-pool/page.tsx @@ -302,7 +302,7 @@ export default function CollectionPoolPage() { const text = await res.text().catch(() => ""); throw new Error(text || `HTTP ${res.status}`); } - toast.success("Marked awaiting supplier confirmation."); + toast.success("Marked pending supplier confirmation."); await load(); } catch (err) { toast.error(err instanceof Error ? err.message : String(err)); @@ -448,7 +448,7 @@ export default function CollectionPoolPage() { : "text-muted-foreground hover:bg-muted hover:text-foreground", )} > - {opt === "all" ? "All" : opt === "ready" ? "Ready only" : "Awaiting only"} + {opt === "all" ? "All" : opt === "ready" ? "Ready to collect" : "Pending"} ))} @@ -566,7 +566,7 @@ function PoolRow({ const assignmentState = getAssignmentState(row, todayYmd); const assignmentBadge = getAssignmentBadge(assignmentState); const isAssigned = assignmentState !== "unassigned"; - const readyLabel = row.ready_for_collection ? "Ready" : "Awaiting"; + const readyLabel = row.ready_for_collection ? "Ready" : "Pending"; const assignedDateLabel = row.assigned_at ? new Date(row.assigned_at).toLocaleDateString(undefined, { weekday: "short", @@ -647,7 +647,7 @@ function PoolRow({ : "border-emerald-600 bg-emerald-600 text-white shadow-sm shadow-emerald-900/10 hover:border-emerald-700 hover:bg-emerald-700" } > - {row.ready_for_collection ? "Mark Awaiting" : "Mark Ready"} + {row.ready_for_collection ? "Mark Pending" : "Mark Ready"} {busy && (