Create a PDF document template: Difference between revisions

m
Tag: 2017 source edit
Line 42: Line 42:


#Rename 'Class pdf_propale_azur { ' to 'Class pdf_propale_mycompanyblue { '
#Rename 'Class pdf_propale_azur { ' to 'Class pdf_propale_mycompanyblue { '
#Rename 'Function pdf_propale_azur ($db=0)' to 'Function pdf_propale_mycompanyblue ($db=0)' . This may not exist.
#Rename constant $this->name to match your new template name.
#Rename constant $this->name to match your new template name.


Line 49: Line 48:
#Save file. Now the template will be available in the list of models in Dolibarr.
#Save file. Now the template will be available in the list of models in Dolibarr.
#Test this model (see previous section) before going further ...
#Test this model (see previous section) before going further ...


=Customize content of your new template=
=Customize content of your new template=