Re Format Doctor Resource

This commit is contained in:
R
2022-09-29 11:55:51 +07:00
parent 388f7b2a9b
commit 4ff3ce9714
3 changed files with 90 additions and 7 deletions

View File

@@ -73,7 +73,8 @@ class DrugSeeder extends Seeder
'name' => $row_data['pabrikan']
], [
'name' => $row_data['pabrikan'],
'type' => 'manufacturer'
'type' => 'manufacturer',
'code' => $row_data['pabrikan']
]);
if (in_array($row_data['golongan'], ['VITAMINS & MINERALS', 'NUTRITIONS'])) {