Commit Graph

22 Commits

Author SHA1 Message Date
andrei
6b25a7ddad Add requirements.txt and update config.json
- Added centralized requirements.txt with exact package versions
- Updated config.json with TEST9 store name
- Dependencies: openpyxl==3.1.2, python-dateutil==2.8.2
2025-09-24 08:01:56 +00:00
andrei
211752ac77 Enhanced xlsxwriter scripts with comprehensive store_name replacement and ArrayFormula support
- Added create_excel_xlsxwriter.py and update_excel_xlsxwriter.py
- Implemented comprehensive store_name replacement across all formula types
- Added special handling for ArrayFormula objects (H25-AG27 range)
- Added external link breaking to prevent Excel security warnings
- Enhanced sheet renaming with formula reference preservation
- Updated server.js to use new xlsxwriter scripts

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-22 14:26:21 +00:00
andrei
732b568986 Resolve merge conflicts and integrate xlsxwriter implementation
- Resolved conflicts in server.js, config.json, create_excel.py, update_excel.py
- Maintained xlsxwriter script integration in server.js
- Preserved all custom Excel generation functionality
- Added new xlsxwriter-based scripts with openpyxl implementation

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-22 13:53:59 +00:00
andrei
0e2e1bddba Add xlsxwriter-based Excel generation scripts with openpyxl implementation
- Created create_excel_xlsxwriter.py and update_excel_xlsxwriter.py
- Uses openpyxl exclusively to preserve Excel formatting and formulas
- Updated server.js to use new xlsxwriter scripts for form submissions
- Maintains all original functionality while ensuring proper Excel file handling

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-22 13:53:06 +00:00
denisacirstea
cacd2b9d77 Template without tables
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-20 19:29:26 +03:00
denisacirstea
de966ede2b Fix form submission issues and add Excel download functionality 2025-09-17 12:38:32 +03:00
denisacirstea
3bb09839ae Fix Excel corruption issue when modifying XML content 2025-09-12 14:02:53 +03:00
denisacirstea
4e18caa8f7 Added minimarket store type with correct row positions 2025-09-12 13:28:11 +03:00
denisacirstea
5e474abc49 Implemented hiding forecast sheets not in the calculated years array 2025-09-12 12:54:45 +03:00
denisacirstea
3fda676a47 Simplified code by integrating direct_xml functionality into update_excel.py and removing re-applying of variables 2025-09-12 12:46:23 +03:00
denisacirstea
1ae630d5d6 Fixed issue with variables not being updated in Excel file 2025-09-12 12:37:08 +03:00
denisacirstea
2a55f69813 Removed old formula reference updating code, keeping only the direct XML approach 2025-09-12 12:29:49 +03:00
denisacirstea
41d7b9c755 Implemented direct XML modification approach to replace {store_name} in all formulas including ArrayFormulas 2025-09-12 12:12:40 +03:00
denisacirstea
8080e69fca Fix Excel formula references when renaming forecast sheets 2025-09-12 12:00:24 +03:00
denisacirstea
1ebb1b4745 Fix formula updates for all columns in rows 25-27 of Graphics sheet 2025-09-12 11:44:39 +03:00
denisacirstea
885526e222 Add special handling for rows 25-27 in Graphics sheet to fix formula links 2025-09-12 11:40:25 +03:00
denisacirstea
df6cf5fcab Enhance formula update to process all sheets and catch all reference formats 2025-09-12 11:35:54 +03:00
denisacirstea
50eb4b0200 Fix formula update in Excel sheets to handle sheet name changes 2025-09-12 11:23:52 +03:00
denisacirstea
63b138c079 Fix Excel sheet name limitations and add error handling 2025-09-12 11:10:43 +03:00
denisacirstea
9c0435ddd8 Implement Excel file generation with variable injection from config.json 2025-09-12 10:51:02 +03:00
denisacirstea
1b9cb50961 Add template directory structure 2025-09-12 10:23:02 +03:00
denisacirstea
46b9c4cf28 Initial commit: Business Case Automation with Excel generation 2025-09-12 10:22:04 +03:00