DeclarationTVA/ChangeLog.md
Frank Cools 9255a39d42 Version 2.1.0: Enhanced PDF Export with Detailed Breakdown Pages
- Added comprehensive PDF export combining CA-3 form with detailed breakdown pages
- Implemented pdftk-based PDF merging that preserves form fields
- Added support for new CA-3 lines (25, 26, 27, TD, 28, 32) with conditional visibility
- Fixed multi-select configuration saving issues
- Enhanced error handling and debugging for PDF generation
- Added French status translation for detailed PDFs
- Optimized page breaks to reduce paper usage
- Improved form field preservation during PDF merging

Technical improvements:
- Better error handling with comprehensive logging
- Modular PDF generation with fallback options
- Fixed pdftk filename conflicts
- Enhanced debugging capabilities
- Status translation without external dependencies
2025-10-06 16:47:02 +02:00

1.5 KiB

CHANGELOG MODULE DECLARATIONTVA FOR DOLIBARR ERP CRM

1.1

New Features

  • Enhanced PDF Export: CA-3 form now includes detailed breakdown pages in a single comprehensive PDF
  • Detailed Breakdown Pages: Account-level details for each CA-3 line showing exactly where amounts come from
  • Improved PDF Merging: Uses pdftk for reliable PDF merging that preserves form fields
  • Conditional Page Breaks: Optimized page usage to reduce paper consumption
  • Enhanced Line Calculations: Added support for lines 25, 26, 27, TD, 28, 32 with proper conditional visibility
  • Status Translation: Proper French translation of declaration status in detailed PDFs

Technical Improvements

  • Better Error Handling: Comprehensive logging and debugging for PDF generation
  • Form Field Preservation: pdftk-based merging maintains all form data integrity
  • Modular PDF Generation: Separate detailed PDF generation with fallback options
  • Enhanced Debugging: Detailed logging for troubleshooting PDF generation issues

Bug Fixes

  • Fixed Multi-Select Saving: Configuration fields now properly save when all selections are removed
  • Fixed PDF Merge Issues: Resolved pdftk filename conflicts that prevented detailed pages from being added
  • Fixed Status Translation: Eliminated "Call to a member function trans() on null" errors
  • Fixed Form Corruption: Prevented FPDI merge from corrupting filled form data

1.0

Initial version