Invoice Customization in TCPDF

  • Kelly Turner
  • Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 8 months ago #142466 by Kelly Turner
Invoice Customization in TCPDF was created by Kelly Turner
Hi, I made some changes to the TCPDF config file in components/com_osmembership/tcpdf/config/tcpdf_config.php to customize the PDF margins and font sizes on my invoices. But each time I upgrade Membership Pro, my customizations in that file are overwritten. Is there a way to override that?

Please Log in or Create an account to join the conversation.

More
3 years 8 months ago #142471 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Invoice Customization in TCPDF
Hello

Exactly what you customized? Please let me know. Maybe we could make these settings customizable from UI instead of modifying code

Tuan

Please Log in or Create an account to join the conversation.

  • Kelly Turner
  • Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 8 months ago #142482 by Kelly Turner
Replied by Kelly Turner on topic Invoice Customization in TCPDF
I think it would be a GREAT idea to have these settings available in the UI!

I made changes to:

Line 92 -> set PDF_PAGE_FORMAT to LETTER
Line 122 -> set PDF_UNIT to 'in'
Lines 137, 142, 147, and 152 -> changed PDF_MARGIN values
Line 162 -> set PDF_FONT_SIZE_MAIN to 11
 

Please Log in or Create an account to join the conversation.