676
edits
No edit summary Tag: 2017 source edit |
No edit summary Tag: 2017 source edit |
||
| Line 68: | Line 68: | ||
== Module complementary attribute == | == Module complementary attribute == | ||
*Find the <source lang="php">function write_file | *Find the <source lang="php">function write_file</source> | ||
*Just before the <source lang="php">// Affiche notes | *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($db); | ||
| Line 78: | Line 78: | ||
$object->fetch_optionals($rowid,$extralabels); | $object->fetch_optionals($rowid,$extralabels); | ||
</source> | </source> | ||
*Add the code to display the extrafiled | *Add the code to display the extrafiled <source lang="php"> | ||
<source lang="php"> | |||
$pdf->MultiCell (190,3, $outputlangs->convToOutputCharset($object->array_options ['options_my_extra']),0,'L'); ); | $pdf->MultiCell (190,3, $outputlangs->convToOutputCharset($object->array_options ['options_my_extra']),0,'L'); ); | ||
</source> | </source> | ||
edits