- 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 |
||
|---|---|---|
| .. | ||
| declarationtva_config.class.php | ||
| declarationtva_pdf.class.php | ||
| declarationtva_period.class.php | ||
| declarationtva.class.php | ||