Topic: change header in report ...!!
Hi all
i need to edit header in receipt trans
i start editing header2.inc but its change the header of all report in the system with new custom report
how can i fix this problem
Thanks,
It's much more fun, when you can discuss your problems with others...
You are not logged in. Please login or register.
FrontAccounting forum → Reporting → change header in report ...!!
Hi all
i need to edit header in receipt trans
i start editing header2.inc but its change the header of all report in the system with new custom report
how can i fix this problem
Thanks,
Copy it and rename it 'header3.inc' for example then change which header to use in the report itself.
In the report you should have somewhere
$rep->SetHeaderType('Header2')
change it to 'Header3'
/Elax
Hello Elax. I tried the same but it didn't work for me. I simply created a duplicate of header2.inc and rename that to header3.inc but the report is showing no headers.
Copy the original reporting/includes/header2.inc to company/#/reporting/includes/header2.inc and edit the latter to suit your needs. Now place a copy of the reporting/rep112.php file (Print Receipts) into the company/#/reporting folder to have those reports alone use the new header2.inc.
FrontAccounting forum → Reporting → change header in report ...!!
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 4 official extensions. Copyright © 2003–2009 PunBB.