mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-14 12:11:32 +00:00
updated streamline-setup v2
This commit is contained in:
+25
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
use Streamline\Models\ChartOfAccount;
|
||||
|
||||
class DefaultBedCategoryIncomeAccount extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeders.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
$account = ChartOfAccount::firstOrCreate([
|
||||
'name' => 'Ward Accomodation Income Account',
|
||||
'slug' => 'default_ward_accomodation_income',
|
||||
'type' => 1,
|
||||
'created_by' => 1,
|
||||
'core' => 1
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user