diff --git a/system/lan/english/common.lan.php b/system/lan/english/common.lan.php index a72756a0..0608b1c7 100644 --- a/system/lan/english/common.lan.php +++ b/system/lan/english/common.lan.php @@ -332,3 +332,16 @@ $_L['Your_account_not_connected_to_internet'] = 'Your account not connected to i $_L['Failed_to_create_transaction_'] = 'Failed to create transaction. '; $_L['Failed_to_check_status_transaction_'] = 'Failed to check status transaction. '; $_L['Disable_Voucher'] = 'Disable Voucher'; +$_L['Balance'] = 'Balance'; +$_L['Balance_System'] = 'Balance System'; +$_L['Enable_System'] = 'Enable System'; +$_L['Allow_Transfer'] = 'Allow Transfer'; +$_L['Telegram_Notification'] = 'Telegram Notification'; +$_L['SMS_OTP_Registration'] = 'SMS OTP Registration'; +$_L['Whatsapp_Notification'] = 'Whatsapp Notification'; +$_L['Tawkto_Chat_Widget'] = 'Tawk.to Chat Widget'; +$_L['Invoice'] = 'Invoice'; +$_L['Country_Code_Phone'] = 'Country Code Phone'; +$_L['Voucher_activation_menu_will_be_hidden'] = 'Voucher activation menu will be hidden'; +$_L['Customer_can_deposit_money_to_buy_voucher'] = 'Customer can deposit money to buy voucher'; +$_L['Allow_balance_transfer_between_customers'] = 'Allow balance transfer between customers'; diff --git a/system/lan/indonesia/common.lan.php b/system/lan/indonesia/common.lan.php index aeaafba2..8a197d45 100644 --- a/system/lan/indonesia/common.lan.php +++ b/system/lan/indonesia/common.lan.php @@ -325,3 +325,16 @@ $_L['Not_Online_Login_now'] = 'Internet mati, Nyalakan?'; $_L['You_are_Online_Logout'] = 'Internet hidup, Putuskan?'; $_L['Connect_to_Internet'] = 'Koneksikan internet?'; $_L['Your_account_not_connected_to_internet'] = 'Akun tidak terkoneksi dengan internet'; +$_L['Balance'] = 'Saldo'; +$_L['Balance_System'] = 'Sistem Saldo'; +$_L['Enable_System'] = 'Aktifkan Saldo'; +$_L['Allow_Transfer'] = 'Bolehkan Transfer'; +$_L['Telegram_Notification'] = 'Telegram Notification'; +$_L['SMS_OTP_Registration'] = 'SMS OTP Registration'; +$_L['Whatsapp_Notification'] = 'Whatsapp Notification'; +$_L['Tawkto_Chat_Widget'] = 'Tawk.to Chat Widget'; +$_L['Invoice'] = 'Invoice'; +$_L['Country_Code_Phone'] = 'Kode Negara Telepon'; +$_L['Voucher_activation_menu_will_be_hidden'] = 'Info Pembelian Voucher dan Redeem akan disembunyikan'; +$_L['Customer_can_deposit_money_to_buy_voucher'] = 'Pelanggan dapat topup saldo untuk langganan Internet'; +$_L['Allow_balance_transfer_between_customers'] = 'Bolehkan transfer saldo antar pelanggan'; diff --git a/system/lan/spanish/common.lan.php b/system/lan/spanish/common.lan.php index 661fb5dc..ec13dfd0 100644 --- a/system/lan/spanish/common.lan.php +++ b/system/lan/spanish/common.lan.php @@ -328,6 +328,16 @@ $_L['Not_Online_Login_now'] = 'Not Online, Login now?'; $_L['You_are_Online_Logout'] = 'You are Online, Logout?'; $_L['Connect_to_Internet'] = 'Connect to Internet?'; $_L['Your_account_not_connected_to_internet'] = 'Your account not connected to internet'; - - - +$_L['Balance'] = 'Balance'; +$_L['Balance_System'] = 'Balance System'; +$_L['Enable_System'] = 'Enable System'; +$_L['Allow_Transfer'] = 'Allow Transfer'; +$_L['Telegram_Notification'] = 'Telegram Notification'; +$_L['SMS_OTP_Registration'] = 'SMS OTP Registration'; +$_L['Whatsapp_Notification'] = 'Whatsapp Notification'; +$_L['Tawkto_Chat_Widget'] = 'Tawk.to Chat Widget'; +$_L['Invoice'] = 'Invoice'; +$_L['Country_Code_Phone'] = 'Country Code Phone'; +$_L['Voucher_activation_menu_will_be_hidden'] = 'Voucher activation menu will be hidden'; +$_L['Customer_can_deposit_money_to_buy_voucher'] = 'Customer can deposit money to buy voucher'; +$_L['Allow_balance_transfer_between_customers'] = 'Allow balance transfer between customers'; \ No newline at end of file diff --git a/system/lan/turkish/common.lan.php b/system/lan/turkish/common.lan.php index ef852b7c..c21d9b8b 100755 --- a/system/lan/turkish/common.lan.php +++ b/system/lan/turkish/common.lan.php @@ -304,3 +304,16 @@ $_L['Not_Online_Login_now'] = 'Not Online, Login now?'; $_L['You_are_Online_Logout'] = 'You are Online, Logout?'; $_L['Connect_to_Internet'] = 'Connect to Internet?'; $_L['Your_account_not_connected_to_internet'] = 'Your account not connected to internet'; +$_L['Balance'] = 'Balance'; +$_L['Balance_System'] = 'Balance System'; +$_L['Enable_System'] = 'Enable System'; +$_L['Allow_Transfer'] = 'Allow Transfer'; +$_L['Telegram_Notification'] = 'Telegram Notification'; +$_L['SMS_OTP_Registration'] = 'SMS OTP Registration'; +$_L['Whatsapp_Notification'] = 'Whatsapp Notification'; +$_L['Tawkto_Chat_Widget'] = 'Tawk.to Chat Widget'; +$_L['Invoice'] = 'Invoice'; +$_L['Country_Code_Phone'] = 'Country Code Phone'; +$_L['Voucher_activation_menu_will_be_hidden'] = 'Voucher activation menu will be hidden'; +$_L['Customer_can_deposit_money_to_buy_voucher'] = 'Customer can deposit money to buy voucher'; +$_L['Allow_balance_transfer_between_customers'] = 'Allow balance transfer between customers'; \ No newline at end of file diff --git a/system/updates.json b/system/updates.json new file mode 100644 index 00000000..9770a173 --- /dev/null +++ b/system/updates.json @@ -0,0 +1,8 @@ +{ + "2023.8.9": [ + "ALTER TABLE `tbl_customers` ADD `balance` decimal(15,2) NOT NULL COMMENT 'For Money Deposit' AFTER `email`;", + "CREATE TABLE `tbl_customers_meta` (`id` int(11) NOT NULL, `customer_id` int(11) NOT NULL,`meta_key` varchar(64) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '', `meta_value` longtext COLLATE utf8mb4_general_ci) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;", + "ALTER TABLE `tbl_customers_meta` ADD PRIMARY KEY (`id`);", + "ALTER TABLE `tbl_customers_meta` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;" + ] +} \ No newline at end of file diff --git a/ui/ui/app-settings.tpl b/ui/ui/app-settings.tpl index 4a9131d7..08d66f28 100644 --- a/ui/ui/app-settings.tpl +++ b/ui/ui/app-settings.tpl @@ -71,7 +71,7 @@ -
Voucher activation menu will be hidden
+{Lang::T('Voucher activation menu will be hidden')}
@@ -92,7 +92,7 @@ -Customer can deposit money to buy voucher
+{Lang::T('Customer can deposit money to buy voucher')}
Allow balance transfer between customers
+{Lang::T('Allow balance transfer between customers')}