Compare commits
2
Commits
fef0acb867
..
duidev
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4b915caad7 | ||
|
|
ab494fddf8 |
@@ -1731,12 +1731,12 @@ class DokterController extends Controller
|
|||||||
'antibiotikall' => $antibiotikall,
|
'antibiotikall' => $antibiotikall,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
$getsirab = SiraB::orderBy('family', 'ASC')->orderBy('spesies', 'ASC')->where('cek', '1')->get();
|
$getsirab = SiraB::orderBy('family', 'ASC')->orderBy('spesies', 'ASC')->where('cek', '0')->get();
|
||||||
foreach($getsirab as $row){
|
foreach($getsirab as $row){
|
||||||
$family = $row->family;
|
$family = $row->family;
|
||||||
$spesies= $row->spesies;
|
$spesies= $row->spesies;
|
||||||
$getallantibiotik = SiraB::where('family', $family)->where('spesies', $spesies)->get();
|
$getallantibiotik = SiraB::where('family', $family)->get();
|
||||||
foreach ($getallantibiotik as $row2){
|
foreach ($getallantibiotik as $row2){
|
||||||
SiraB::updateOrCreate(
|
SiraB::updateOrCreate(
|
||||||
[
|
[
|
||||||
@@ -1755,12 +1755,11 @@ class DokterController extends Controller
|
|||||||
'atu' => $row2->atu,
|
'atu' => $row2->atu,
|
||||||
'kelompok' => $row2->kelompok,
|
'kelompok' => $row2->kelompok,
|
||||||
'glassreportname' => trim($row2->glassreportname),
|
'glassreportname' => trim($row2->glassreportname),
|
||||||
'cek' => '0',
|
'cek' => '1',
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
echo json_encode($arrayfiles);
|
echo json_encode($arrayfiles);
|
||||||
} else if ($idpasien == 'Bakteri'){
|
} else if ($idpasien == 'Bakteri'){
|
||||||
$getsirab = Organisms::where('kelompok', 'biakankultur')->orderBy('category', 'ASC')->orderBy('name', 'ASC')->get();
|
$getsirab = Organisms::where('kelompok', 'biakankultur')->orderBy('category', 'ASC')->orderBy('name', 'ASC')->get();
|
||||||
|
|||||||
Reference in New Issue
Block a user