diff --git a/install/phpnuxbill.sql b/install/phpnuxbill.sql index a4c3c6ea..28506bc6 100644 --- a/install/phpnuxbill.sql +++ b/install/phpnuxbill.sql @@ -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', ''); \ No newline at end of file +(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', ''); \ No newline at end of file diff --git a/system/updates.json b/system/updates.json index 5dfe0328..0180f2cd 100644 --- a/system/updates.json +++ b/system/updates.json @@ -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', '');" ] } \ No newline at end of file