FHM09062601IBL - fix load_klinik tests: ganti db_onedev ke db_smartone, tambah schema one_lab ke ss_price_mou
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -4792,13 +4792,13 @@ GROUP BY T_SampleStationID ";
|
||||
$rst['companies'] = $row_company ? [$row_company] : [];
|
||||
|
||||
// Tests dari order_detail_order — format identik registration_v37 selectPx
|
||||
$detail_rows = $this->db_onedev->query(
|
||||
$detail_rows = $this->db_smartone->query(
|
||||
"SELECT odo.*,
|
||||
spm.px_type, spm.T_TestIsCito,
|
||||
spm.nat_test AS spm_nat_test,
|
||||
spm.child_test AS spm_child_test
|
||||
FROM one_klinik.order_detail_order odo
|
||||
LEFT JOIN ss_price_mou spm ON spm.Ss_PriceMouID = odo.orderDetailOrderSsPriceMouID
|
||||
LEFT JOIN one_lab.ss_price_mou spm ON spm.Ss_PriceMouID = odo.orderDetailOrderSsPriceMouID
|
||||
WHERE odo.orderDetailOrderOrderID = ? AND odo.orderDetailOrderIsActive = 'Y'
|
||||
ORDER BY odo.orderDetailOrderID ASC",
|
||||
[$row_header['orderID']]
|
||||
|
||||
Reference in New Issue
Block a user