Credit Mananger Form Changes : ps

This commit is contained in:
Sanjeev 2021-06-30 21:45:39 +05:30
parent 4b6c6fb031
commit 2883aeda8d

View File

@ -1223,9 +1223,10 @@ class PD_Model extends SPARQ_Model {
$this->db->WHERE('TEMPLATEFORMS.fk_template_id',$template_id);
$this->db->WHERE('TEMPLATEFORMS.isactive',1);
// if( !(count($docs_to_be_collected) || count($pd_additional_requirements)) )
// {
// $this->db->WHERE('TEMPLATEFORMS.form_id != ',24); //credit managers specific queries form
// }
if(($pd_master_detials[0]['customer_segment_abbr'] == 'SAL') && (!(count($docs_to_be_collected) || count($pd_additional_requirements)))){
$this->db->WHERE('TEMPLATEFORMS.form_id != ',24); //credit managers specific queries form
}
if($pd_master_detials[0]['fk_pd_type'] == 3)
{
$this->db->WHERE('TEMPLATEFORMS.form_id != ',19);