Jump to content

Add custom client field to invoicepdf.tpl


Patsjoelie

Recommended Posts

Hi all,

I have created a custom client field "BTWnr" where i can put the clients VAT number.

I'm trying to get this field in my invoice PDF template, without luck.

$pdf->Cell(0,4,$clientsdetails["BTWnr"],0,1,'L');

Gives me nothing.

Does a custom field have a prefix? If so, what? Or else, how do i get my clients VAT number on my PDF invoices?

 

thanks in advance for any help on this!

Link to comment
Share on other sites

Hi all,

I have created a custom client field "BTWnr" where i can put the clients VAT number.

I'm trying to get this field in my invoice PDF template, without luck.

$pdf->Cell(0,4,$clientsdetails["BTWnr"],0,1,'L');

Gives me nothing.

Does a custom field have a prefix? If so, what? Or else, how do i get my clients VAT number on my PDF invoices?

 

thanks in advance for any help on this!

 

This should work:

$pdf->Cell(0,4,$clientsdetails["customfields1"],0,1,'L');

(if it is the 1st custom client field)

Link to comment
Share on other sites

  • 2 weeks later...

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