removePpoeActive based pppoe_username
This commit is contained in:
parent
ce7d8859b0
commit
d830ba4e06
@ -60,10 +60,12 @@ class MikrotikPppoe
|
|||||||
//disconnect then
|
//disconnect then
|
||||||
if(isset($isChangePlan) && $isChangePlan){
|
if(isset($isChangePlan) && $isChangePlan){
|
||||||
$this->removePpoeActive($client, $customer['username']);
|
$this->removePpoeActive($client, $customer['username']);
|
||||||
|
if (!empty($customer['pppoe_username'])) {
|
||||||
|
$this->removePpoeActive($client, $customer['pppoe_username']);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function remove_customer($customer, $plan)
|
function remove_customer($customer, $plan)
|
||||||
{
|
{
|
||||||
|
@ -697,5 +697,6 @@
|
|||||||
"PPPoE_Username_already_used_by_another_customer": "PPPoE Username already used by another customer",
|
"PPPoE_Username_already_used_by_another_customer": "PPPoE Username already used by another customer",
|
||||||
"just_now": "just now",
|
"just_now": "just now",
|
||||||
"Not_Working_for_freeradius": "Not Working for freeradius",
|
"Not_Working_for_freeradius": "Not Working for freeradius",
|
||||||
"User_Cannot_change_this__only_admin__if_it_Empty_it_will_use_Customer_Credentials": "User Cannot change this, only admin. if it Empty it will use Customer Credentials"
|
"User_Cannot_change_this__only_admin__if_it_Empty_it_will_use_Customer_Credentials": "User Cannot change this, only admin. if it Empty it will use Customer Credentials",
|
||||||
|
"Failed_to_buy_package": "Failed to buy package"
|
||||||
}
|
}
|
@ -1,7 +1,7 @@
|
|||||||
{include file="sections/user-header.tpl"}
|
{include file="sections/user-header.tpl"}
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-4 col-md-offset-2">
|
<div class="col-lg-12">
|
||||||
<div class="panel panel-hovered panel-primary panel-stacked mb30">
|
<div class="panel panel-hovered panel-primary panel-stacked mb30">
|
||||||
<div class="panel-heading">{$in['invoice']}</div>
|
<div class="panel-heading">{$in['invoice']}</div>
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user