CMXX - Improved whereclause
This commit is contained in:
@@ -12,7 +12,7 @@ $main_menu = array ('dashboard','sales','buildtool','cartests','marketing','equi
|
||||
|
||||
//Sub menus
|
||||
$equipments_sub = array('equipments','servicereports','rmas','histories','firmwaretool','equipments_mass_update');
|
||||
$sales_sub = array('accounts','contracts','catalog');
|
||||
$sales_sub = array('accounts','contracts','catalog','orders');
|
||||
$products_sub = array('products','products_attributes','pricelists');
|
||||
$admin_sub = array('users','categories','discounts','shipping','communications','partners','media');
|
||||
$reporting_sub = array('report_build','report_contracts_billing','report_healthindex','report_usage');
|
||||
@@ -98,6 +98,12 @@ $urls = array(
|
||||
"icon" => "fas fa-tachometer-alt",
|
||||
"name" => "menu_sales_contracts"
|
||||
),
|
||||
"orders" => array(
|
||||
"url" => "orders",
|
||||
"selected" => "orders",
|
||||
"icon" => "fas fa-tachometer-alt",
|
||||
"name" => "menu_sales_orders"
|
||||
),
|
||||
"admin" => array(
|
||||
"url" => "partners",
|
||||
"selected" => "partners",
|
||||
@@ -286,6 +292,7 @@ $supportedModifiers = ["0" =>"subtract", "1"=>"add"];
|
||||
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
$all_profiles = [
|
||||
"build",
|
||||
"commerce",
|
||||
"distribution",
|
||||
"firmware",
|
||||
"garage",
|
||||
|
||||
@@ -6,9 +6,11 @@ define('superuser_profile','dashboard,profile,assets,equipments,equipment,equipm
|
||||
/*Admin*/
|
||||
define('admin_profile','dashboard,profile,buildtool,sales,accounts,account,contracts,contract,contract_manage,cartests,cartest,cartest_manage,assets,equipments,equipment,equipment_healthindex,equipment_data,equipment_manage,equipment_manage_edit,equipments_mass_update,histories,history,history_manage,firmwaretool,rmas,rma,rma_manage,rma_history,rma_history_manage,buildtool,products,products_versions,products_software,product,product_manage,servicereports,servicereport,admin,partners,partner,users,user,user_manage,communications,communication,communication_send,marketing,reporting,report_build,report_contracts_billing,report_healthindex,changelog,application');
|
||||
/*AdminPlus*/
|
||||
define('adminplus_profile','dashboard,profile,buildtool,sales,accounts,account,contracts,contract,contract_manage,billing,cartests,cartest,cartest_manage,assets,equipments,equipment,equipment_healthindex,equipment_data,equipment_manage,equipment_manage_edit,equipments_mass_update,histories,history,history_manage,firmwaretool,rmas,rma,rma_manage,rma_history,rma_history_manage,buildtool,products,products_versions,products_software,products_attributes,products_attributes_items,products_attributes_manage,products_configurations,products_categories,products_media,product,product_manage,pricelists,pricelists_items,pricelists_manage,catalog,categories,category,discounts,discount,shipping,shipping_manage,servicereports,servicereport,admin,partners,partner,users,user,user_manage,communications,communication,communication_send,marketing,reporting,report_build,report_contracts_billing,report_healthindex,report_usage,config,settings,logfile,changelog,language,translations,translations_details,translation_manage,media,media_manage,application,maintenance,profiles,vin,shopping_cart,checkout,placeorder,taxes,transactions,transactions_items,invoice');
|
||||
define('adminplus_profile','dashboard,profile,buildtool,sales,accounts,account,contracts,contract,contract_manage,billing,cartests,cartest,cartest_manage,assets,equipments,equipment,equipment_healthindex,equipment_data,equipment_manage,equipment_manage_edit,equipments_mass_update,histories,history,history_manage,firmwaretool,rmas,rma,rma_manage,rma_history,rma_history_manage,buildtool,products,products_versions,products_software,products_attributes,products_attributes_items,products_attributes_manage,products_configurations,products_categories,products_media,product,product_manage,pricelists,pricelists_items,pricelists_manage,catalog,categories,category,discounts,discount,shipping,shipping_manage,servicereports,servicereport,admin,partners,partner,users,user,user_manage,communications,communication,communication_send,marketing,reporting,report_build,report_contracts_billing,report_healthindex,report_usage,config,settings,logfile,changelog,language,translations,translations_details,translation_manage,media,media_manage,application,maintenance,profiles,vin,shopping_cart,checkout,placeorder,taxes,transactions,transactions_items,invoice,order,orders');
|
||||
/*Build*/
|
||||
define('build','dashboard,profile,buildtool,firmwaretool,buildtool,products_software,application');
|
||||
/*Commerce*/
|
||||
define('commerce','dashboard,profile,assets,equipments,equipment,equipment_manage,equipment_manage_edit,equipments_mass_update,histories,history,history_manage,firmwaretool,products,products_versions,products_software,product,product_manage,servicereports,servicereport,admin,partners,partner,users,user,user_manage,marketing,application');
|
||||
/*Distribution*/
|
||||
define('distribution','dashboard,profile,assets,equipments,equipment,equipment_manage,equipment_manage_edit,equipments_mass_update,histories,history,history_manage,firmwaretool,products,products_versions,products_software,product,product_manage,servicereports,servicereport,admin,partners,partner,users,user,user_manage,marketing,application');
|
||||
/*Firmware*/
|
||||
|
||||
@@ -93,7 +93,9 @@ $all_views = [
|
||||
"taxes",
|
||||
"transactions",
|
||||
"transactions_items",
|
||||
"invoice"
|
||||
"invoice",
|
||||
"order",
|
||||
"orders"
|
||||
];
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user