Update
This commit is contained in:
@@ -1222,6 +1222,10 @@ class DokterController extends Controller
|
||||
if ($komponen == 'otomatis' AND $kuman == ''){
|
||||
$cekada = ResultSample::where('accession_number', 'LIKE', $nofoto.'%')->first();
|
||||
$kuman = $cekada->organism ?? '';
|
||||
if ($kuman == ''){
|
||||
$cekkumanotomatis = KomponenJawaban::where('accnumber', $nofoto)->where('komponen', 'bakteri')->first();
|
||||
$kuman = $cekkumanotomatis->isidata ?? '';
|
||||
}
|
||||
}
|
||||
$data = $data->where('kuman', $kuman);
|
||||
$data = $data->orderByRaw($order)->paginate($limit);
|
||||
|
||||
Reference in New Issue
Block a user