gutachter

This commit is contained in:
salam committed 2025-10-02 15:03:16 +02:00
1 parent 749555a6b4
commit a473081e3a
6 files changed
+123 -29

No files matched your search

@@ -27,34 +27,12 @@ class KontoForm
Tabs::make('Tabs')
->tabs([
Tab::make('Zahlungsplan')
->schema([
RadioDeck::make('plan_id')
// ->label('Wählen sie eine Option')
->label('Zur Zeit bieten wie nur eine Zahlung per Gutachten an.')
->options(fn () => Plan::pluck('name', 'id')->toArray())
->descriptions(Plan::options())
->icons(fn () => Plan::pluck('icon', 'id')->toArray())
->required()
->iconPosition(IconPosition::Before) // Before | After
->iconSize(IconSize::TwoExtraLarge)
->alignment(Alignment::Center) // Start | Center | End
->padding('px-4 py-6') // Padding around the deck
->extraCardsAttributes([
'class' => 'rounded-xl drop-shadow-xl mt-1',
])
->extraOptionsAttributes([
'class' => 'text-2xl font-black tracking-tight lg:text-3xl',
])
->colors('primary')
->columns(3)
->columnSpanFull(),
])->columnSpanFull(),
Tab::make('Firma')
Tab::make('Rechnungsdaten')
->icon('lucide-file-pen-line')
->inlineLabel()
->schema([
TextInput::make('company')
->label('Firma')
->label('Firma/Inhaber')
->required(),
TextInput::make('uid_number')
->label('UID Nummer')
@@ -69,6 +47,7 @@ class KontoForm
->required(),
])->columnSpanFull(),
Tab::make('Kontaktperson')
->icon('lucide-contact')
->inlineLabel()
->schema([
TextInput::make('title')
@@ -94,6 +73,32 @@ class KontoForm
->label('Telefon')
->defaultCountry('AT'),
])->columnSpanFull(),
Tab::make('Zahlungsplan')
->icon('phosphor-coins')
->schema([
RadioDeck::make('plan_id')
// ->label('Wählen sie eine Option')
->label('Zur Zeit bieten wie nur den Basic Plan als Zahlungvariante an.')
->options(fn () => Plan::pluck('name', 'id')->toArray())
->descriptions(Plan::options())
->icons(fn () => Plan::pluck('icon', 'id')->toArray())
->required()
->iconPosition(IconPosition::Before) // Before | After
->iconSize(IconSize::TwoExtraLarge)
->alignment(Alignment::Center) // Start | Center | End
->padding('px-4 py-6') // Padding around the deck
->extraCardsAttributes([
'class' => 'rounded-xl drop-shadow-xl mt-1',
])
->extraOptionsAttributes([
'class' => 'text-2xl font-black tracking-tight lg:text-3xl',
])
->colors('primary')
->disabled()
->columns(3)
->columnSpanFull(),
])->columnSpanFull(),
])->columnSpanFull(),
]);