konto wip
This commit is contained in:
1 parent
e379bb5c94
commit
47edd31030
22 files changed
+219
-138
No files matched your search
@@ -2,9 +2,9 @@
|
||||
|
||||
namespace App\Filament\Resources\Kontos\Tables;
|
||||
|
||||
use Filament\Actions\BulkActionGroup;
|
||||
use Filament\Actions\DeleteBulkAction;
|
||||
use Filament\Actions\EditAction;
|
||||
use Filament\Support\Icons\Heroicon;
|
||||
use Filament\Tables\Columns\IconColumn;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
use Filament\Tables\Table;
|
||||
use Ysfkaya\FilamentPhoneInput\PhoneInputNumberType;
|
||||
@@ -18,24 +18,27 @@ class KontosTable
|
||||
->columns([
|
||||
// TextColumn::make('id'),
|
||||
TextColumn::make('konto_gender')->label('Geschlecht'),
|
||||
TextColumn::make('konto_title')->label('Title'),
|
||||
TextColumn::make('konto_first_name')->label('Vorname'),
|
||||
TextColumn::make('konto_last_name')->label('Nachname'),
|
||||
// TextColumn::make('konto_title')->label('Title'),
|
||||
// TextColumn::make('konto_first_name')->label('Vorname'),
|
||||
// TextColumn::make('konto_last_name')->label('Nachname'),
|
||||
TextColumn::make('konto_company')->label('Firma'),
|
||||
IconColumn::make('konto_agb_akzeptiert')
|
||||
->label('AGB')
|
||||
->boolean()
|
||||
->trueIcon(Heroicon::OutlinedCheckBadge)
|
||||
->falseIcon(Heroicon::OutlinedXMark),
|
||||
|
||||
PhoneColumn::make('konto_phone')
|
||||
->label('Telefon')
|
||||
->displayFormat(PhoneInputNumberType::INTERNATIONAL),
|
||||
])
|
||||
->filters([
|
||||
//
|
||||
TextColumn::make('konto_email')
|
||||
->copyable()
|
||||
->copyMessage('E-Mail wurde kopiert')
|
||||
->copyMessageDuration(1500)
|
||||
->label('E-mail'),
|
||||
])
|
||||
->recordActions([
|
||||
EditAction::make(),
|
||||
])
|
||||
->toolbarActions([
|
||||
BulkActionGroup::make([
|
||||
DeleteBulkAction::make(),
|
||||
]),
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user