PD
This commit is contained in:
parent
01ba037b65
commit
01d62602a0
@ -105,6 +105,7 @@ class Template_Management_Controller extends REST_Controller {
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
$id = $this->Template_Management_Model->saveRecords($template_lender_detail,LENDERTEMPLATE);
|
$id = $this->Template_Management_Model->saveRecords($template_lender_detail,LENDERTEMPLATE);
|
||||||
if($id != "" || $id != null){ $count++; }
|
if($id != "" || $id != null){ $count++; }
|
||||||
}
|
}
|
||||||
|
|||||||
@ -64,7 +64,7 @@ class PD_Model extends SPARQ_Model {
|
|||||||
$this->db->ORDER_BY('PDTRIGGER.pd_id',$sort);
|
$this->db->ORDER_BY('PDTRIGGER.pd_id',$sort);
|
||||||
$this->db->LIMIT($limit,$page);
|
$this->db->LIMIT($limit,$page);
|
||||||
$result_array = $this->db->GET()->result_array();
|
$result_array = $this->db->GET()->result_array();
|
||||||
print_r($this->db->last_query());
|
//print_r($this->db->last_query());
|
||||||
if(count($result_array) != 0)
|
if(count($result_array) != 0)
|
||||||
{
|
{
|
||||||
foreach($result_array as $key => $result)
|
foreach($result_array as $key => $result)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user