diff --git a/system/controllers/autoload.php b/system/controllers/autoload.php index 79b10383..70a448ff 100644 --- a/system/controllers/autoload.php +++ b/system/controllers/autoload.php @@ -40,13 +40,14 @@ switch ($action) { $d = ORM::for_table('tbl_user_recharges')->where('customer_id', $routes['2'])->findOne(); if ($d) { if ($d['status'] == 'on') { - die('on'); + die(''.$d['namebp'].''); } else { - die('off'); + die(''.$d['namebp'].''); } } else { - die('off'); + die(''); } + break; case 'customer_select2': $s = addslashes(_get('s')); diff --git a/ui/ui/customers.tpl b/ui/ui/customers.tpl index 35b44d4d..2cdeb689 100644 --- a/ui/ui/customers.tpl +++ b/ui/ui/customers.tpl @@ -27,12 +27,12 @@ - + @@ -40,14 +40,14 @@ {foreach $d as $ds} - +
{$_L['Username']} {$_L['Full_Name']} {Lang::T('Balance')} {$_L['Phone_Number']} {$_L['Email']}{$_L['Package']} {$_L['Created_On']} {$_L['Manage']}
- - - {$ds['username']} {$ds['fullname']} {Lang::moneyFormat($ds['balance'])} {$ds['phonenumber']} {$ds['email']} + + {Lang::dateTimeFormat($ds['created_at'])}