Situation invoice - Missing Category of operations in Octopus head (#30356)
This commit is contained in:
parent
30f9215846
commit
388ac640f6
1 changed files with 7 additions and 0 deletions
|
|
@ -1964,6 +1964,13 @@ class pdf_octopus extends ModelePDFFactures
|
|||
$pdf->SetFont('', '', $default_font_size - 2);
|
||||
|
||||
if (empty($hidetop)) {
|
||||
// Show category of operations
|
||||
if (getDolGlobalInt('INVOICE_CATEGORY_OF_OPERATION') == 1 && $this->categoryOfOperation >= 0) {
|
||||
$categoryOfOperations = $outputlangs->transnoentities("MentionCategoryOfOperations") . ' : ' . $outputlangs->transnoentities("MentionCategoryOfOperations" . $this->categoryOfOperation);
|
||||
$pdf->SetXY($this->marge_gauche, $tab_top - 4);
|
||||
$pdf->MultiCell(($pdf->GetStringWidth($categoryOfOperations)) + 4, 2, $categoryOfOperations);
|
||||
}
|
||||
|
||||
$titre = $outputlangs->transnoentities("AmountInCurrency", $outputlangs->transnoentitiesnoconv("Currency".$currency));
|
||||
$pdf->SetXY($this->page_largeur - $this->marge_droite - ($pdf->GetStringWidth($titre) + 3), $tab_top - 4);
|
||||
$pdf->MultiCell(($pdf->GetStringWidth($titre) + 3), 2, $titre);
|
||||
|
|
|
|||
Loading…
Reference in a new issue