PDF generater added
This commit is contained in:
parent
9ea6c46a8b
commit
a65b5f80d7
@ -128,7 +128,19 @@ class Payroll_model extends CI_Model
|
|||||||
$query = $this->db->get();
|
$query = $this->db->get();
|
||||||
return $query->result();
|
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();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
Loading…
Reference in New Issue
Block a user