Add Seeder UpdateTarifLMSSeeder
This commit is contained in:
@@ -146,6 +146,7 @@ class UpdateTarifLMSSeeder extends Seeder
|
||||
->whereHas('healthcare', function($hc) use ($tarif) {
|
||||
$hc->whereIn('sKodeRS', $tarif['applied_to']);
|
||||
})
|
||||
->withTrashed()
|
||||
->update($updateUmum);
|
||||
$this->command->info('Updating : Dokter Umum');
|
||||
}
|
||||
@@ -171,6 +172,7 @@ class UpdateTarifLMSSeeder extends Seeder
|
||||
->whereHas('healthcare', function($hc) use ($tarif) {
|
||||
$hc->whereIn('sKodeRS', $tarif['applied_to']);
|
||||
})
|
||||
->withTrashed()
|
||||
->update($updateSpesialis);
|
||||
$this->command->info('Updating : Dokter Spesialis');
|
||||
}
|
||||
@@ -198,6 +200,7 @@ class UpdateTarifLMSSeeder extends Seeder
|
||||
->whereHas('healthcare', function($hc) use ($tarif) {
|
||||
$hc->whereIn('sKodeRS', $tarif['applied_to']);
|
||||
})
|
||||
->withTrashed()
|
||||
->update($updateSubSpesialis);
|
||||
$this->command->info('Updating : Dokter Sub Spesialis');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user