PD FORM ORDER CHNAGED
This commit is contained in:
parent
b58897aab8
commit
87ae0cd078
@ -739,6 +739,7 @@ class PD_Model extends SPARQ_Model {
|
|||||||
$this->db->FROM(TEMPLATEFORMS.' as TEMPLATEFORMS');
|
$this->db->FROM(TEMPLATEFORMS.' as TEMPLATEFORMS');
|
||||||
$this->db->JOIN(PDFORMS.' as PDFORMS','TEMPLATEFORMS.form_id = PDFORMS.pd_form_id');
|
$this->db->JOIN(PDFORMS.' as PDFORMS','TEMPLATEFORMS.form_id = PDFORMS.pd_form_id');
|
||||||
$this->db->WHERE('TEMPLATEFORMS.fk_template_id',$template_id);
|
$this->db->WHERE('TEMPLATEFORMS.fk_template_id',$template_id);
|
||||||
|
$this->db->WHERE('TEMPLATEFORMS.isactive',1);
|
||||||
$this->db->ORDER_BY('PDFORMS.pd_form_order');
|
$this->db->ORDER_BY('PDFORMS.pd_form_order');
|
||||||
$template_forms = $this->db->GET()->result_array();
|
$template_forms = $this->db->GET()->result_array();
|
||||||
foreach($template_forms as $template_key => $value)
|
foreach($template_forms as $template_key => $value)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user