mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
Fix CI
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user