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,

Re: change header in report ...!!

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

Re: change header in report ...!!

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.

www.boxygen.pk

4 (edited by apmuthu 03/03/2015 01:36:25 pm)

Re: change header in report ...!!

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.