From c29819b6bde01903dab94336dc7edf9e78faf52e Mon Sep 17 00:00:00 2001 From: Deon George Date: Mon, 11 Jan 2016 10:10:52 +1100 Subject: [PATCH] Print message that chqs not accepted --- modules/invoice/classes/Invoice/Tcpdf/Default.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/modules/invoice/classes/Invoice/Tcpdf/Default.php b/modules/invoice/classes/Invoice/Tcpdf/Default.php index 818717e7..63284fee 100644 --- a/modules/invoice/classes/Invoice/Tcpdf/Default.php +++ b/modules/invoice/classes/Invoice/Tcpdf/Default.php @@ -65,8 +65,8 @@ class Invoice_TCPDF_Default extends Invoice_Tcpdf { $this->SetXY($x,$y); $this->Cell(0,0,_('Payment Remittence')); $y +=5; $this->SetFont('helvetica','',8); - $this->SetXY($x,$y); $this->Cell(0,0,_('Please return this portion with your cheque or money order')); $y +=3; - $this->SetXY($x,$y); $this->Cell(0,0,_('made payable to').' '.$this->co->name()); + $this->SetXY($x,$y); $this->Cell(0,0,_('PLEASE NOTE: Cheques are no longer accepted for payment,')); $y +=3; + $this->SetXY($x,$y); $this->Cell(0,0,_('please use an online method of payment.')); $y +=3; // Due Date $x = 110; $y = 200; @@ -90,11 +90,11 @@ class Invoice_TCPDF_Default extends Invoice_Tcpdf { $this->SetXY($x,$y); $this->Cell(0,0,$this->io->id(),0,0,'R'); // Company Address - $y = 216; - $this->SetFont('helvetica','',10); - $this->SetXY(18,$y); $this->Cell(0,0,$this->co->name()); $y += 4; - $this->SetXY(18,$y); $this->Cell(0,0,$this->co->street(', ')); $y += 4; - $this->SetXY(18,$y); $this->Cell(0,0,sprintf('%s, %s %s',$this->co->city(),$this->co->state(),$this->co->pcode())); $y += 4; +// $y = 216; +// $this->SetFont('helvetica','',10); +// $this->SetXY(18,$y); $this->Cell(0,0,$this->co->name()); $y += 4; +// $this->SetXY(18,$y); $this->Cell(0,0,$this->co->street(', ')); $y += 4; +// $this->SetXY(18,$y); $this->Cell(0,0,sprintf('%s, %s %s',$this->co->city(),$this->co->state(),$this->co->pcode())); $y += 4; // Previous Due $y = 215;