From cc74667451891aeeb0e0761fd8e1cc0eefc57c13 Mon Sep 17 00:00:00 2001 From: Focuslinkstech <45756999+Focuslinkstech@users.noreply.github.com> Date: Fri, 6 Sep 2024 13:56:33 +0100 Subject: [PATCH] fix customer dashboard table list, , Package Bandwidth and Recharge Button --- system/autoload/User.php | 2 +- ui/ui/user-ui/dashboard.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/system/autoload/User.php b/system/autoload/User.php index 9cf47823..dfccc711 100644 --- a/system/autoload/User.php +++ b/system/autoload/User.php @@ -217,7 +217,7 @@ class User ]) ->left_outer_join('tbl_plans', ['tbl_plans.id', '=', 'tbl_user_recharges.plan_id']) ->left_outer_join('tbl_bandwidth', ['tbl_bandwidth.id', '=', 'tbl_plans.id_bw']) - ->select('tbl_bandwidth.*') + ->select('tbl_bandwidth.name_bw', 'name_bw') ->where('customer_id', $id) ->find_many(); return $d; diff --git a/ui/ui/user-ui/dashboard.tpl b/ui/ui/user-ui/dashboard.tpl index ef959a9b..8b53f904 100644 --- a/ui/ui/user-ui/dashboard.tpl +++ b/ui/ui/user-ui/dashboard.tpl @@ -111,7 +111,7 @@ {/if} - +    {if $abills && count($abills)>0}