feat: Add 'Catatan' column to purchases table and update anonymous function syntax.
This commit is contained in:
parent
bbd62a6a50
commit
d654e372cf
@ -39,6 +39,8 @@ public function columns(): array
|
|||||||
->searchable()
|
->searchable()
|
||||||
->sortable(),
|
->sortable(),
|
||||||
|
|
||||||
|
Column::make('Catatan', 'note')->searchable(),
|
||||||
|
|
||||||
ArrayColumn::make('Item')
|
ArrayColumn::make('Item')
|
||||||
->data(
|
->data(
|
||||||
fn ($value, $row) => $row->items->map(fn ($item) => [
|
fn ($value, $row) => $row->items->map(fn ($item) => [
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user