This commit is contained in:
salam committed 2026-05-10 10:45:48 +02:00
1 parent 9457059ae2
commit 838cfd7c81
4 files changed
+11 -13

No files matched your search

@@ -32,13 +32,13 @@ class MailAdressensTable
ToggleColumn::make('is_active')
->label('Aktive')
->alignCenter(),
TextColumn::make('anrede')
->badge()
->color(fn (string $state): string => match ($state) {
'Höflich' => 'primary',
'Freundschaftlich' => 'success',
default => 'gray',
}),
// TextColumn::make('anrede')
// ->badge()
// ->color(fn (string $state): string => match ($state) {
// 'Höflich' => 'primary',
// 'Freundschaftlich' => 'success',
// default => 'gray',
// }),
// TextColumn::make('company')->label('Firma')
// ->description(fn ($record): string => $record->first_name.' '.$record->last_name),
TextColumn::make('gender')