diff --git a/ChangeLog.md b/ChangeLog.md index 20d2360..d561e00 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -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 diff --git a/core/class/declarationtva_pdf.class.php b/core/class/declarationtva_pdf.class.php index 18c087f..80eac61 100644 --- a/core/class/declarationtva_pdf.class.php +++ b/core/class/declarationtva_pdf.class.php @@ -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); diff --git a/core/modules/modDeclarationTVA.class.php b/core/modules/modDeclarationTVA.class.php index d208a46..0710a31 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.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';