mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-05-24 08:20:54 -04:00
Move Office Icons to the right (#1624)
This commit is contained in:
@@ -101,3 +101,14 @@ ALTER TABLE `ospos_items`
|
||||
DELETE FROM `ospos_modules` WHERE `ospos_modules`.`module_id` = 'migrate';
|
||||
DELETE FROM `ospos_permissions` WHERE `ospos_permissions`.`permission_id` = 'migrate';
|
||||
DELETE FROM `ospos_grants` WHERE `ospos_grants`.`permission_id` = 'migrate' AND `ospos_grants`.`person_id` = 1;
|
||||
|
||||
|
||||
-- Move Office Module to Right side of Modules list
|
||||
|
||||
UPDATE `ospos_modules`
|
||||
SET `sort` = 999
|
||||
WHERE `name_lang_key` = 'module_office';
|
||||
|
||||
UPDATE `ospos_modules`
|
||||
SET `sort` = 98
|
||||
WHERE `name_lang_key` = 'module_messages';
|
||||
|
||||
@@ -97,7 +97,7 @@ class Module extends CI_Model
|
||||
{
|
||||
if($show_office_group)
|
||||
{
|
||||
$sort = 1;
|
||||
$sort = 999;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -365,8 +365,8 @@ INSERT INTO `ospos_modules` (`name_lang_key`, `desc_lang_key`, `sort`, `module_i
|
||||
('module_home', 'module_home_desc', 1, 'home'),
|
||||
('module_items', 'module_items_desc', 20, 'items'),
|
||||
('module_item_kits', 'module_item_kits_desc', 30, 'item_kits'),
|
||||
('module_messages', 'module_messages_desc', 100, 'messages'),
|
||||
('module_office', 'module_office_desc', 1, 'office'),
|
||||
('module_messages', 'module_messages_desc', 98, 'messages'),
|
||||
('module_office', 'module_office_desc', 999, 'office'),
|
||||
('module_receivings', 'module_receivings_desc', 60, 'receivings'),
|
||||
('module_reports', 'module_reports_desc', 50, 'reports'),
|
||||
('module_sales', 'module_sales_desc', 70, 'sales'),
|
||||
|
||||
@@ -365,8 +365,8 @@ INSERT INTO `ospos_modules` (`name_lang_key`, `desc_lang_key`, `sort`, `module_i
|
||||
('module_home', 'module_home_desc', 1, 'home'),
|
||||
('module_items', 'module_items_desc', 20, 'items'),
|
||||
('module_item_kits', 'module_item_kits_desc', 30, 'item_kits'),
|
||||
('module_messages', 'module_messages_desc', 100, 'messages'),
|
||||
('module_office', 'module_office_desc', 1, 'office'),
|
||||
('module_messages', 'module_messages_desc', 98, 'messages'),
|
||||
('module_office', 'module_office_desc', 999, 'office'),
|
||||
('module_receivings', 'module_receivings_desc', 60, 'receivings'),
|
||||
('module_reports', 'module_reports_desc', 50, 'reports'),
|
||||
('module_sales', 'module_sales_desc', 70, 'sales'),
|
||||
|
||||
@@ -365,8 +365,8 @@ INSERT INTO `ospos_modules` (`name_lang_key`, `desc_lang_key`, `sort`, `module_i
|
||||
('module_home', 'module_home_desc', 1, 'home'),
|
||||
('module_items', 'module_items_desc', 20, 'items'),
|
||||
('module_item_kits', 'module_item_kits_desc', 30, 'item_kits'),
|
||||
('module_messages', 'module_messages_desc', 100, 'messages'),
|
||||
('module_office', 'module_office_desc', 1, 'office'),
|
||||
('module_messages', 'module_messages_desc', 98, 'messages'),
|
||||
('module_office', 'module_office_desc', 999, 'office'),
|
||||
('module_receivings', 'module_receivings_desc', 60, 'receivings'),
|
||||
('module_reports', 'module_reports_desc', 50, 'reports'),
|
||||
('module_sales', 'module_sales_desc', 70, 'sales'),
|
||||
|
||||
Reference in New Issue
Block a user