I have crated a copy of pdf_muscadet.modules.php in the same folder named pdf_order2sup.modules.php. There is one line modified
so on the header we have the document addresed to a supplier not to a customer.
This module easily connected following this (http://wiki.dolibarr.org/index.php/Create_a_PDF_document_template)
Also made a minor modification to pdf.lib.php.
Several lines modified in function pdf_getlinedesc in order to place suppliers code in a new line right after product description. Hope this not create any problems to any other areas.
↧