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), TextColumn::make('guthaben') ->size(TextSize::Large) ->weight(FontWeight::Bold) ->color('primary') ->description('Gutachten') ->alignCenter(), TextColumn::make('abgeschlossen') ->size(TextSize::Large) ->weight(FontWeight::Bold) ->color('success') ->description('Gutachten') ->alignCenter(), ]) ->recordActions([ EditAction::make()->iconButton()->color('gray'), Action::make('Guthaben laden') ->iconButton() ->color('gray') ->icon('heroicon-o-credit-card') ->schema([ TextInput::make('subject')->required(), RichEditor::make('body')->required(), ]) ->action(function (array $data) {}), ]); } }