diff --git a/web/app/Filament/Resources/WebsiteResource.php b/web/app/Filament/Resources/DomainResource.php similarity index 82% rename from web/app/Filament/Resources/WebsiteResource.php rename to web/app/Filament/Resources/DomainResource.php index 0fdac78..d717797 100644 --- a/web/app/Filament/Resources/WebsiteResource.php +++ b/web/app/Filament/Resources/DomainResource.php @@ -2,8 +2,8 @@ namespace App\Filament\Resources; -use App\Filament\Resources\WebsiteResource\Pages; -use App\Filament\Resources\WebsiteResource\RelationManagers; +use App\Filament\Resources\DomainResource\Pages; +use App\Filament\Resources\DomainResource\RelationManagers; use App\Models\Domain; use Filament\Forms; use Filament\Forms\Form; @@ -14,7 +14,7 @@ use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\SoftDeletingScope; use Illuminate\Support\Str; -class WebsiteResource extends Resource +class DomainResource extends Resource { protected static ?string $model = Domain::class; @@ -41,13 +41,13 @@ class WebsiteResource extends Resource ->searchable() ->sortable(), - Tables\Columns\TextColumn::make('hostingPlan.name') - ->searchable() - ->sortable(), +// Tables\Columns\TextColumn::make('hostingPlan.name') +// ->searchable() +// ->sortable(), - Tables\Columns\TextColumn::make('customer.name') - ->searchable() - ->sortable(), +// Tables\Columns\TextColumn::make('customer.name') +// ->searchable() +// ->sortable(), ]) ->defaultSort('id', 'desc') diff --git a/web/app/Filament/Resources/DomainResource/Pages/CreateWebsite.php b/web/app/Filament/Resources/DomainResource/Pages/CreateWebsite.php new file mode 100644 index 0000000..6445b37 --- /dev/null +++ b/web/app/Filament/Resources/DomainResource/Pages/CreateWebsite.php @@ -0,0 +1,12 @@ +