PDF generater added

This commit is contained in:
gandhimathi Bharathirajan 2017-04-21 12:27:39 +05:30
parent 9ea6c46a8b
commit a65b5f80d7

View File

@ -128,7 +128,19 @@ class Payroll_model extends CI_Model
$query = $this->db->get();
return $query->result();
}
/* *//**
* This function is used to get the PayOn details from T_Payroll_File
* @return array $result : This is result of the query
*/
function getEmpAll()
{
$this->db->select('Pay.EmpID as EmpId');
$this->db->from('T_Payroll Pay');
$this->db->order_by("Pay.EmpID", "asc");
$query = $this->db->get();
return $query->result_array();
}
}
?>