676
edits
mNo edit summary Tag: 2017 source edit |
|||
| Line 78: | Line 78: | ||
*Just before the <source lang="php">// Affiche notes</source> | *Just before the <source lang="php">// Affiche notes</source> | ||
*Add the code to load extrafield array in object <source lang="php"> | *Add the code to load extrafield array in object <source lang="php"> | ||
$extrafields = new ExtraFields($db); | $extrafields = new ExtraFields($this->db); | ||
$extralabels=$extrafields->fetch_name_optionals_label($object->table_element); | $extralabels=$extrafields->fetch_name_optionals_label($object->table_element); | ||
</source> | </source> | ||
| Line 94: | Line 94: | ||
*Find <source lang="php">$object->fetch_thirdparty();</source> | *Find <source lang="php">$object->fetch_thirdparty();</source> | ||
*Add, just after, the code to load extrafield array in object <source lang="php"> | *Add, just after, the code to load extrafield array in object <source lang="php"> | ||
$ | $extrafieldsline = new ExtraFields($this->db); | ||
$ | $extralabelsline=$extrafieldsline->fetch_name_optionals_label($object->table_element); | ||
</source>[[File:Add extrafields line in pdf 1.png]] | </source>[[File:Add extrafields line in pdf 1.png]] | ||
*Find <source lang="php">// Loop on each lines | *Find <source lang="php">// Loop on each lines | ||
edits