From 34c09c3aa5033b1e3b6f89eec85023603af6c2a7 Mon Sep 17 00:00:00 2001 From: BENKE Charles Date: Wed, 24 Jul 2013 11:14:38 +0200 Subject: [PATCH] Update pdf_blochet.class.php add ref_ext on pdf output if not empty --- htdocs/core/modules/cheque/pdf/pdf_blochet.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/modules/cheque/pdf/pdf_blochet.class.php b/htdocs/core/modules/cheque/pdf/pdf_blochet.class.php index bb759d590b9..7b2b099b67c 100644 --- a/htdocs/core/modules/cheque/pdf/pdf_blochet.class.php +++ b/htdocs/core/modules/cheque/pdf/pdf_blochet.class.php @@ -201,7 +201,7 @@ class BordereauChequeBlochet extends ModeleChequeReceipts $pdf->MultiCell(22,2,$outputlangs->transnoentities("Ref"),0,'L'); $pdf->SetXY(32,15); $pdf->SetFont('','', $default_font_size); - $pdf->MultiCell(60, 2, $outputlangs->convToOutputCharset($this->number), 0, 'L'); + $pdf->MultiCell(60, 2, $outputlangs->convToOutputCharset($this->number.($this->ref_ext?" - ".$this->ref_ext:'')), 0, 'L'); $pdf->SetFont('','', $default_font_size); $pdf->SetXY(10,20);