Employee hours
This commit is contained in:
@@ -43,5 +43,15 @@ class EmployeeHoursController extends MY_Controller {
|
||||
$this->json( $monthlyhours );
|
||||
}
|
||||
|
||||
public function getMonthlyEmployeehours( $month, $year )
|
||||
{
|
||||
$sql = QEmployeeHours::fire( $month, $year );
|
||||
|
||||
$query = $this->db->query( $sql );
|
||||
|
||||
$result = $query->result();
|
||||
|
||||
$this->json( $result );
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user