676
edits
No edit summary Tag: 2017 source edit |
No edit summary Tag: 2017 source edit |
||
| Line 61: | Line 61: | ||
# 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 before going further ... | # Test this model before going further ... | ||
=Modify the new invoice template= | |||
*Open the new template '''pdf_my_template.modules.php''' | |||
*Look for the last '''require_one''' lines ate the beginning of the template | |||
*Add the line '''require_once DOL_DOCUMENT_ROOT.'/core/class/extrafields.class.php';'''[[File:Add_extrafields_in_pdf_1.png|none|thumb]] | |||
edits