tables changed

This commit is contained in:
Benjamin Takats
2022-12-01 01:05:06 +01:00
parent 5ffa0cb4da
commit 3e48bc0bd3
2 changed files with 13 additions and 0 deletions

View File

@@ -24,6 +24,18 @@ class CityTable extends DataTableComponent
Column::make("Stadt Name", "name")
->sortable()
->searchable(),
Column::make('Veranstaltungs-Orte')
->label(
fn($row, Column $column) => random_int(0, 100)
),
Column::make('Kurse')
->label(
fn($row, Column $column) => random_int(0, 100)
),
Column::make('')
->label(
fn($row, Column $column) => view('columns.cities.action')->withRow($row)
),
];
}

View File

@@ -0,0 +1 @@
<x-button amber>Umkreis-Suche Füssen</x-button>