29
edits
mNo edit summary Tag: 2017 source edit |
Pragmatech64 (talk | contribs) (missing ; that was crating a syntax error) Tag: 2017 source edit |
||
| Line 29: | Line 29: | ||
==Module complementary attribute== | ==Module complementary attribute== | ||
Go on the Complementary attributes (invoices) tab | Go on the Complementary attributes (invoices) tab | ||
[[File:Invoices module setup.png|none|thumb]] | [[File:Invoices module setup.png|none|thumb|link=Special:FilePath/Invoices_module_setup.png]] | ||
Put the all the mandatory fields, especially the '''Attribute code''' that will be used in the next chapters | Put the all the mandatory fields, especially the '''Attribute code''' that will be used in the next chapters | ||
| Line 47: | Line 47: | ||
If you have created a Module complementary attribute, you should have that : | If you have created a Module complementary attribute, you should have that : | ||
[[File:Invoices module extrafield.png|none|thumb]] | [[File:Invoices module extrafield.png|none|thumb|link=Special:FilePath/Invoices_module_extrafield.png]] | ||
If you have created a Line complementary attribute, you should have that : | If you have created a Line complementary attribute, you should have that : | ||
| Line 164: | Line 164: | ||
$product->fetch($object->lines[$i]->fk_product); | $product->fetch($object->lines[$i]->fk_product); | ||
$extrafields_product = new ExtraFields($this->db) | $extrafields_product = new ExtraFields($this->db); | ||
$extralabels_product = $extrafields_product->fetch_name_optionals_label($product->table_element); | $extralabels_product = $extrafields_product->fetch_name_optionals_label($product->table_element); | ||
| Line 186: | Line 186: | ||
=Manage the Position of the extrafield in the pdf= | |||
To change the position on the PDF work on : | |||
*Manage horizontal position $this->posxdesc-1 / $this->posxdesc+1 | *Manage horizontal position $this->posxdesc-1 / $this->posxdesc+1 | ||
*Manage vertical position $tab_top-1 / $tab_top+1 | *Manage vertical position $tab_top-1 / $tab_top+1 | ||
edits