v2.5.6: Cleaner PDF layout by removing redundant titles

- Removed redundant 'Résumé de la ligne' titles from detailed pages
- Eliminated unnecessary summary sections to reduce clutter
- Users can now focus directly on the account details tables
- Cleaner, more professional appearance without redundant information
- Updated module version to 2.5.6
This commit is contained in:
Frank Cools 2025-10-08 12:35:32 +02:00
parent c67fd39fbe
commit c2cfb29aa1
3 changed files with 9 additions and 16 deletions

View File

@ -1,5 +1,13 @@
# CHANGELOG MODULE DECLARATIONTVA FOR [DOLIBARR ERP CRM](https://www.dolibarr.org)
## 2.5.6
### UI/UX Improvements
- **Cleaner Layout**: Removed redundant "Résumé de la ligne" titles from detailed pages
- **Simplified Design**: Eliminated unnecessary summary sections to reduce clutter
- **Better Focus**: Users can now focus directly on the account details tables
- **Streamlined PDF**: Cleaner, more professional appearance without redundant information
## 2.5.5
### UI/UX Improvements

View File

@ -1036,21 +1036,6 @@ class DeclarationTVA_PDF
return;
}
// Add line summary with light gray background
$pdf->SetFont('helvetica', 'B', 12);
$pdf->SetFillColor(245, 245, 245); // Slightly lighter gray for subsection
$pdf->Cell(0, 8, 'Résumé de la ligne ' . $line_code, 1, 1, 'L', true);
$pdf->SetFont('helvetica', '', 10);
$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);
if (!empty($line_details['calculated_line'])) {
$calc = $line_details['calculated_line'];
$pdf->Cell(0, 6, 'Montant calculé: ' . price($calc->vat_amount, 0, '', 1, 0), 0, 1);
}
$pdf->Ln(10);
// Add account details table
$this->addAccountDetailsTable($pdf, $line_details['account_details'], $line_code);

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'
// Possible values for version are: 'development', 'experimental', 'dolibarr', 'dolibarr_deprecated', 'experimental_deprecated' or a version string like 'x.y.z'
$this->version = '2.5.5';
$this->version = '2.5.6';
// Url to the file with your last numberversion of this module
//$this->url_last_version = 'http://www.example.com/versionmodule.txt';