From 2e8a908f054499705dc7f0f935f3ea13434ef433 Mon Sep 17 00:00:00 2001 From: jtricerolph Date: Tue, 21 Jul 2026 17:52:38 +0000 Subject: [PATCH] Hide pickup cell value for past days in directors forecast worksheet Past dates already excluded from pickup calculation; suppress display to avoid giving the impression the stored override is still active. Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/pages/DirectorsForecast.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/DirectorsForecast.tsx b/frontend/src/pages/DirectorsForecast.tsx index 1d1c883d..965aa6fd 100644 --- a/frontend/src/pages/DirectorsForecast.tsx +++ b/frontend/src/pages/DirectorsForecast.tsx @@ -228,7 +228,7 @@ function WorksheetTab({ year, month }: { year: number; month: number }) { onChange={e => setOvr(day.date, 'pickup_rooms', e.target.value)} className="df-cell-input" /> ) : ( - {parseInt(ovr.pickup_rooms || '0') || '—'} + {day.is_past ? '—' : (parseInt(ovr.pickup_rooms || '0') || '—')} )} {c.total}