nova book cases

This commit is contained in:
Benjamin Takats
2022-12-07 19:19:44 +01:00
parent c8bd4a63c5
commit 5e7857097c
9 changed files with 245 additions and 29 deletions

View File

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