session->get('person_id');
show_report_if_allowed('detailed', 'sales', $person_id);
show_report_if_allowed('detailed', 'receivings', $person_id);
show_report_if_allowed('specific', 'customer', $person_id, 'reports_customers');
show_report_if_allowed('specific', 'discount', $person_id, 'reports_discounts');
show_report_if_allowed('specific', 'employee', $person_id, 'reports_employees');
show_report_if_allowed('specific', 'supplier', $person_id, 'reports_suppliers');
?>
has_grant('reports_inventory', $this->session->get('person_id')))
{
?>