diff --git a/ChangeLog.md b/ChangeLog.md index 1b3a62d..86839c4 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,5 +1,20 @@ # CHANGELOG MODULE DECLARATIONTVA FOR [DOLIBARR ERP CRM](https://www.dolibarr.org) +## 2.6.0 + +### Major Improvements +- **Fixed Declaration List Display**: Declaration list now correctly shows CA-3 line values instead of main table values +- **Accurate Amount Display**: List now uses Line 32 for VAT due and Lines 26/27 for VAT refund +- **Consistent Data**: Declaration list and declaration view now show identical values +- **No Database Changes**: Fixed display issue without modifying calculation logic +- **Production Ready**: Removed all debug statements and error_log calls from codebase + +### Bug Fixes +- **Declaration List Accuracy**: Fixed incorrect amounts shown in declaration list (70.00 → 69.00) +- **CA-3 Line Integration**: Declaration list now reads from CA-3 lines table for accurate values +- **Display Consistency**: Both list and view now show the same calculated amounts +- **Clean Codebase**: Removed all debug statements for production readiness + ## 2.5.31 ### Bug Fixes diff --git a/core/modules/modDeclarationTVA.class.php b/core/modules/modDeclarationTVA.class.php index 14b0697..50be9f1 100644 --- a/core/modules/modDeclarationTVA.class.php +++ b/core/modules/modDeclarationTVA.class.php @@ -76,7 +76,7 @@ class modDeclarationTVA extends DolibarrModules $this->editor_squarred_logo = ''; // Must be image filename into the module/img directory followed with @modulename. Example: 'myimage.png@declarationtva' // Possible values for version are: 'development', 'experimental', 'dolibarr', 'dolibarr_deprecated', 'experimental_deprecated' or a version string like 'x.y.z' - $this->version = '2.5.31'; + $this->version = '2.6.0'; // Url to the file with your last numberversion of this module //$this->url_last_version = 'http://www.example.com/versionmodule.txt';