From 954a49978c19ae4d7da826599e33c605d7a90c61 Mon Sep 17 00:00:00 2001 From: Ibnu Maksum Date: Thu, 28 Mar 2024 18:55:10 +0700 Subject: [PATCH] Show Personal/Bussines in Plan Customer Dashboard --- system/autoload/User.php | 1 + system/lan/english.json | 2 +- ui/ui/user-dashboard.tpl | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/system/autoload/User.php b/system/autoload/User.php index 5126c98..5317243 100644 --- a/system/autoload/User.php +++ b/system/autoload/User.php @@ -187,6 +187,7 @@ class User ->select('time') ->select('status') ->select('method') + ->select('plan_type') ->select('tbl_user_recharges.routers', 'routers') ->select('tbl_user_recharges.type', 'type') ->select('admin_id') diff --git a/system/lan/english.json b/system/lan/english.json index c25870f..41f9dff 100644 --- a/system/lan/english.json +++ b/system/lan/english.json @@ -537,4 +537,4 @@ "All_fields_are_required": "All fields are required", "Personal": "Personal", "Email_Notification": "Email Notification" -} +} \ No newline at end of file diff --git a/ui/ui/user-dashboard.tpl b/ui/ui/user-dashboard.tpl index a2f19db..b6a9a27 100644 --- a/ui/ui/user-dashboard.tpl +++ b/ui/ui/user-dashboard.tpl @@ -152,6 +152,7 @@ {Lang::T('Type')} {if $_bill['prepaid'] eq yes}Prepaid{else}Postpaid{/if} + {Lang::T($_bill['plan_type'])} {if $nux_ip neq ''}