DeclarationTVA/core
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
..
class Add balancing entry to journal table to ensure debits equal credits 2025-10-07 11:44:52 +02:00
modules Bump version to 2.2.0 2025-10-06 18:25:14 +02:00