mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-03 09:45:03 +02:00
add notif if Customer is not expired yet when extend
This commit is contained in:
parent
b6fde35eb6
commit
61bd042b15
1 changed files with 4 additions and 2 deletions
|
@ -766,9 +766,11 @@ switch ($action) {
|
|||
Mikrotik::addPpoeUser($client, $p, $c);
|
||||
}
|
||||
}
|
||||
_log("$admin[fullname] extend Customer $tur[customer_id] $tur[username] for $days days", $admin['user_type'], $admin['id']);
|
||||
r2(U . 'plan', 's', "Extend until $expiration");
|
||||
}else{
|
||||
r2(U . 'plan', 's', "Customer is not expired yet");
|
||||
}
|
||||
_log("$admin[fullname] extend Customer $tur[customer_id] $tur[username] for $days days", $admin['user_type'], $admin['id']);
|
||||
r2(U . 'plan', 's', "Extend until $expiration");
|
||||
break;
|
||||
default:
|
||||
$ui->assign('xfooter', '<script type="text/javascript" src="ui/lib/c/plan.js"></script>');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue