promotion wip
This commit is contained in:
1 parent
61594777d7
commit
3c5698a550
17 files changed
+176
-303
No files matched your search
@@ -15,8 +15,10 @@ class PlanForm
|
||||
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(),
|
||||
TextInput::make('limit_user')->required()->label('Anzahl Benutzer')->numeric(),
|
||||
TextInput::make('limit_auftraggeber')->required()->label('Anzahl Auftraggeber')->numeric(),
|
||||
TextInput::make('limit_gutachter')->required()->label('Anzahl Gutachter')->numeric(),
|
||||
TextInput::make('limit_gutachten')->required()->label('Anzahl Projekte')->numeric(),
|
||||
])->inlineLabel()->columns(1);
|
||||
}
|
||||
}
|
||||
@@ -12,11 +12,14 @@ class PlansTable
|
||||
{
|
||||
return $table
|
||||
->columns([
|
||||
TextColumn::make('name'),
|
||||
TextColumn::make('payment')->label('Zahlungsart'),
|
||||
TextColumn::make('gutachten')->badge()->label('Anzahl'),
|
||||
TextColumn::make('number_user')->label('Benutzer')->badge(),
|
||||
TextColumn::make('number_gutachter')->label('Gutachter')->badge(),
|
||||
TextColumn::make('name')
|
||||
->description(fn ($record): string => $record->description)
|
||||
->wrap(),
|
||||
TextColumn::make('payment')->label('Plan'),
|
||||
TextColumn::make('limit_user')->label('B')->tooltip('Benutzer')->badge(),
|
||||
TextColumn::make('limit_auftraggeber')->label('A')->tooltip('Auftraggeber')->badge(),
|
||||
TextColumn::make('limit_gutachter')->label('G')->tooltip('Gutachter')->badge(),
|
||||
TextColumn::make('limit_gutachten')->label('P')->tooltip('Projekte')->badge(),
|
||||
TextColumn::make('preis')->money('EUR'),
|
||||
])
|
||||
->recordActions([
|
||||
@@ -24,3 +27,9 @@ class PlansTable
|
||||
]);
|
||||
}
|
||||
}
|
||||
// `file` varchar(255) DEFAULT NULL,
|
||||
// `preis` int(11) NOT NULL DEFAULT 0,
|
||||
// `limit_user` int(11) NOT NULL DEFAULT 1,
|
||||
// `limit_auftraggeber` int(11) NOT NULL DEFAULT 1,
|
||||
// `limit_gutachter` int(11) NOT NULL DEFAULT 1,
|
||||
// `limit_gutachten` int(11) D
|
||||
Reference in new issue
Block a user