2
0
forked from Wavyzz/dolibarr

Fix label for title of table must be short value

This commit is contained in:
Laurent Destailleur
2023-05-14 20:44:52 +02:00
parent 8705cf1e7d
commit 80f5358e6e
4 changed files with 6 additions and 6 deletions

View File

@@ -1261,7 +1261,7 @@ class pdf_einstein extends ModelePDFCommandes
}
if (empty($hidetop)) {
$pdf->SetXY($this->postotalht - 1, $tab_top + 1);
$pdf->MultiCell(30, 2, $outputlangs->transnoentities("TotalHT"), '', 'C');
$pdf->MultiCell(30, 2, $outputlangs->transnoentities("TotalHTShort"), '', 'C');
}
}

View File

@@ -1892,7 +1892,7 @@ class pdf_eratosthene extends ModelePDFCommandes
'width' => 26, // in mm
'status' => empty($conf->global->PDF_PROPAL_HIDE_PRICE_EXCL_TAX) ? true : false,
'title' => array(
'textkey' => 'TotalHT'
'textkey' => 'TotalHTShort'
),
'border-left' => true, // add left line separator
);
@@ -1903,7 +1903,7 @@ class pdf_eratosthene extends ModelePDFCommandes
'width' => 26, // in mm
'status' => empty($conf->global->PDF_PROPAL_SHOW_PRICE_INCL_TAX) ? false : true,
'title' => array(
'textkey' => 'TotalTTC'
'textkey' => 'TotalTTCShort'
),
'border-left' => true, // add left line separator
);