From b5a9190ae7cffd640a22c71952a6650388c782cb Mon Sep 17 00:00:00 2001 From: Ibnu Maksum Date: Fri, 17 May 2024 16:45:41 +0700 Subject: [PATCH] order by status --- CHANGELOG.md | 5 +++++ system/controllers/customers.php | 3 ++- ui/ui/customers.tpl | 1 + version.json | 2 +- 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a874d124..73265ec0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ # CHANGELOG +## 2024.5.17 + +- Status Customer: Active/Banned/Disabled +- Add search with order in Customer list + ## 2024.5.16 - Confirm can change Using diff --git a/system/controllers/customers.php b/system/controllers/customers.php index 7436b23d..dfff613c 100644 --- a/system/controllers/customers.php +++ b/system/controllers/customers.php @@ -613,7 +613,8 @@ switch ($action) { $order_pos = [ 'username' => 0, 'created_at' => 8, - 'balance' => 3 + 'balance' => 3, + 'status' => 7 ]; if ($search != '') { diff --git a/ui/ui/customers.tpl b/ui/ui/customers.tpl index 081f86b9..cd0f75c1 100644 --- a/ui/ui/customers.tpl +++ b/ui/ui/customers.tpl @@ -36,6 +36,7 @@ +
diff --git a/version.json b/version.json index be905b48..502613bb 100644 --- a/version.json +++ b/version.json @@ -1,3 +1,3 @@ { - "version": "2024.5.16" + "version": "2024.5.17" } \ No newline at end of file