v2.5.7: Fixed layout - restored summary information
- Restored summary information (period, account count, calculated amount) - Only the redundant 'Résumé de la ligne' titles were removed - Summary details are preserved for complete information - Balanced design with clean titles but complete data - Updated module version to 2.5.7
This commit is contained in:
parent
c2cfb29aa1
commit
326c965f45
@ -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.7
|
||||||
|
|
||||||
|
### UI/UX Improvements
|
||||||
|
- **Fixed Layout**: Restored summary information while keeping titles removed
|
||||||
|
- **Balanced Design**: Summary details (period, account count, calculated amount) are preserved
|
||||||
|
- **Clean Titles**: Only the redundant "Résumé de la ligne" titles were removed
|
||||||
|
- **Complete Information**: All important summary data is still displayed
|
||||||
|
|
||||||
## 2.5.6
|
## 2.5.6
|
||||||
|
|
||||||
### UI/UX Improvements
|
### UI/UX Improvements
|
||||||
|
|||||||
@ -1036,6 +1036,17 @@ class DeclarationTVA_PDF
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Add line summary information (without title)
|
||||||
|
$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
|
// Add account details table
|
||||||
$this->addAccountDetailsTable($pdf, $line_details['account_details'], $line_code);
|
$this->addAccountDetailsTable($pdf, $line_details['account_details'], $line_code);
|
||||||
|
|||||||
@ -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.6';
|
$this->version = '2.5.7';
|
||||||
// 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';
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user