FHM09062601IBL - filter get_vaccines: is_packet = N di ss_price_mou

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
sas.fajri
2026-06-11 15:11:29 +07:00
parent e3c9909c84
commit 520c77484b

View File

@@ -3196,12 +3196,13 @@ function get_data_order_anamnesis($orderID){
$search_esc = $this->db_onedev->escape_str($search);
$sql = "SELECT DISTINCT
spm.T_TestID as id,
spm.T_TestID as id,
t.T_TestSasCode as code,
t.T_TestName as name
FROM one_lab.ss_price_mou spm
JOIN one_lab.t_test t ON spm.T_TestID = t.T_TestID AND t.T_TestIsActive = 'Y'
WHERE spm.Ss_PriceMouM_MouID = {$mou_id}
AND spm.is_packet = 'N'
AND t.T_TestName LIKE CONCAT('%', '{$search_esc}', '%')
ORDER BY t.T_TestName
LIMIT 50";