28 lines
606 B
PHP
28 lines
606 B
PHP
<?php
|
|
|
|
namespace App\Filament\Admin\Resources\Projects\Pages;
|
|
|
|
use App\Filament\Admin\Resources\Projects\ProjectResource;
|
|
use Filament\Resources\Pages\CreateRecord;
|
|
use Filament\Support\Enums\Width;
|
|
|
|
class CreateProject extends CreateRecord
|
|
{
|
|
protected static string $resource = ProjectResource::class;
|
|
|
|
public function getTitle(): string
|
|
{
|
|
return 'Yeni Proje Oluştur';
|
|
}
|
|
|
|
public function getMaxContentWidth(): Width | string | null
|
|
{
|
|
return Width::Full;
|
|
}
|
|
|
|
protected function afterCreate(): void
|
|
{
|
|
$this->record->recalculateProgress();
|
|
}
|
|
}
|