Merge branch 'Development' of https://github.com/Focuslinkstech/phpnuxbill into Development

This commit is contained in:
Focuslinkstech
2024-05-17 10:59:51 +01:00
12 changed files with 216 additions and 106 deletions

View File

@ -34,6 +34,10 @@ class Package
$c = ORM::for_table('tbl_customers')->where('id', $id_customer)->find_one();
$p = ORM::for_table('tbl_plans')->where('id', $plan_id)->find_one();
if($c['status'] != 'Active'){
_alert(Lang::T('This account status').' : '.Lang::T($c['status']),'danger', "");
}
$add_cost = 0;
$bills = [];
// Zero cost recharge