sql default widget for customer

This commit is contained in:
iBNu Maksum 2025-02-21 16:00:28 +07:00
parent da86f2c422
commit 9163f02717
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5
2 changed files with 11 additions and 1 deletions

View File

@ -421,4 +421,11 @@ INSERT INTO `tbl_widgets` (`id`, `orders`, `position`, `enabled`, `title`, `widg
(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', '');
(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', '');

View File

@ -196,5 +196,8 @@
],
"2025.2.19" : [
"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', '');"
]
}