DeclarationTVA/core/class
Frank Cools 1a9e610823 Add balancing entry to journal table to ensure debits equal credits
- Added getBalancingEntry method to calculate balancing entry
- Sums all debit amounts and subtracts all credit amounts
- If result < 0: adds debit to 4456700 account
- If result > 0: adds credit to 4456700 account
- Added parseAmount helper method to convert formatted amounts back to floats
- Journal table now automatically balances with calculated entry
- Ensures proper double-entry bookkeeping in OD journal
2025-10-07 11:44:52 +02:00
..
declarationtva_config.class.php Version 2.1.0: Enhanced PDF Export with Detailed Breakdown Pages 2025-10-06 16:47:02 +02:00
declarationtva_pdf.class.php Add balancing entry to journal table to ensure debits equal credits 2025-10-07 11:44:52 +02:00
declarationtva_period.class.php Phase 1 MVP - Core foundation complete 2025-10-02 16:16:15 +02:00
declarationtva.class.php Fix PDF file paths to remove duplicate /documents 2025-10-06 18:01:37 +02:00