diff --git a/frontend/src/pages/Planner.tsx b/frontend/src/pages/Planner.tsx index a4e1dee..ef46b52 100644 --- a/frontend/src/pages/Planner.tsx +++ b/frontend/src/pages/Planner.tsx @@ -531,13 +531,19 @@ function CatRows({ cat, dates, pickup, onPickupChange, isLast }: { return ( <> - {/* Left cell: Rooms / vac / pickup controls */} + {/* Left cell: delta ticker + Rooms / vac / pickup controls */} + {(dNew > 0 || dCanc > 0) && ( +
+ {dNew > 0 && ▲{dNew}} + {dCanc > 0 && ▼{dCanc}} +
+ )}
{occupied}{pu > 0 && +{pu}}
@@ -558,12 +564,6 @@ function CatRows({ cat, dates, pickup, onPickupChange, isLast }: { borderBottom: bbStyle, padding: '0.4rem 0.5rem 0.4rem 0.4rem', textAlign: 'right', ...(wknd ? { background: 'rgba(100,120,160,0.07)' } : {}), }}> - {(dNew > 0 || dCanc > 0) && ( -
- {dNew > 0 && ▲{dNew}} - {dCanc > 0 && ▼{dCanc}} -
- )}
{d.departs}d{prevPu > 0 && +{prevPu}}
@@ -613,6 +613,12 @@ function TotalRows({ dates, cats, pickup }: { borderLeft: '2px solid var(--card-border)', ...(wknd ? { background: 'rgba(100,120,160,0.07)' } : {}), }}> + {(dNew > 0 || dCanc > 0) && ( +
+ {dNew > 0 && ▲{dNew}} + {dCanc > 0 && ▼{dCanc}} +
+ )}
{occupied}{pu > 0 && +{pu}}
@@ -625,12 +631,6 @@ function TotalRows({ dates, cats, pickup }: { padding: '0.4rem 0.5rem 0.4rem 0.4rem', textAlign: 'right', ...(wknd ? { background: 'rgba(100,120,160,0.07)' } : {}), }}> - {(dNew > 0 || dCanc > 0) && ( -
- {dNew > 0 && ▲{dNew}} - {dCanc > 0 && ▼{dCanc}} -
- )}
{departs}d{prevPu > 0 && +{prevPu}}