From 47bd26de09f7cb75cb5be31fd90335b042e0a827 Mon Sep 17 00:00:00 2001 From: VE10-Sanjeev Date: Wed, 17 May 2023 13:33:34 +0530 Subject: [PATCH] filter list pd api SMC Archived : ps --- api/application/models/PD_Model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/api/application/models/PD_Model.php b/api/application/models/PD_Model.php index b6ea3f34..501d5980 100644 --- a/api/application/models/PD_Model.php +++ b/api/application/models/PD_Model.php @@ -355,6 +355,7 @@ class PD_Model extends SPARQ_Model { { $current_smc_lender_id = ENVIRONMENT == 'production' ? 7 : 35; //pk id of SMC in live and demo $this->db->WHERE('PDTRIGGER.fk_lender_id',$current_smc_lender_id); + $this->db->WHERE('PDTRIGGER.pd_status',ARCHIVED); } $this->db->ORDER_BY('PDTRIGGER.pd_id','DESC');