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 <noreply@anthropic.com>
This commit is contained in:
parent
293eb4c6e7
commit
2e8a908f05
1 changed files with 1 additions and 1 deletions
|
|
@ -228,7 +228,7 @@ function WorksheetTab({ year, month }: { year: number; month: number }) {
|
||||||
onChange={e => setOvr(day.date, 'pickup_rooms', e.target.value)}
|
onChange={e => setOvr(day.date, 'pickup_rooms', e.target.value)}
|
||||||
className="df-cell-input" />
|
className="df-cell-input" />
|
||||||
) : (
|
) : (
|
||||||
<span className="num">{parseInt(ovr.pickup_rooms || '0') || '—'}</span>
|
<span className="num">{day.is_past ? '—' : (parseInt(ovr.pickup_rooms || '0') || '—')}</span>
|
||||||
)}
|
)}
|
||||||
</td>
|
</td>
|
||||||
<td className="num df-bold">{c.total}</td>
|
<td className="num df-bold">{c.total}</td>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue