diff --git a/gestion/lib/Service/Devis/Pdf/DevisPdfHandler.php b/gestion/lib/Service/Devis/Pdf/DevisPdfHandler.php index 497919f..ddf587b 100644 --- a/gestion/lib/Service/Devis/Pdf/DevisPdfHandler.php +++ b/gestion/lib/Service/Devis/Pdf/DevisPdfHandler.php @@ -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){ diff --git a/gestion/lib/Service/InvoicePdfHandler.php b/gestion/lib/Service/InvoicePdfHandler.php index 793090b..750809c 100644 --- a/gestion/lib/Service/InvoicePdfHandler.php +++ b/gestion/lib/Service/InvoicePdfHandler.php @@ -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){ diff --git a/gestion/lib/Service/Order/PdfHandler/OrderPdfHandler.php b/gestion/lib/Service/Order/PdfHandler/OrderPdfHandler.php index 8cb86e9..df4ed95 100644 --- a/gestion/lib/Service/Order/PdfHandler/OrderPdfHandler.php +++ b/gestion/lib/Service/Order/PdfHandler/OrderPdfHandler.php @@ -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){