13-Jul-2009 Joe Hunt
+ Added Audit Trail Report
-$ /reporting/rep710.php
+$ /reporting/rep710.php (new file)
$ /reporting/reports_main.php
! Changed so $page_security works with reports (displays an error message on top)
$ /reporting/includes/pdf_report.inc
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
***********************************************************************/
-$page_security = 8;
include_once($path_to_root . "/reporting/includes/Workbook.php");
include_once($path_to_root . "/admin/db/company_db.inc");
include_once($path_to_root . "/config.php");
global $comp_path, $dateseps, $page_security;
if (!$_SESSION["wa_current_user"]->can_access_page($page_security))
{
- display_error(_("The security settings on your account do not permit you to access this function"));
+ display_error(_("The security settings on your account do not permit you to print this report"));
end_page();
exit;
}
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
***********************************************************************/
-$page_security = 8;
//include_once($path_to_root . "reporting/includes/class.pdf.inc");
include_once(dirname(__FILE__)."/class.pdf.inc");
include_once(dirname(__FILE__)."/printer_class.inc");
global $page_security;
if (!$_SESSION["wa_current_user"]->can_access_page($page_security))
{
- display_error(_("The security settings on your account do not permit you to access this function"));
+ display_error(_("The security settings on your account do not permit you to print this report"));
end_page();
exit;
}