Recharge with balance or zero cost

This commit is contained in:
Ibnu Maksum
2024-03-12 15:09:00 +07:00
parent 6d15437333
commit c9058769ce
6 changed files with 69 additions and 16 deletions

View File

@ -39,9 +39,11 @@ class User
}
}
public static function _info()
public static function _info($id = 0)
{
$id = User::getID();
if(!$id){
$id = User::getID();
}
$d = ORM::for_table('tbl_customers')->find_one($id);
if(empty($d['username'])){