You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: protected/commands/UpdateMysqlCommand.php
+21Lines changed: 21 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1486,6 +1486,27 @@ public function run($args)
1486
1486
$sql = "UPDATE pkg_configuration SET config_value = '" . $version . "' WHERE config_key = 'version' ";
1487
1487
Yii::app()->db->createCommand($sql)->execute();
1488
1488
}
1489
+
1490
+
//2021-10-22
1491
+
if ($version == '7.7.6') {
1492
+
$sql = "INSERT INTO `pkg_templatemail` VALUES (NULL, '1', 'credit', 'noreply@site.com', 'VoIP', 'Crédito atual da sua cuenta VoIP ( \$credit\$\$currency\$)', '<p>Olá \$firstname\$\$lastname\$, </p> <br> <p>Seu saldo atual é de R$ \$credit\$.</p> <br> <p>Observação: Você pode desativar o recebimento deste email no seu painel de cliente.</p> <br> <p>Atenciosamente,<br>', 'br', '1');";
1493
+
$this->executeDB($sql);
1494
+
1495
+
$sql = "INSERT INTO `pkg_templatemail` VALUES (NULL, '1', 'credit', 'noreply@site.com', 'VoIP', 'Credito actual de su cuenta VoIP ( \$credit\$\$currency\$)', '<p>Hola \$firstname\$\$lastname\$, </p> <br> <p>Su credito actual es de \$credit\$.</p> <br> <p>OBS: Puedes desactivar el envio de este email en su panel de cliente.</p> <br> <p>Saludos,<br>', 'es', '1');";
1496
+
$this->executeDB($sql);
1497
+
1498
+
$sql = "INSERT INTO `pkg_templatemail` VALUES (NULL, '1', 'credit', 'noreply@site.com', 'VoIP', 'You actual credit is ( \$credit\$\$currency\$)', '<p>Hello \$firstname\$\$lastname\$, </p> <br> <p>Your credit is \$credit\$.</p> <br> <p>OBS: You can disable this email on your VoIP panel.</p> <br> <p>Atenciosamente,<br>', 'en', '1');";
1499
+
$this->executeDB($sql);
1500
+
1501
+
$sql = "ALTER TABLE `pkg_user` ADD `credit_notification_daily` INT(1) NOT NULL DEFAULT '0' AFTER `credit_notification`;";
Copy file name to clipboardExpand all lines: resources/help/help_en.js
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -489,6 +489,7 @@ You can use the button "process" to reactivate the numbers with pending status.`
489
489
'plan.play_audio': `Execute audios to the client from this plan or just send the error only? For example, the audios that theres no more credit.`,
490
490
'plan.techprefix': `Techprefix is like a password to the client, that allows the use of more plans.`,
491
491
'plan.id_service': `Select here the services that will be avaible to the users of this plan.`,
492
+
'plan.id_services': ``,
492
493
//PREFIXES
493
494
'prefix.prefix': `Prefix code. Prefix will be used to tariff and bill the calls.`,
494
495
'prefix.destination': `Destination name.`,
@@ -845,6 +846,7 @@ MagnusBilling will try to send the calls to the next trunk of the group as long
845
846
'user.transfer_show_selling_price': `This function is not avaible in Brazil. It's only used to mobile refills in some countries.`,
846
847
'user.contract_value': ``,
847
848
'user.dist': ``,
849
+
'user.credit_notification_daily': `Enable this option to customer receive daily balance notification Email. You can customize the email on Configuration menu, submenu Email Templates`,
848
850
//USER CUSTOM RATES
849
851
'userrate.id_prefix': `Select the prefix that you want to subscribe.`,
850
852
'userrate.rateinitial': `New sell price for this prefix.`,
Copy file name to clipboardExpand all lines: resources/help/help_pt_BR.js
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -576,6 +576,7 @@ Você pode usar o botão processar para reativar os números que estão com stat
576
576
'plan.play_audio': `Executar áudios para os cliente deste plano ou mandar somente erro? Por exemplo os áudios que acabou o crédito.`,
577
577
'plan.techprefix': `Techprefix é como uma senha para o cliente poder usar mais de uma plano. Por exemplo, digamos que você tem 3 tipos de planos,GSM, TDM e CLI, e quer deixar seu cliente escolher qual plano ele deseja usar. Então coloque techprefix nos planos e solicite ao seu cliente que para usar cada um dos planos e.`,
578
578
'plan.id_service': `Selecione aqui os serviços que estarão disponível para os usuários deste plano.`,
579
+
'plan.id_services': ``,
579
580
//PREFIXOS
580
581
'prefix.prefix': `Prefixo. Prefixos serão usados para criar as tarifas. EX. 5511.`,
581
582
'prefix.destination': `Nome do destino. EX: Brasil SP.`,
@@ -957,6 +958,7 @@ Regra 5 -> números que iniciam com qualquer valor e tem 11 dígitos, será adic
957
958
'user.transfer_show_selling_price': `Esta função não está disponível no Brasil. Somente usado para recarga de celulares em alguns países.`,
958
959
'user.contract_value': ``,
959
960
'user.dist': ``,
961
+
'user.credit_notification_daily': `Se ativar esta opção o MagnusBilling vai enviar um email diariamente com o saldo do cliente. Você pode editar o email que será enviado no menu Configurações submenu Modelo de Emails.`,
960
962
//TARIFAS PARA CLIENTES
961
963
'userrate.id_prefix': `Selecione o prefixo que você deseja subscrever.`,
962
964
'userrate.rateinitial': `Novo preço de venda para este prefixo.`,
0 commit comments