Customize the new template. In file pdf_propale_mycompanyblue.modules.php, search for function
+
Customize the new template. In file pdf_propale_mycompanyblue.modules.php, look for the function '_pagehead()' function. It is the function that manages the display of the header.
−
'Function _pagehead (&$pdf, $fac)'. This defines the header.
+
Look for the '_pagefooter()' function. It is the function that manages the display of the footer.
+
Look for the 'write_file()' function. It is the function that manages the display of the body of PDF.
+
+
chercher la fonction '_pagehead()'. C'est elle qui gère l'affichage de l'entête.
+
Chercher la fonction '_pagefooter()'. C'est elle qui gère l'affichage du pied de page.
+
Chercher la fonction 'write_file()'. C'est elle qui affiche le corps du PDF.
Line 124:
Line 129:
*http://www.fpdf.org/?lang=en
*http://www.fpdf.org/?lang=en
*List of TCPDF's methods: tcpdf.org/doc/code/classTCPDF.html
*List of TCPDF's methods: tcpdf.org/doc/code/classTCPDF.html