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