26 lines
583 B
PHP
26 lines
583 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Filament\Resources\VisitResource\Pages;
|
|
|
|
use App\Filament\Resources\VisitResource;
|
|
use Filament\Resources\Pages\CreateRecord;
|
|
use Filament\Support\Enums\Width;
|
|
|
|
class CreateVisit extends CreateRecord
|
|
{
|
|
protected static string $resource = VisitResource::class;
|
|
|
|
protected Width|string|null $maxContentWidth = Width::SevenExtraLarge;
|
|
|
|
protected function getFormActions(): array
|
|
{
|
|
return [];
|
|
}
|
|
|
|
protected function getRedirectUrl(): string
|
|
{
|
|
return static::getResource()::getUrl('index');
|
|
}
|
|
} |