Jump to content

Invoice template and payment details


innovot

Recommended Posts

Hello:

 

am trying to add a payment details section to the end of invoicepdf.tpl but instead of appearing as three columns across the page it just displays underneath each other. Also, if there are a number of product lines then the page break is not being thrown correctly due to the payment details. Here is what I have added

# Payment Details
$pdf->SetFont('freesans','B',12);
$pdf->Cell(180,7,"HOW TO PAY",0,1,'C');
$pdf->SetFont('freesans','B',9);
$pdf->Cell(60,7,"Cheque",0,0,'L');$pdf->Cell(60,7,"Electronic Funds Transfer",0,0,'L');$pdf->Cell(40,7,"Credit Card",0,0,'L');
$pdf->Ln();
$pdf->SetFont('freesans','',9);
$ypos = $pdf->GetY();
$pdf->SetXY(20,$ypos);
$pdf->MultiCell(60,4,"Please send cheque payable to\nINNOVOT LTD addressed:\n145-157 St. John Street\nLondon\nEC1V 4PW\nEngland\n");
$pdf->SetXY(80,$ypos);
$pdf->MultiCell(60,4,"Account Name: INNOVOT LTD\nSort Code: XX-XX-XX\nAccount No: 12345678\n");
$pdf->SetXY(140,$ypos);
$pdf->MultiCell(60,4,"Please phone us with your\ncard details to pay with \nVisa or Mastercard\n");

 

Any help appreciated, thanks.

Edited by innovot
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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