This commit is contained in:
Laurent Destailleur
2026-01-20 23:16:24 +01:00
parent b93aacbba2
commit 715aeb91d9
6 changed files with 52 additions and 53 deletions

View File

@@ -668,7 +668,7 @@ class pdf_balance extends ModelePdfAccountancy
// Name of soc
$pdf->SetXY($this->marge_gauche + 2, $posy + 2);
$text = $this->emetteur->name;
$text = (string) $this->emetteur->name;
$pdf->MultiCell($w / 3, 4, $outputlangs->convToOutputCharset($text), 0, $ltrdirection);
$nexY = max($pdf->GetY(), $nexY);

View File

@@ -653,7 +653,7 @@ class pdf_bookkeeping extends ModelePdfAccountancy
// Name of soc
$pdf->SetXY($this->marge_gauche + 2, $posy + 2);
$text = $this->emetteur->name;
$text = (string) $this->emetteur->name;
$pdf->MultiCell($w / 3, 4, $outputlangs->convToOutputCharset($text), 0, $ltrdirection);
$nexY = max($pdf->GetY(), $nexY);

View File

@@ -707,7 +707,7 @@ class pdf_ledger extends ModelePdfAccountancy
// Name of soc
$pdf->SetXY($this->marge_gauche + 2, $posy + 2);
$text = $this->emetteur->name;
$text = (string) $this->emetteur->name;
$pdf->MultiCell($w / 3, 4, $outputlangs->convToOutputCharset($text), 0, $ltrdirection);
$nexY = max($pdf->GetY(), $nexY);

View File

@@ -542,7 +542,7 @@ class pdf_standard_asset extends ModelePDFAsset
$sign = 1;
// Collecte des totaux par valeur de tva dans $this->tva["taux"]=total_tva
// Collect total by value of vat rate into $this->tva["taux"]=total_tva
$prev_progress = $object->lines[$i]->get_prev_progress($object->id);
if ($prev_progress > 0 && !empty($object->lines[$i]->situation_percent)) { // Compute progress from previous situation
if (isModEnabled("multicurrency") && $object->multicurrency_tx != 1) {
@@ -852,7 +852,7 @@ class pdf_standard_asset extends ModelePDFAsset
$pdf->MultiCell($w, 3, $outputlangs->transnoentities("ErrorGoToGlobalSetup"), 0, 'L');
}
} else {
$text = $this->emetteur->name;
$text = (string) $this->emetteur->name;
$pdf->MultiCell($w, 4, $outputlangs->convToOutputCharset($text), 0, 'L');
}
}