CRITICAL UPDATE: last update Logic recharge not check is status on or off, it make expired customer stay in expired pool

This commit is contained in:
Ibnu Maksum 2024-04-30 22:36:24 +07:00
parent be43a5b385
commit 2ed3dc991a
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5
3 changed files with 12 additions and 8 deletions

View File

@ -1,6 +1,10 @@
![PHPNuxBill](install/img/logo.png) ![PHPNuxBill](install/img/logo.png)
# CHANGELOG # CHANGELOG
## 2024.4.30
- CRITICAL UPDATE: last update Logic recharge not check is status on or off, it make expired customer stay in expired pool
- Prevent double submit for recharge balance
## 2024.4.29 ## 2024.4.29

View File

@ -213,7 +213,7 @@ class Package
} }
} }
if($isChangePlan){ if ($isChangePlan || $b['status'] == 'off') {
if ($p['is_radius']) { if ($p['is_radius']) {
Radius::customerAddPlan($c, $p, "$date_exp $time"); Radius::customerAddPlan($c, $p, "$date_exp $time");
} else { } else {
@ -414,7 +414,7 @@ class Package
} }
} }
if($isChangePlan){ if ($isChangePlan || $b['status'] == 'off') {
if ($p['is_radius']) { if ($p['is_radius']) {
Radius::customerAddPlan($c, $p, "$date_exp $time"); Radius::customerAddPlan($c, $p, "$date_exp $time");
} else { } else {

View File

@ -1,3 +1,3 @@
{ {
"version": "2024.4.29" "version": "2024.4.30"
} }