order by status

This commit is contained in:
Ibnu Maksum 2024-05-17 16:45:41 +07:00
parent d94c62d6fc
commit b5a9190ae7
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5
4 changed files with 9 additions and 2 deletions

View File

@ -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

View File

@ -613,7 +613,8 @@ switch ($action) {
$order_pos = [
'username' => 0,
'created_at' => 8,
'balance' => 3
'balance' => 3,
'status' => 7
];
if ($search != '') {

View File

@ -36,6 +36,7 @@
<option value="username" {if $order eq 'username' }selected{/if}>{Lang::T('Username')}</option>
<option value="created_at" {if $order eq 'created_at' }selected{/if}>{Lang::T('Created Date')}</option>
<option value="balance" {if $order eq 'balance' }selected{/if}>{Lang::T('Balance')}</option>
<option value="status" {if $order eq 'status' }selected{/if}>{Lang::T('Status')}</option>
</select>
</div>
<div class="col-xs-4">

View File

@ -1,3 +1,3 @@
{
"version": "2024.5.16"
"version": "2024.5.17"
}