add notif if Customer is not expired yet when extend

This commit is contained in:
Ibnu Maksum 2024-04-29 13:50:26 +07:00
parent b6fde35eb6
commit 61bd042b15
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5

View File

@ -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");
}
break;
default:
$ui->assign('xfooter', '<script type="text/javascript" src="ui/lib/c/plan.js"></script>');