Jump to content

easytouch

Retired Forum Member
  • Posts

    1
  • Joined

  • Last visited

About easytouch

easytouch's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Not exactly what you asked for, but maybe also an idea: My customers can choose anytime how they pay. I display the bank info on the PDF, but only if the invoice is unpaid, because then the customer needs to know the info. before payment: For example, he has the invoice on his table, but doesnt want to use paypal today. Or you could offer this way a discount if bank payment is choosen, give him a part of your saved gateway cost back. after (full) payment If he downloads the final invoice (i split proforma- and final invoices), which then has status paid , the bank account info will not be on the PDF (as I see no reason to display it to his tax authorities on the final archived paper version for years to come) vim templates/portal/invoicepdf.tpl ... $pdf->Cell(140,6,$_LANG["invoicestotal"],1,0,'R','1'); $pdf->Cell(40,6,$total,1,0,'C','1'); $pdf->Ln(); $pdf->Ln(); /////////////////////////////////////////////////// // show bank info only if unpaid if ($status=="Unpaid") { $bankinfo = 'Bankname sort code 00000 account 00000000000'; $pdf->SetFont('helvetica','',; $pdf->Cell(170,5,$bankinfo,0,0,'L','0'); } ////////// if ($notes) { ...
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated