fix(ibl-registration): filter get_tests_by_order hanya T_TestIsPrice = 'Y'
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -4365,9 +4365,9 @@ GROUP BY T_SampleStationID ";
|
||||
T_TestCode as test_code,
|
||||
T_OrderDetailPrice as price
|
||||
FROM t_orderdetail
|
||||
JOIN t_test ON T_OrderDetailT_TestID = T_TestID
|
||||
WHERE
|
||||
T_OrderDetailT_OrderHeaderID = ? AND
|
||||
JOIN t_test ON T_OrderDetailT_TestID = T_TestID AND T_TestIsPrice = 'Y'
|
||||
WHERE
|
||||
T_OrderDetailT_OrderHeaderID = ? AND
|
||||
T_OrderDetailIsActive = 'Y'
|
||||
ORDER BY T_TestName ASC";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user