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
This commit is contained in:
Frank Cools 2025-10-08 12:38:23 +02:00
parent 326c965f45
commit 74875476f2
3 changed files with 11 additions and 3 deletions

View File

@ -1,5 +1,13 @@
# CHANGELOG MODULE DECLARATIONTVA FOR [DOLIBARR ERP CRM](https://www.dolibarr.org) # 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 ## 2.5.7
### UI/UX Improvements ### UI/UX Improvements

View File

@ -1036,8 +1036,8 @@ class DeclarationTVA_PDF
return; return;
} }
// Add line summary information (without title) // Add line summary information (without title) - using table font size
$pdf->SetFont('helvetica', '', 10); $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, '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); $pdf->Cell(0, 6, 'Nombre de comptes: ' . $line_details['account_count'], 0, 1);

View File

@ -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' $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' // 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 // Url to the file with your last numberversion of this module
//$this->url_last_version = 'http://www.example.com/versionmodule.txt'; //$this->url_last_version = 'http://www.example.com/versionmodule.txt';