Print message that chqs not accepted

This commit is contained in:
Deon George 2016-01-11 10:10:52 +11:00
parent 0c7fe830a3
commit c29819b6bd

View File

@ -65,8 +65,8 @@ class Invoice_TCPDF_Default extends Invoice_Tcpdf {
$this->SetXY($x,$y); $this->Cell(0,0,_('Payment Remittence')); $y +=5; $this->SetXY($x,$y); $this->Cell(0,0,_('Payment Remittence')); $y +=5;
$this->SetFont('helvetica','',8); $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,_('PLEASE NOTE: Cheques are no longer accepted for payment,')); $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 use an online method of payment.')); $y +=3;
// Due Date // Due Date
$x = 110; $y = 200; $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'); $this->SetXY($x,$y); $this->Cell(0,0,$this->io->id(),0,0,'R');
// Company Address // Company Address
$y = 216; // $y = 216;
$this->SetFont('helvetica','',10); // $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->name()); $y += 4;
$this->SetXY(18,$y); $this->Cell(0,0,$this->co->street(', ')); $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; // $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 // Previous Due
$y = 215; $y = 215;