activate plan when its on
This commit is contained in:
parent
4ab32bc68d
commit
788e558171
@ -244,7 +244,9 @@ switch ($action) {
|
||||
$d->routers = $p['routers'];
|
||||
}
|
||||
$d->save();
|
||||
if($d['status'] == 'on'){
|
||||
Package::changeTo($username, $id_plan, $id);
|
||||
}
|
||||
_log('[' . $admin['username'] . ']: ' . 'Edit Plan for Customer ' . $d['username'] . ' to [' . $d['plan_name'] . '][' . Lang::moneyFormat($d['price']) . ']', 'Admin', $admin['id']);
|
||||
r2(U . 'prepaid/list', 's', $_L['Updated_Successfully']);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user