23 lines
761 B
PHP
23 lines
761 B
PHP
<?php
|
|
|
|
namespace App\Filament\Resources\Plans\Schemas;
|
|
|
|
use Filament\Forms\Components\Textarea;
|
|
use Filament\Forms\Components\TextInput;
|
|
use Filament\Schemas\Schema;
|
|
|
|
class PlanForm
|
|
{
|
|
public static function configure(Schema $schema): Schema
|
|
{
|
|
return $schema
|
|
->components([
|
|
TextInput::make('name')->required(),
|
|
TextInput::make('payment')->label('Zahlung')->required(),
|
|
Textarea::make('description')->label('Beschreibung')->required(),
|
|
TextInput::make('number_user')->required()->label('Anzahl Benutzer')->numeric(),
|
|
TextInput::make('number_gutachter')->required()->label('Anzahl Gutachter')->numeric(),
|
|
])->inlineLabel()->columns(1);
|
|
}
|
|
}
|