CoreBOSBB
Edit Template PDF - Printable Version

+- CoreBOSBB (https://discussions.corebos.org)
+-- Forum: Support (https://discussions.corebos.org/forumdisplay.php?fid=17)
+--- Forum: Administrator Support (https://discussions.corebos.org/forumdisplay.php?fid=8)
+--- Thread: Edit Template PDF (/showthread.php?tid=2097)



Edit Template PDF - jmery24 - 02-08-2021

Hello good day
I want to edit the templates that come by default in Invoice, using the instructions from http://corebos.com/documentation/doku.php?id=en:devel:pdfstructure
But when making changes to the * .php files, the invoice still comes out the same way.
Am I missing something?

Thanks
Juan Manuel


RE: Edit Template PDF - radu - 02-08-2021

(02-08-2021, 02:58 PM)jmery24 Wrote: Hello good day
I want to edit the templates that come by default in Invoice, using the instructions from http://corebos.com/documentation/doku.php?id=en:devel:pdfstructure
But when making changes to the * .php files, the invoice still comes out the same way.
Am I missing something?

Thanks
Juan Manuel

I think you would get better results if you use the built-in gendoc extension to generate documents. It's far more flexible and adapted.
You can study it here:
http://corebos.com/documentation/doku.php?id=en:gendoc:howto
and there's also plenty knowledge resources in the wiki about it

However maybe Joe or someone else could guide you with the legacy(vtiger) pdf generator if it is mandatory for you.


RE: Edit Template PDF - joebordes - 02-08-2021

I totally agree with radu: use GenDoc


RE: Edit Template PDF - jmery24 - 02-08-2021

Joe, radu.

Thank you very much for the answer and the suggestion.
So I'm looking at how to use Gendoc.
So far I have understood how to use it. But I have a doubt about it.
For example, from the invoice module, how do I download the file, or send it by email, using the template that I create in gendoc?
The shortcuts there, default to the NATIVE PDF module.
Thanks again


RE: Edit Template PDF - joebordes - 02-08-2021

You have to activate GenDoc on the modules you want it to appear. Keep reading the manual, it is explained there, and ask again if it isn't clear

The links in the right panel are managed in the Business Actions module, so you can delete the native ones.


RE: Edit Template PDF - jmery24 - 02-09-2021

Hi, radu and Joe

Thanks a lot for the suggestion
Excellent gendoc, much more editable and simple than changing the native one. For now I was able to make it work correctly, the only thing that got stuck is with the PDF converter, since in the Webempresa hosting I do not have to perform installations via console, it is blocked for security, since it is dedicated to wordpress. I'll see how I can solve it. For the moment it works the same way that I generate the * .odt files