Topic: Add a page to sales order (rep109.php)
dear masters,
I need to add a page at the bottom of the sales order called a tax invoice.
I tried (in rep109.php) adding a line:
// START my modification
$rep->NewPage();
/*
here i want to write predefined html report here
*/
// END my modification
before the end of the script, exactly above
if ($ email == 1)
{
$ rep-> End ($ email);
}
}
if ($ email == 0)
$ rep-> End ();
the result is that there is a new page with the same format with the sales order,
but I want to create a new page with a blank format because I haven't write any script yet.
is there anyone that can give me guidance on how to realize my purpose.
I wonder if the functions used to create a report on the FA is wrapped tcpdf. is it true?
-jojo-