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 constant $this->name to match your new template name.
+
#Rename constant $this->name to match your new template name. For example for 'azur' template, change line '$this->name = "azur";' to '$this->name = "mycompanyblue";'.
+
#Save file. Now the template will be available in the list of models in Dolibarr.
−
For example for 'azur' template, change line '$this->name = "azur";' to '$this->name = "mycompanyblue";'.
+
Test this model (see previous section) before going further ...
−
−
#Save file. Now the template will be available in the list of models in Dolibarr.
−
#Test this model (see previous section) before going further ...
=Customize content of your new template=
=Customize content of your new template=