Merge branch 'fixes/fix-add-address-into-document' into releases/release-h2f

This commit is contained in:
Tiavina 2025-03-04 17:32:16 +03:00
commit 4b029eaa0b
3 changed files with 12 additions and 6 deletions

View File

@ -55,9 +55,11 @@ class DevisPdfHandler extends FPDF {
$this->MultiCell(0,5,utf8_decode(html_entity_decode('Si les frais de recouvrement sont supérieurs à ce montant forfaitaire, une indemnisation complémentaire sera due sur présentation de justificatifs ( articles L.441-3 et L.441-6 du code de commerce ).
')));
$this->SetY(-15);
$this->SetY(-18);
$this->SetFont('Arial', 'B', 8);
$this->Cell(0, 10, utf8_decode(html_entity_decode($this->devisData['configuration']->legal_one)), 0, 0, 'C');
$this->Cell(0, 4, utf8_decode(html_entity_decode($this->devisData['configuration']->legal_one)), 0, 1, 'C');
$this->Cell(0, 4, utf8_decode(html_entity_decode($this->devisData['configuration']->adresse)), 0, 1, 'C');
$this->Cell(0, 4, utf8_decode(html_entity_decode($this->devisData['configuration']->telephone)), 0, 1, 'C');
}
public function SetDevisPdfData(array $devisData,$logo = null){

View File

@ -57,9 +57,11 @@ class InvoicePdfHandler extends FPDF {
$this->MultiCell(0,5,utf8_decode(html_entity_decode('Si les frais de recouvrement sont supérieurs à ce montant forfaitaire, une indemnisation complémentaire sera due sur présentation de justificatifs ( articles L.441-3 et L.441-6 du code de commerce ).
')));
$this->SetY(-15);
$this->SetY(-18);
$this->SetFont('Arial', 'B', 8);
$this->Cell(0, 10, utf8_decode(html_entity_decode($this->orderData['configuration']->legal_one)), 0, 0, 'C');
$this->Cell(0, 4, utf8_decode(html_entity_decode($this->orderData['configuration']->legal_one)), 0, 1, 'C');
$this->Cell(0, 4, utf8_decode(html_entity_decode($this->orderData['configuration']->adresse)), 0, 1, 'C');
$this->Cell(0, 4, utf8_decode(html_entity_decode($this->orderData['configuration']->telephone)), 0, 1, 'C');
}
public function InvoicePdfFactory(array $factureData,$logo = null){

View File

@ -65,9 +65,11 @@ class OrderPdfHandler extends FPDF {
$this->DrawTotalPriceInfo($this->totalPrices);
$this->SetY(-40);
$this->SetY(-15);
$this->SetY(-18);
$this->SetFont('Arial', 'B', 8);
$this->Cell(0, 10, utf8_decode(html_entity_decode($this->orderData['configuration']->legal_one)), 0, 0, 'C');
$this->Cell(0, 4, utf8_decode(html_entity_decode($this->orderData['configuration']->legal_one)), 0, 1, 'C');
$this->Cell(0, 4, utf8_decode(html_entity_decode($this->orderData['configuration']->adresse)), 0, 1, 'C');
$this->Cell(0, 4, utf8_decode(html_entity_decode($this->orderData['configuration']->telephone)), 0, 1, 'C');
}
public function OrderPdfFactory(array $factureData,$logoExist = false){