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
+30
View File
@@ -0,0 +1,30 @@
<?php
declare(strict_types=1);
namespace Database\Seeders;
use App\Models\LabTest;
use Illuminate\Database\Seeder;
class LabTestSeeder extends Seeder
{
public function run(): void
{
$tests = [
'CBC',
'PT/PTT/INR',
'BS',
'HIV/Ab',
'HBS/Ag',
'Hcv/Ab',
];
foreach ($tests as $name) {
LabTest::firstOrCreate(
['name' => $name],
['is_default' => true, 'is_active' => true],
);
}
}
}