activate customer when edit Expired
This commit is contained in:
parent
adbac642ca
commit
bba09ca647
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,6 +4,7 @@ config.php
|
|||||||
ui/compiled/*.php
|
ui/compiled/*.php
|
||||||
ui/cache/*.php
|
ui/cache/*.php
|
||||||
test.php
|
test.php
|
||||||
|
sms.php
|
||||||
pages/
|
pages/
|
||||||
system/cache/**
|
system/cache/**
|
||||||
system/plugin/*
|
system/plugin/*
|
||||||
|
@ -231,6 +231,9 @@ switch ($action) {
|
|||||||
//$d->recharged_on = $recharged_on;
|
//$d->recharged_on = $recharged_on;
|
||||||
$d->expiration = $expiration;
|
$d->expiration = $expiration;
|
||||||
$d->time = $time;
|
$d->time = $time;
|
||||||
|
if(strtotime($expiration.' '.$time) > time()){
|
||||||
|
$d->status = 'on';
|
||||||
|
}
|
||||||
if($p['is_radius']){
|
if($p['is_radius']){
|
||||||
$d->routers = 'radius';
|
$d->routers = 'radius';
|
||||||
}else{
|
}else{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user