feat: initialize Dr-Panel project with patient file number support

This commit is contained in:
SajjadMahmoody
2026-05-06 02:18:23 +03:30
parent f8f174690a
commit 8b84d1780f
460 changed files with 113960 additions and 1 deletions
@@ -0,0 +1,18 @@
<?php
declare(strict_types=1);
namespace App\Filament\Resources\TreatmentResource\Pages;
use App\Filament\Resources\TreatmentResource;
use Filament\Resources\Pages\CreateRecord;
class CreateTreatment extends CreateRecord
{
protected static string $resource = TreatmentResource::class;
protected function getFormActions(): array
{
return [];
}
}
@@ -0,0 +1,26 @@
<?php
declare(strict_types=1);
namespace App\Filament\Resources\TreatmentResource\Pages;
use App\Filament\Resources\TreatmentResource;
use Filament\Actions\DeleteAction;
use Filament\Resources\Pages\EditRecord;
class EditTreatment extends EditRecord
{
protected static string $resource = TreatmentResource::class;
protected function getHeaderActions(): array
{
return [
DeleteAction::make(),
];
}
protected function getFormActions(): array
{
return [];
}
}
@@ -0,0 +1,22 @@
<?php
declare(strict_types=1);
namespace App\Filament\Resources\TreatmentResource\Pages;
use App\Filament\Resources\TreatmentResource;
use Filament\Actions\CreateAction;
use Filament\Resources\Pages\ListRecords;
class ListTreatments extends ListRecords
{
protected static string $resource = TreatmentResource::class;
protected function getHeaderActions(): array
{
return [
CreateAction::make()
->icon('heroicon-o-plus'),
];
}
}