From 82a3bd391302c0e32e34f829e2a8d1de28526b1f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 31 Jul 2008 14:25:00 +0000 Subject: [PATCH] Fix: Currency translation and prof id in PDF --- htdocs/includes/modules/facture/pdf_oursin.modules.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/htdocs/includes/modules/facture/pdf_oursin.modules.php b/htdocs/includes/modules/facture/pdf_oursin.modules.php index eebee91d937..a6a264c103a 100644 --- a/htdocs/includes/modules/facture/pdf_oursin.modules.php +++ b/htdocs/includes/modules/facture/pdf_oursin.modules.php @@ -322,11 +322,11 @@ class pdf_oursin extends ModelePDFFactures $pdf->SetXY ($this->marges['g']+60, $cury+5); $pdf->MultiCell(13, 3, $account->cle_rib, 0, 'C', 0); - $pdf->SetXY ($this->marges['g'], $cury+15); + $pdf->SetXY ($this->marges['g'], $cury+14); $pdf->MultiCell(90, 3, $outputlangs->transnoentities("Residence").' : ' . $account->domiciliation, 0, 'L', 0); - $pdf->SetXY ($this->marges['g'], $cury+25); + $pdf->SetXY ($this->marges['g'], $cury+19); $pdf->MultiCell(90, 3, $outputlangs->transnoentities("IbanPrefix").' : ' . $account->iban_prefix, 0, 'L', 0); - $pdf->SetXY ($this->marges['g'], $cury+30); + $pdf->SetXY ($this->marges['g'], $cury+24); $pdf->MultiCell(90, 3, $outputlangs->transnoentities("BIC").' : ' . $account->bic, 0, 'L', 0); } } @@ -441,7 +441,7 @@ class pdf_oursin extends ModelePDFFactures else { $this->error=$outputlangs->trans("ErrorSQL")." sql=".$sql; - dolibarr_syslog($this->db,$this->error); + dolibarr_syslog($this->db,$this->error, LOG_ERR); return -1; } @@ -502,7 +502,7 @@ class pdf_oursin extends ModelePDFFactures else { $this->error=$outputlangs->trans("ErrorSQL")." sql=".$sql; - dolibarr_syslog($this->db,$this->error); + dolibarr_syslog($this->db,$this->error, LOG_ERR); return -1; }