Topic: How to Hide Reports

Through any extension we can add reports to the Report Class using

$reports->addReport() function.

My question is that is it possible to remove reports from the report class through any given extension. The idea is that sometimes all reports are not important for every one so while creating extension can we hide unwanted reports from the Report Class?

Thanks in advance.

www.boxygen.pk

Re: How to Hide Reports

I got it

unset ($reports->ar_reports [RC_CUSTOMER][102]);

will do this.

www.boxygen.pk

Re: How to Hide Reports

Try to remove some tabs too.....

Re: How to Hide Reports

You mean to hide Reports Tabs?

www.boxygen.pk

Re: How to Hide Reports

No, just see if you can hide the Sales tab from one of your extensions and make it persist....