439
edits
| Line 393: | Line 393: | ||
Note: printing the coefficient as a column in your PDF document is also possible but will not be covered here because PDF templates will vary for every persons depending on your needs. | Note: printing the coefficient as a column in your PDF document is also possible but will not be covered here because PDF templates will vary for every persons depending on your needs. | ||
For guidelines about how to do this, you can read the documentation on [[Create_a_PDF_document_template|how to create a PDF template]] and [[Module_CustomFields#Implementing_in_PDF_templates|how to use custom fields in PDF templates]]. | For guidelines about how to do this, you can read the documentation on [[Create_a_PDF_document_template|how to create a PDF template]] and [[Module_CustomFields#Implementing_in_PDF_templates|how to use custom fields in PDF templates]]. | ||
Hint: you should be looking inside the following conditional block, inside the write_file() method: | |||
<source lang="php"> | |||
// Loop on each lines | |||
for ($i = 0 ; $i < $nblignes ; $i++) | |||
{ | |||
</source> | |||
== Implementing the change of price in the Dolibarr interface == | == Implementing the change of price in the Dolibarr interface == | ||
edits