fix(oultet): typo title kolom name seharusnya Nama bukan Name dan menghapus searchable untuk column Tanggal Operasi
This commit is contained in:
parent
e666173c8f
commit
5acba14fe7
@ -23,7 +23,7 @@ class OutletsTable extends DataTableComponent
|
||||
public function columns(): array
|
||||
{
|
||||
return [
|
||||
Column::make('Name', 'name')->searchable(),
|
||||
Column::make('Nama', 'name')->searchable(),
|
||||
|
||||
Column::make('Nomor Telepon', 'phone_number')->searchable(),
|
||||
|
||||
@ -84,10 +84,6 @@ public function columns(): array
|
||||
</div>
|
||||
HTML;
|
||||
})
|
||||
->searchable(function ($query, $searchTerm) {
|
||||
$query->orWhere('landmark', 'like', "%{$searchTerm}%")
|
||||
->orWhere('address', 'like', "%{$searchTerm}%");
|
||||
})
|
||||
->html(),
|
||||
|
||||
Column::make('Status', 'status')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user