From 74875476f235073c9e5b28bc0df8a5b62282b2ae Mon Sep 17 00:00:00 2001 From: Frank Cools Date: Wed, 8 Oct 2025 12:38:23 +0200 Subject: [PATCH] v2.5.8: Font size consistency for summary information - Summary information now uses the same font size as tables (size 7) - All text elements now have consistent typography - Professional appearance with uniform font sizing throughout the PDF - Summary text blends seamlessly with table content - Updated module version to 2.5.8 --- ChangeLog.md | 8 ++++++++ core/class/declarationtva_pdf.class.php | 4 ++-- core/modules/modDeclarationTVA.class.php | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index 2477dc8..40e2207 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,5 +1,13 @@ # CHANGELOG MODULE DECLARATIONTVA FOR [DOLIBARR ERP CRM](https://www.dolibarr.org) +## 2.5.8 + +### UI/UX Improvements +- **Font Size Consistency**: Summary information now uses the same font size as tables (size 7) +- **Visual Harmony**: All text elements now have consistent typography +- **Professional Appearance**: Uniform font sizing throughout the PDF +- **Better Integration**: Summary text blends seamlessly with table content + ## 2.5.7 ### UI/UX Improvements diff --git a/core/class/declarationtva_pdf.class.php b/core/class/declarationtva_pdf.class.php index cc1d24c..c13305b 100644 --- a/core/class/declarationtva_pdf.class.php +++ b/core/class/declarationtva_pdf.class.php @@ -1036,8 +1036,8 @@ class DeclarationTVA_PDF return; } - // Add line summary information (without title) - $pdf->SetFont('helvetica', '', 10); + // Add line summary information (without title) - using table font size + $pdf->SetFont('helvetica', '', 7); $pdf->Cell(0, 6, 'Période: ' . dol_print_date($line_details['start_date'], 'day') . ' - ' . dol_print_date($line_details['end_date'], 'day'), 0, 1); $pdf->Cell(0, 6, 'Nombre de comptes: ' . $line_details['account_count'], 0, 1); diff --git a/core/modules/modDeclarationTVA.class.php b/core/modules/modDeclarationTVA.class.php index 62d0a05..284355d 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.7'; + $this->version = '2.5.8'; // Url to the file with your last numberversion of this module //$this->url_last_version = 'http://www.example.com/versionmodule.txt';