fix(provinces): perbarui tampilan dan fungsionalitas tabel provinsi
- Hapus dropdown filter yang tidak diperlukan. - Tambahkan garis batas untuk pemisahan elemen. - Modifikasi render kolom kode untuk menampilkan dua karakter pertama.
This commit is contained in:
@@ -15,34 +15,10 @@
|
||||
<div class="flex">
|
||||
<label class="input input-sm"> <i class="ki-filled ki-magnifier"> </i>
|
||||
<input placeholder="Search provinces" id="search" type="text" value="">
|
||||
|
||||
</label>
|
||||
</div>
|
||||
<div class="border border-r-gray-200"></div>
|
||||
<div class="flex flex-wrap gap-2.5">
|
||||
<select class="select select-sm w-28">
|
||||
<option value="1">
|
||||
Active
|
||||
</option>
|
||||
<option value="2">
|
||||
Disabled
|
||||
</option>
|
||||
<option value="2">
|
||||
Pending
|
||||
</option>
|
||||
</select>
|
||||
<select class="select select-sm w-28">
|
||||
<option value="desc">
|
||||
Latest
|
||||
</option>
|
||||
<option value="asc">
|
||||
Oldest
|
||||
</option>
|
||||
</select>
|
||||
<button class="btn btn-sm btn-outline btn-primary">
|
||||
<i class="ki-filled ki-setting-4"> </i>
|
||||
<Filters></Filters>
|
||||
</button>
|
||||
<div class="h-[24px] border border-r-gray-200"></div>
|
||||
<a class="btn btn-sm btn-light" href="{{ route('locations.provinces.export') }}"> Export to Excel </a>
|
||||
<a class="btn btn-sm btn-primary" href="{{ route('locations.provinces.create') }}"> Add Province </a>
|
||||
</div>
|
||||
@@ -140,6 +116,9 @@
|
||||
},
|
||||
code: {
|
||||
title: 'Code',
|
||||
render: (item, data) => {
|
||||
return `${data.code.substring(0, 2)}`;
|
||||
},
|
||||
},
|
||||
name: {
|
||||
title: 'Province',
|
||||
|
||||
Reference in New Issue
Block a user