projekte wip
This commit is contained in:
1 parent
fc974e4793
commit
aa301f1197
6 files changed
+658
-2
No files matched your search
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Clusters\Projekt;
|
||||
|
||||
use BackedEnum;
|
||||
use Filament\Clusters\Cluster;
|
||||
use Filament\Pages\Enums\SubNavigationPosition;
|
||||
|
||||
class ProjektCluster extends Cluster
|
||||
{
|
||||
protected static string|BackedEnum|null $navigationIcon = 'lucide-drafting-compass';
|
||||
|
||||
protected static ?SubNavigationPosition $subNavigationPosition = SubNavigationPosition::Start;
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Projekt extends Model
|
||||
{
|
||||
protected $fillable = [
|
||||
'konto_id',
|
||||
'auftraggeber_id',
|
||||
'gutachter_id',
|
||||
'gutachter_id',
|
||||
'ofizieller_name',
|
||||
'beschreibung',
|
||||
'erstellung',
|
||||
'status',
|
||||
];
|
||||
|
||||
public function auftraggeber()
|
||||
{
|
||||
return $this->belongsTo(Auftraggeber::class);
|
||||
}
|
||||
|
||||
public function gutachter()
|
||||
{
|
||||
return $this->belongsTo(Gutachter::class);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user