By Federica Gorni on Tuesday, 22 November 2022
Posted in General Issues
Replies 5
Likes 0
Views 556
Votes 0
Good morning,
Italian law requires invoices to have a progressive number. For this I set up the billing with the writing WEB-[[number]].
This writing does not appear in the invoices. The PDF contains the invoice key but not this data. (see screenshots)

How can I edit the PDF of the invoice to also write the dialed number as set?
I think the file to edit is components/com_payplans/themes/wireframe/invoice/pdf_content.php but which variable contains "WEB-123"?

Is there a way to make this change and make it valid even after periodic PayPlan updates without being overwritten?

Greetings
Hey Federica,

You don't need to edit any file to show the invoice serial number.
You can use PayPlans "Custom Content On Invoice" setting to show additional details on the invoice page.
Go to Backend PayPlans >> Settings >> Invoice, general, here in the Invoice Layout setting you can find "Custom Content on Invoice".

You can find it in "View available variable".Click on this and use the token from this to show on the invoice page.
[[INVOICE_SERIAL]] token for invoice serial.

Let me know if you have any queries.
·
Wednesday, 23 November 2022 11:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you very much for the information, it's a very convenient procedure.

However, I see that the text in the central column keeps wrapping, leaving a lot of empty space both on the left and on the right. How can I make the column margins wider to prevent text from continuously wrapping despite free space?
·
Wednesday, 23 November 2022 18:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Federica,

However, I see that the text in the central column keeps wrapping, leaving a lot of empty space both on the left and on the right. How can I make the column margins wider to prevent text from continuously wrapping despite free space?
For this you will need to do the changes in the invoice pdf files. The PDF invoice templates are at the below path.
root\components\com_payplans\themes\wireframe\invoice\pdf.php
root\components\com_payplans\themes\wireframe\invoice\pdf_content.php


If you need any assistance let me know.

Thank you for understanding!
·
Thursday, 24 November 2022 13:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks a lot.
Invoice pdf print a value of "COM_PP_TELEPHONE". This field is shown even if I have disabled "show empty fields". Where can I set this parameter? In "setting" "invoice" i can't find it..
·
Thursday, 24 November 2022 16:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Federica,

I've tried to download the pdf at your site I didn't see this field.
can you show me the screenshot?

Thank you for understanding!
·
Thursday, 24 November 2022 17:47
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post