From f241539cdbb21e0c364d5fa2d159d76989444ac4 Mon Sep 17 00:00:00 2001 From: jtricerolph Date: Mon, 13 Jul 2026 15:15:43 +0000 Subject: [PATCH] Add History alias app entry pointing to /forecasting/history Adds a 'history' app slug that deep-links to the forecasting app's History page, allowing it to appear as a standalone tile in the portal. Admins grant it alongside the 'forecasting' app via the Roles UI. Co-Authored-By: Claude Sonnet 4.6 --- src/db.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/db.js b/src/db.js index 310bae9..01cad12 100644 --- a/src/db.js +++ b/src/db.js @@ -126,6 +126,7 @@ export async function initDb() { ('hk-planner', 'Rota Check', 'Housekeeping workload and hours planning', '/hk-planner', 'CalendarClock', '#2d6a4f', 'Housekeeping', '10.10.10.118', 3080), ('twin-optimiser', 'Twin Optimiser', 'Identify twin room opportunities from booking grid', '/twin-optimiser', 'LayoutGrid', '#c9841a', 'Housekeeping', '10.10.10.119', 3080), ('forecasting', 'Forecasting', 'Revenue forecasting and reporting', '/forecasting', 'TrendingUp', '#0077b6', 'Finance', '10.10.10.113', 3080), + ('history', 'History', 'Hotel and restaurant actuals history charts', '/forecasting/history', 'History', '#0077b6', 'Finance', '10.10.10.113', 3080), ('rates', 'Rate Monitor', 'Competitor rate monitoring and direct booking engine rates', '/rates', 'Tag', '#7b4f00', 'Finance', '10.10.10.115', 3080), ('maintenance', 'Maintenance', 'Maintenance log book — faults, recurring tasks, assets and contractors', '/maintenance', 'Wrench', '#b45309', 'Operations', '10.10.10.121', 3080), ('reports', 'Reports', 'Custom reports for NewBook, ResOS, SambaPOS and internal data', '/reports', 'BarChart2', '#1d4ed8', 'Management', '10.10.10.122', 3080),