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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user