From 226ed410754dec4161df89286e5e4ea148ebcaee Mon Sep 17 00:00:00 2001 From: Focuslinkstech <45756999+Focuslinkstech@users.noreply.github.com> Date: Thu, 5 Dec 2024 17:01:16 +0100 Subject: [PATCH] patch: Update add css and plan price to user billing --- system/autoload/User.php | 1 + ui/ui/customer/header.tpl | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/system/autoload/User.php b/system/autoload/User.php index fff7a620..3db62a66 100644 --- a/system/autoload/User.php +++ b/system/autoload/User.php @@ -271,6 +271,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.name_bw', 'name_bw') + ->select('tbl_plans.price', 'price') ->where('customer_id', $id) ->find_many(); return $d; diff --git a/ui/ui/customer/header.tpl b/ui/ui/customer/header.tpl index 5160221f..0706d709 100644 --- a/ui/ui/customer/header.tpl +++ b/ui/ui/customer/header.tpl @@ -752,6 +752,23 @@ .dark-mode .navbar-nav>.user-menu>.dropdown-menu>.user-footer { background-color: #1a202c; } + + .dark-mode .ticket-container { + background-color: #222020; + padding: 20px; + border-radius: 10px; + border: 1px solid #ddd; + display: grid; + grid-template-columns: 1fr; + gap: 20px; + } + + .dark-mode .ticket-label { + flex: 0 0 150px; + font-weight: bold; + color: inherit; + margin-right: -59px; + } {if isset($xheader)}