Calculation System: - Added getAccountMappings() to retrieve PCG account mappings - Added createCA3Line() to create CA-3 line records - Added updateDeclarationTotals() to update declaration totals - Added recalculateCA3Amounts() for recalculation functionality - Enhanced getAccountAmounts() to query Dolibarr accounting entries Recalculate Button: - Added recalculate button to declaration view page - Added action handling for recalculate functionality - Added success/error messages for recalculation - Added translations for recalculate functionality The calculation system now: - Queries actual accounting data from Dolibarr - Creates detailed CA-3 line records - Updates declaration totals automatically - Allows manual recalculation of amounts |
||
|---|---|---|
| .. | ||
| declarationtva_config.class.php | ||
| declarationtva_period.class.php | ||
| declarationtva.class.php | ||