wip
This commit is contained in:
1 parent
570ea29952
commit
18ce61bc9b
3 files changed
+37
-41
No files matched your search
@@ -20,17 +20,18 @@ class KontosTable
|
||||
return $table
|
||||
->columns([
|
||||
TextColumn::make('company')->label('Firma')
|
||||
->wrap()
|
||||
->description(fn ($record): string => $record->address),
|
||||
IconColumn::make('plan.icon')
|
||||
->width('30px')
|
||||
->label('')
|
||||
->size(IconSize::TwoExtraLarge)
|
||||
->color('primary')
|
||||
->icon(fn (string $state): string => $state)
|
||||
->extraAttributes(['class' => 'rounded-xl border border-gray-200 dark:border-gray-700 drop-shadow-xl']),
|
||||
TextColumn::make('plan.name')
|
||||
->label('Zahlungs Plan')
|
||||
->description(fn ($record): string => $record->plan->payment),
|
||||
// IconColumn::make('plan.icon')
|
||||
// ->width('30px')
|
||||
// ->label('')
|
||||
// ->size(IconSize::TwoExtraLarge)
|
||||
// ->color('primary')
|
||||
// ->icon(fn (string $state): string => $state)
|
||||
// ->extraAttributes(['class' => 'rounded-xl border border-gray-200 dark:border-gray-700 drop-shadow-xl']),
|
||||
// TextColumn::make('plan.name')
|
||||
// ->label('Zahlungs Plan')
|
||||
// ->description(fn ($record): string => $record->plan->payment),
|
||||
|
||||
TextColumn::make('guthaben')
|
||||
->size(TextSize::Large)
|
||||
@@ -48,7 +49,7 @@ class KontosTable
|
||||
])
|
||||
->recordActions([
|
||||
EditAction::make()->iconButton()->color('gray'),
|
||||
Action::make('Bezahlen')
|
||||
Action::make('Guthaben laden')
|
||||
->iconButton()
|
||||
->color('gray')
|
||||
->icon('heroicon-o-credit-card')
|
||||
|
||||
Reference in new issue
Block a user