The second part I do not understand: Where do I place the below in pdf_crabe?
$extrafields = new ExtraFields($db); $extralabels=$extrafields->fetch_name_optionals_label($object->table_element);
and
Load extrafield into object
Extrafields are loaded in $object->array_options array
$object->fetch($rowid); $object->fetch_optionals($rowid,$extralabels);
This code must be placed just after the above.
Display extrafield value of lines into PDF or HTML
If you want to add that texte at that position on the bottom part, this part is manage by the function _tableau_versements
You need to analyse the code to place the above.
So what I did in free text was type in Prepared by: then the subs variable USER_FULLNAME This prints the user who prepares or rather generates the pdf invoice.
This was not there in versions 5.x it was introduced in v6.
At least problem solved. But I still need step by step help on extra fields insertion just by merely saying I need to look at this element still does not help me I need step by step on what to do, what to insert where.