Commit Graph

24 Commits

Author SHA1 Message Date
Quality App System
fd801ab78d Fix: Add missing closing brace for addEventListener in reportButtons
- Fixed 'missing ) after argument list' syntax error
- Added proper indentation and closing }) for button.addEventListener
- Added null checks for reportTitle to prevent errors
2026-01-19 21:48:06 +02:00
Quality App System
c7e560682b Fix: Remove duplicate safeStorage declaration causing SyntaxError
- safeStorage is already defined in storage-utils.js which loads first
- Duplicate declaration was causing 'Identifier already declared' error
- This error prevented script.js from loading and broke theme toggle
2026-01-19 21:44:05 +02:00
Quality App System
68916a6f89 Debug: Add console logging to diagnose theme toggle issue
- Added detailed console logs to track theme toggle initialization
- Logs will help identify why button doesn't work on non-fg_scan pages
- Temporary debug code to be removed after fix
2026-01-19 21:42:45 +02:00
Quality App System
5837b74682 Fix: Remove duplicate closing brace causing JavaScript syntax error
- Fixed syntax error that prevented script.js from loading
- This was breaking the theme toggle button and all JavaScript functionality
- Removed extra }); on line 219
2026-01-19 21:40:23 +02:00
Quality App System
2b9c478676 Fix: Add comprehensive null checks to prevent script.js errors
- Add guard clauses for reportTable, reportButtons, exportCsvButton, exportPdfButton
- Prevents JavaScript errors when report elements don't exist on page
- Ensures theme toggle and other functionality work on all pages
- Wraps report-specific code in null checks to avoid breaking other features
2026-01-19 21:37:56 +02:00
Quality App System
91b798f323 Fix: Add null check for theme toggle button in script.js
- Prevents errors when theme toggle button is not present on page
- Ensures theme toggle works reliably on all pages that load script.js
2026-01-19 21:33:38 +02:00
Quality App System
95383e36f2 Fix: Add safe localStorage wrapper and QZ Tray toggle feature
- Created storage-utils.js with safeStorage wrapper to prevent tracking prevention errors
- Updated script.js to use safeStorage for theme persistence
- Added conditional QZ Tray connection based on 'Enable Scan to Boxes' toggle
- Fixed 404 error by removing non-existent /api/backup/path endpoint call
- Enhanced fg_scan.html to disable QZ Tray and socket connections when toggle is off
- Prevents console errors when browser tracking prevention blocks localStorage access
2026-01-15 19:26:42 +02:00
Quality App Developer
a8824d6f69 updated code 2025-12-25 22:45:22 +02:00
ske087
2ce918e1b3 Docker deployment improvements: fixed backup/restore, sticky headers, quality code display 2025-11-13 02:40:36 +02:00
957c8eca4d moved to test environment 2025-10-05 14:32:47 -04:00
854b6980bc almost close to print 2025-09-24 22:04:34 +03:00
87938e7459 added report styles 2025-09-14 20:03:04 +03:00
2ab098063e updated reports 2025-09-14 19:07:36 +03:00
f8ce4baa7a update pages 2025-09-14 14:46:21 +03:00
45c9669393 updated template creation 2025-05-07 16:38:40 +03:00
31e0ffd6dc added report lab options 2025-05-06 16:20:04 +03:00
b2912064b5 Added Pages 2025-04-30 16:22:07 +03:00
56f3f8805d updated to modul etichete 2025-04-30 11:57:48 +03:00
a8f07497a0 updated JS file to work correctly 2025-04-25 14:08:03 +03:00
e11c078829 updated reports 2025-04-24 09:24:08 +03:00
fd8897aaca first qyality report 2025-04-24 06:39:24 +03:00
3ecd0e1361 created quality page 2025-04-23 16:34:42 +03:00
d3b29052e8 created user settings in the settings page 2025-04-17 10:00:46 +03:00
db465d6e4e login and dashboard pages 2025-04-16 16:44:21 +03:00