again committed : ps
This commit is contained in:
parent
47bd26de09
commit
d6e2dcd62a
@ -355,7 +355,7 @@ class PD_Model extends SPARQ_Model {
|
|||||||
{
|
{
|
||||||
$current_smc_lender_id = ENVIRONMENT == 'production' ? 7 : 35; //pk id of SMC in live and demo
|
$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.fk_lender_id',$current_smc_lender_id);
|
||||||
$this->db->WHERE('PDTRIGGER.pd_status',ARCHIVED);
|
$this->db->WHERE('PDTRIGGER.pd_status !=',ARCHIVED);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->db->ORDER_BY('PDTRIGGER.pd_id','DESC');
|
$this->db->ORDER_BY('PDTRIGGER.pd_id','DESC');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user