Bug 5009: Page # on invoices counts up across invoices. Fixed for all documents.
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Mon, 28 Oct 2019 08:44:33 +0000 (09:44 +0100)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Mon, 28 Oct 2019 08:44:33 +0000 (09:44 +0100)
reporting/includes/pdf_report.inc

index c731f6150d5d88df78594125e425a9b877d7b41d..29f6a5bbd733e41ba2a47f831efe9763e821f36f 100644 (file)
@@ -389,7 +389,7 @@ class FrontReport extends Cpdf
        */
        function SetCommonData($myrow, $branch, $sales_order, $bankaccount, $doctype, $contacts)
        {
-
+               $this->pageNumber = 0;
                $this->formData = array();
                $datnames = array( 
                'myrow' => array('ord_date', 'date_', 'tran_date',