Default widget for agent and sales
This commit is contained in:
parent
9b331813d1
commit
6cd46cdf7c
@ -410,22 +410,47 @@ VALUES (
|
||||
'2014-06-23 01:43:07'
|
||||
);
|
||||
|
||||
INSERT INTO `tbl_widgets` (`id`, `orders`, `position`, `enabled`, `title`, `widget`, `content`) VALUES
|
||||
(1, 1, 1, 1, 'Top Widget', 'top_widget', ''),
|
||||
(2, 2, 1, 1, 'Default Info', 'default_info_row', ''),
|
||||
(3, 1, 2, 1, 'Graph Monthly Registered Customers', 'graph_monthly_registered_customers', ''),
|
||||
(4, 2, 2, 1, 'Graph Monthly Sales', 'graph_monthly_sales', ''),
|
||||
(5, 3, 2, 1, 'Voucher Stocks', 'voucher_stocks', ''),
|
||||
(6, 4, 2, 1, 'Customer Expired', 'customer_expired', ''),
|
||||
(7, 1, 3, 1, 'Cron Monitor', 'cron_monitor', ''),
|
||||
(8, 2, 3, 1, 'Mikrotik Cron Monitor', 'mikrotik_cron_monitor', ''),
|
||||
(9, 3, 3, 1, 'Info Payment Gateway', 'info_payment_gateway', ''),
|
||||
(10, 4, 3, 1, 'Graph Customers Insight', 'graph_customers_insight', ''),
|
||||
(11, 5, 3, 1, 'Activity Log', 'activity_log', ''),
|
||||
(50, 1, 2, 'Customer', 1, 'Account Info', 'account_info', ''),
|
||||
(51, 3, 1, 'Customer', 1, 'Active Internet Plan', 'active_internet_plan', ''),
|
||||
(52, 4, 1, 'Customer', 1, 'Balance Transfer', 'balance_transfer', ''),
|
||||
(53, 1, 1, 'Customer', 1, 'Unpaid Order', 'unpaid_order', ''),
|
||||
(55, 2, 1, 'Customer', 1, 'Announcement', 'announcement', ''),
|
||||
(56, 5, 1, 'Customer', 1, 'Recharge A Friend', 'recharge_a_friend', ''),
|
||||
(57, 2, 2, 'Customer', 1, 'Voucher Activation', 'voucher_activation', '');
|
||||
INSERT INTO `tbl_widgets` (`id`, `orders`, `position`, `user`, `enabled`, `title`, `widget`, `content`) VALUES
|
||||
(1, 1, 1, 'Admin', 1, 'Top Widget', 'top_widget', ''),
|
||||
(2, 2, 1, 'Admin', 1, 'Default Info', 'default_info_row', ''),
|
||||
(3, 1, 2, 'Admin', 1, 'Graph Monthly Registered Customers', 'graph_monthly_registered_customers', ''),
|
||||
(4, 2, 2, 'Admin', 1, 'Graph Monthly Sales', 'graph_monthly_sales', ''),
|
||||
(5, 3, 2, 'Admin', 1, 'Voucher Stocks', 'voucher_stocks', ''),
|
||||
(6, 4, 2, 'Admin', 1, 'Customer Expired', 'customer_expired', ''),
|
||||
(7, 1, 3, 'Admin', 1, 'Cron Monitor', 'cron_monitor', ''),
|
||||
(8, 2, 3, 'Admin', 1, 'Mikrotik Cron Monitor', 'mikrotik_cron_monitor', ''),
|
||||
(9, 3, 3, 'Admin', 1, 'Info Payment Gateway', 'info_payment_gateway', ''),
|
||||
(10, 4, 3, 'Admin', 1, 'Graph Customers Insight', 'graph_customers_insight', ''),
|
||||
(11, 5, 3, 'Admin', 1, 'Activity Log', 'activity_log', ''),
|
||||
|
||||
(30, 1, 1, 'Agent', 1, 'Top Widget', 'top_widget', ''),
|
||||
(31, 2, 1, 'Agent', 1, 'Default Info', 'default_info_row', ''),
|
||||
(32, 1, 2, 'Agent', 1, 'Graph Monthly Registered Customers', 'graph_monthly_registered_customers', ''),
|
||||
(33, 2, 2, 'Agent', 1, 'Graph Monthly Sales', 'graph_monthly_sales', ''),
|
||||
(34, 3, 2, 'Agent', 1, 'Voucher Stocks', 'voucher_stocks', ''),
|
||||
(35, 4, 2, 'Agent', 1, 'Customer Expired', 'customer_expired', ''),
|
||||
(36, 1, 3, 'Agent', 1, 'Cron Monitor', 'cron_monitor', ''),
|
||||
(37, 2, 3, 'Agent', 1, 'Mikrotik Cron Monitor', 'mikrotik_cron_monitor', ''),
|
||||
(38, 3, 3, 'Agent', 1, 'Info Payment Gateway', 'info_payment_gateway', ''),
|
||||
(39, 4, 3, 'Agent', 1, 'Graph Customers Insight', 'graph_customers_insight', ''),
|
||||
(40, 5, 3, 'Agent', 1, 'Activity Log', 'activity_log', ''),
|
||||
|
||||
(41, 1, 1, 'Sales', 1, 'Top Widget', 'top_widget', ''),
|
||||
(42, 2, 1, 'Sales', 1, 'Default Info', 'default_info_row', ''),
|
||||
(43, 1, 2, 'Sales', 1, 'Graph Monthly Registered Customers', 'graph_monthly_registered_customers', ''),
|
||||
(44, 2, 2, 'Sales', 1, 'Graph Monthly Sales', 'graph_monthly_sales', ''),
|
||||
(45, 3, 2, 'Sales', 1, 'Voucher Stocks', 'voucher_stocks', ''),
|
||||
(46, 4, 2, 'Sales', 1, 'Customer Expired', 'customer_expired', ''),
|
||||
(47, 1, 3, 'Sales', 1, 'Cron Monitor', 'cron_monitor', ''),
|
||||
(48, 2, 3, 'Sales', 1, 'Mikrotik Cron Monitor', 'mikrotik_cron_monitor', ''),
|
||||
(49, 3, 3, 'Sales', 1, 'Info Payment Gateway', 'info_payment_gateway', ''),
|
||||
(50, 4, 3, 'Sales', 1, 'Graph Customers Insight', 'graph_customers_insight', ''),
|
||||
(51, 5, 3, 'Sales', 1, 'Activity Log', 'activity_log', ''),
|
||||
|
||||
(60, 1, 2, 'Customer', 1, 'Account Info', 'account_info', ''),
|
||||
(61, 3, 1, 'Customer', 1, 'Active Internet Plan', 'active_internet_plan', ''),
|
||||
(62, 4, 1, 'Customer', 1, 'Balance Transfer', 'balance_transfer', ''),
|
||||
(63, 1, 1, 'Customer', 1, 'Unpaid Order', 'unpaid_order', ''),
|
||||
(64, 2, 1, 'Customer', 1, 'Announcement', 'announcement', ''),
|
||||
(65, 5, 1, 'Customer', 1, 'Recharge A Friend', 'recharge_a_friend', ''),
|
||||
(66, 2, 2, 'Customer', 1, 'Voucher Activation', 'voucher_activation', '');
|
@ -1054,5 +1054,6 @@
|
||||
"Read_documentation": "Read documentation",
|
||||
"Structure": "Structure",
|
||||
"Dashboard_Widgets": "Dashboard Widgets",
|
||||
"User": "User"
|
||||
"User": "User",
|
||||
"Save_sequence": "Save sequence"
|
||||
}
|
@ -198,6 +198,10 @@
|
||||
"ALTER TABLE `tbl_widgets` ADD `user` ENUM('Admin','Agent','Sales','Customer') NOT NULL DEFAULT 'Admin' AFTER `position`;"
|
||||
],
|
||||
"2025.2.21" : [
|
||||
"INSERT INTO `tbl_widgets` (`id`, `orders`, `position`, `user`, `enabled`, `title`, `widget`, `content`) VALUES (50, 1, 2, 'Customer', 1, 'Account Info', 'account_info', ''),(51, 3, 1, 'Customer', 1, 'Active Internet Plan', 'active_internet_plan', ''),(52, 4, 1, 'Customer', 1, 'Balance Transfer', 'balance_transfer', ''),(53, 1, 1, 'Customer', 1, 'Unpaid Order', 'unpaid_order', ''),(55, 2, 1, 'Customer', 1, 'Announcement', 'announcement', ''),(56, 5, 1, 'Customer', 1, 'Recharge A Friend', 'recharge_a_friend', ''),(57, 2, 2, 'Customer', 1, 'Voucher Activation', 'voucher_activation', '');"
|
||||
"INSERT INTO `tbl_widgets` (`id`, `orders`, `position`, `user`, `enabled`, `title`, `widget`, `content`) VALUES (60, 1, 2, 'Customer', 1, 'Account Info', 'account_info', ''),(61, 3, 1, 'Customer', 1, 'Active Internet Plan', 'active_internet_plan', ''),(62, 4, 1, 'Customer', 1, 'Balance Transfer', 'balance_transfer', ''),(63, 1, 1, 'Customer', 1, 'Unpaid Order', 'unpaid_order', ''),(64, 2, 1, 'Customer', 1, 'Announcement', 'announcement', ''),(65, 5, 1, 'Customer', 1, 'Recharge A Friend', 'recharge_a_friend', ''),(66, 2, 2, 'Customer', 1, 'Voucher Activation', 'voucher_activation', '');"
|
||||
],
|
||||
"2025.2.25" : [
|
||||
"INSERT INTO `tbl_widgets` (`id`, `orders`, `position`, `user`, `enabled`, `title`, `widget`, `content`) VALUES (30, 1, 1, 'Agent', 1, 'Top Widget', 'top_widget', ''), (31, 2, 1, 'Agent', 1, 'Default Info', 'default_info_row', ''), (32, 1, 2, 'Agent', 1, 'Graph Monthly Registered Customers', 'graph_monthly_registered_customers', ''), (33, 2, 2, 'Agent', 1, 'Graph Monthly Sales', 'graph_monthly_sales', ''), (34, 3, 2, 'Agent', 1, 'Voucher Stocks', 'voucher_stocks', ''), (35, 4, 2, 'Agent', 1, 'Customer Expired', 'customer_expired', ''), (36, 1, 3, 'Agent', 1, 'Cron Monitor', 'cron_monitor', ''), (37, 2, 3, 'Agent', 1, 'Mikrotik Cron Monitor', 'mikrotik_cron_monitor', ''), (38, 3, 3, 'Agent', 1, 'Info Payment Gateway', 'info_payment_gateway', ''), (39, 4, 3, 'Agent', 1, 'Graph Customers Insight', 'graph_customers_insight', ''),(40, 5, 3, 'Agent', 1, 'Activity Log', 'activity_log', '');",
|
||||
"INSERT INTO `tbl_widgets` (`id`, `orders`, `position`, `user`, `enabled`, `title`, `widget`, `content`) VALUES (41, 1, 1, 'Sales', 1, 'Top Widget', 'top_widget', ''), (42, 2, 1, 'Sales', 1, 'Default Info', 'default_info_row', ''), (43, 1, 2, 'Sales', 1, 'Graph Monthly Registered Customers', 'graph_monthly_registered_customers', ''), (44, 2, 2, 'Sales', 1, 'Graph Monthly Sales', 'graph_monthly_sales', ''), (45, 3, 2, 'Sales', 1, 'Voucher Stocks', 'voucher_stocks', ''), (46, 4, 2, 'Sales', 1, 'Customer Expired', 'customer_expired', ''), (47, 1, 3, 'Sales', 1, 'Cron Monitor', 'cron_monitor', ''), (48, 2, 3, 'Sales', 1, 'Mikrotik Cron Monitor', 'mikrotik_cron_monitor', ''), (49, 3, 3, 'Sales', 1, 'Info Payment Gateway', 'info_payment_gateway', ''), (50, 4, 3, 'Sales', 1, 'Graph Customers Insight', 'graph_customers_insight', ''), (51, 5, 3, 'Sales', 1, 'Activity Log', 'activity_log', '');"
|
||||
]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user