mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-12 03:01:32 +00:00
resolved conflicts
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
||||
use Illuminate\Database\Seeder;
|
||||
use Streamline\Models\ReconilicationReason;
|
||||
|
||||
class ReconcileReasonSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*/
|
||||
public function run(): void
|
||||
{
|
||||
//
|
||||
$reasons = [
|
||||
"Item Expiry",
|
||||
"Obsolete Items",
|
||||
"Damaged Items",
|
||||
"Miscalculation",
|
||||
"Error in data entry",
|
||||
"Theft",
|
||||
"Other",
|
||||
];
|
||||
foreach ($reasons as $reason) {
|
||||
ReconilicationReason::firstOrCreate([
|
||||
'name' => $reason,
|
||||
]);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user