From: Janusz Dobrowolski Date: Tue, 11 May 2010 11:55:11 +0000 (+0000) Subject: Contact categories support added. X-Git-Tag: v2.4.2~19^2~882 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=d295c600eb88fd3100b99ef1968ea6d2738097ef;hp=bd3023c1b5e64429043358a691b3aae20eb54c09;p=fa-stable.git Contact categories support added. --- diff --git a/includes/access_levels.inc b/includes/access_levels.inc index 797f374e..709e46f3 100644 --- a/includes/access_levels.inc +++ b/includes/access_levels.inc @@ -110,6 +110,7 @@ $security_areas =array( 'SA_INVENTORYMOVETYPE' => array(SS_SETUP|11, _("Inventory movement types")), 'SA_WORKCENTRES' => array(SS_SETUP|12, _("Manufacture work centres")), 'SA_FORMSETUP' => array(SS_SETUP|13, _("Forms setup")), + 'SA_CRMCATEGORY' => array(SS_SETUP|14, _("Contact categories")), // // Special and common functions // @@ -298,7 +299,7 @@ function get_access_extensions($id) { $security_sections = $security_areas = array(); if (isset($ext['acc_file'])) - include($path_to_root.($ext['type'] == 'plugin' ? '/modules/':'/').$ext['path'].'/'.$ext['acc_file']); + include($path_to_root.($ext['type'] == 'plugin' ? '/modules/':'/').$ext['path'].'/'.$ext['acc_file']); return array($security_areas, $security_sections); } diff --git a/includes/sysnames.inc b/includes/sysnames.inc index 70531108..a60c6c94 100644 --- a/includes/sysnames.inc +++ b/includes/sysnames.inc @@ -139,4 +139,13 @@ $tag_types = array ( TAG_DIMENSION => _("Dimension") ); +//---------------------------------------------------------------------------------- +// crm contacts categories +$sys_crm_cats = array ( + 'cust_branch' => _("Customer branch"), + 'supplier' => _("Supplier"), + 'shipper' => _("Shipper"), + 'company' => _("Company internal") +); + ?> \ No newline at end of file