Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Edit Template PDF
#1
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
Reply
#2
(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.
Reply
#3
I totally agree with radu: use GenDoc
Joe
TSolucio
Reply
#4
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
Reply
#5
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.
Joe
TSolucio
Reply
#6
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
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)