konto wip

This commit is contained in:
salam committed 2025-09-22 07:06:48 +02:00
1 parent 09bcc5e13e
commit e379bb5c94
7 files changed
+66 -80

No files matched your search

@@ -12,7 +12,6 @@ use BackedEnum;
use Filament\Resources\Resource;
use Filament\Schemas\Schema;
use Filament\Tables\Table;
use UnitEnum;
class KontoResource extends Resource
{
@@ -20,9 +19,7 @@ class KontoResource extends Resource
protected static string|BackedEnum|null $navigationIcon = 'lucide-circle-user-round';
protected static string|UnitEnum|null $navigationGroup = 'Interne Administration';
protected static ?string $navigationLabel = 'Kontos';
protected static ?string $navigationLabel = 'Konto';
protected static ?string $modelLabel = 'Konto';
@@ -7,6 +7,8 @@ use Filament\Actions\DeleteBulkAction;
use Filament\Actions\EditAction;
use Filament\Tables\Columns\TextColumn;
use Filament\Tables\Table;
use Ysfkaya\FilamentPhoneInput\PhoneInputNumberType;
use Ysfkaya\FilamentPhoneInput\Tables\PhoneColumn;
class KontosTable
{
@@ -14,17 +16,15 @@ class KontosTable
{
return $table
->columns([
TextColumn::make('id'),
TextColumn::make('gender')->label('Geschlecht'),
TextColumn::make('title')->label('Title'),
TextColumn::make('first_name')->label('Vorname'),
TextColumn::make('last_name')->label('Nachname'),
TextColumn::make('company')->label('Firma'),
TextColumn::make('address')->label('Adresse'),
TextColumn::make('location')->label('Ort'),
TextColumn::make('code')->label('PLZ'),
TextColumn::make('phone')->label('Telefon'),
TextColumn::make('uid_number')->label('UID Nummer'),
// 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_company')->label('Firma'),
PhoneColumn::make('konto_phone')
->label('Telefon')
->displayFormat(PhoneInputNumberType::INTERNATIONAL),
])
->filters([
//
+1 -1
View File
@@ -28,7 +28,7 @@ class AppServiceProvider extends ServiceProvider
'danger' => Color::Red,
'gray' => Color::Zinc,
'info' => Color::Indigo,
'primary' => Color::Blue,
'primary' => Color::Sky,
'success' => Color::Green,
'warning' => Color::Amber,
]);
@@ -55,6 +55,7 @@ class AdminPanelProvider extends PanelProvider
->recoverable(),
])
// ], isRequired: true)
->topNavigation()
->maxContentWidth(Width::ScreenExtraLarge)
// ->sidebarCollapsibleOnDesktop()
// ->font('Open Sans')