DeclarationTVA/core/class
Frank Cools c74e09993f Add database debugging and fix schema for multiple accounts
Database Schema Fix:
- Fixed unique constraint to allow multiple accounts per CA-3 line
- Changed from (entity, ca3_line) to (entity, ca3_line, account_code)
- Added migration script to update existing tables
- Updated table comments to reflect new CA-3 line structure

Debug Features Added:
- Database operation logging in updateAccountMapping method
- Table existence and structure checking in setup page
- Detailed error logging for SQL operations
- Form data processing visibility

The issue was likely the unique constraint preventing multiple accounts per line!
2025-10-02 17:30:55 +02:00
..
declarationtva_config.class.php Add database debugging and fix schema for multiple accounts 2025-10-02 17:30:55 +02:00
declarationtva_period.class.php Phase 1 MVP - Core foundation complete 2025-10-02 16:16:15 +02:00
declarationtva.class.php Phase 1 MVP - Core foundation complete 2025-10-02 16:16:15 +02:00