mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
nova book cases
This commit is contained in:
@@ -68,6 +68,22 @@ class BookCaseTable extends DataTableComponent
|
||||
Column::make("Adresse", "address")
|
||||
->sortable()
|
||||
->searchable(),
|
||||
Column::make("Bitcoin-Bücher")
|
||||
->label(
|
||||
fn(
|
||||
$row,
|
||||
Column $column
|
||||
) => $row->orangePills->sum('amount')
|
||||
),
|
||||
Column::make("Letzter Input")
|
||||
->label(
|
||||
fn(
|
||||
$row,
|
||||
Column $column
|
||||
) => $row->orangePills()
|
||||
->latest()
|
||||
->first()?->date->asDate()
|
||||
),
|
||||
Column::make("Link")
|
||||
->label(
|
||||
fn(
|
||||
|
||||
Reference in New Issue
Block a user