feat: VAT toggle + offline mode

- Rename Revenue to GrossRevenue, add NetRevenue (excl. VAT)
- Add VAT toggle (Incl/Excl) on Dashboard and Comparison pages
- Add offline mode with localStorage caching (24h validity)
- Add refresh button and offline indicator in nav
- Remove Google Sheets fallback (archived to dataService.legacy.js)
- Add AR/EN translations for new UI elements
This commit is contained in:
fahed
2026-02-04 11:47:42 +03:00
parent afe276541f
commit 9044ab7da3
8 changed files with 477 additions and 280 deletions

View File

@@ -3,7 +3,9 @@
"name": "HiHala Data",
"loading": "Loading data...",
"error": "Unable to load data",
"retry": "Retry"
"retry": "Retry",
"offline": "Offline",
"refresh": "Refresh data"
},
"nav": {
"dashboard": "Dashboard",
@@ -13,11 +15,14 @@
"labels": "Labels",
"labelsOn": "Labels On",
"labelsOff": "Labels Off",
"labelsTooltip": "Show values on charts"
"labelsTooltip": "Show values on charts",
"vat": "VAT"
},
"toggle": {
"on": "On",
"off": "Off"
"off": "Off",
"incl": "Incl",
"excl": "Excl"
},
"dataSources": {
"museums": "Museums",