mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-07-03 14:44:24 +02:00
allow purchase = no, but can recharge
This commit is contained in:
parent
dc70a49f52
commit
012a1ecfab
1 changed files with 1 additions and 2 deletions
|
@ -99,8 +99,7 @@ if (isset($_GET['recharge']) && !empty($_GET['recharge'])) {
|
|||
if(!$plan['enabled']){
|
||||
r2(U . "home", 'e', 'Plan is not exists');
|
||||
}
|
||||
if($plan['allow_purchase'] != 'yes'){
|
||||
r2(U . "home", 'e', 'Cannot recharge this plan');
|
||||
|
||||
}
|
||||
if ($user['balance'] > $plan['price']) {
|
||||
r2(U . "order/pay/$router[id]/$bill[plan_id]", 'e', 'Order Plan');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue