add logo to auftraggeber und gutacher
This commit is contained in:
1 parent
a473081e3a
commit
98ccca1fb7
11 files changed
+128
-39
No files matched your search
@@ -41,13 +41,6 @@ class GutachterResource extends Resource
|
||||
return GutachtersTable::configure($table);
|
||||
}
|
||||
|
||||
public static function getRelations(): array
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
|
||||
public static function getPages(): array
|
||||
{
|
||||
return [
|
||||
|
||||
@@ -66,7 +66,17 @@ class GutachterForm
|
||||
->icon('phosphor-squares-four')
|
||||
->inlineLabel()
|
||||
->schema([
|
||||
FileUpload::make('logo')->label('Gutachter Logo'),
|
||||
FileUpload::make('logo')
|
||||
->image()
|
||||
->imageEditor()
|
||||
->imageEditorAspectRatios([
|
||||
null,
|
||||
'16:9',
|
||||
'4:3',
|
||||
'1:1',
|
||||
])
|
||||
->directory('gutachter-logo')
|
||||
->label('Gutachter Logo'),
|
||||
]),
|
||||
Tab::make('Anzeige Im Gutachten')
|
||||
->icon('phosphor-eye')
|
||||
|
||||
@@ -14,11 +14,11 @@ class GutachtersTable
|
||||
return $table
|
||||
->columns([
|
||||
ImageColumn::make('logo'),
|
||||
TextColumn::make('company')->label('Firma'),
|
||||
TextColumn::make('company')->label('Firma')->searchable(),
|
||||
TextColumn::make('gender')->label('Geschlecht'),
|
||||
TextColumn::make('title')->label('Title'),
|
||||
TextColumn::make('name'),
|
||||
TextColumn::make('email')->copyable()->label('E-Mail'),
|
||||
TextColumn::make('name')->searchable(),
|
||||
TextColumn::make('email')->copyable()->label('E-Mail')->searchable(),
|
||||
])
|
||||
->recordActions([
|
||||
EditAction::make()->iconButton()->color('gray'),
|
||||
|
||||
Reference in new issue
Block a user