Employee hours

This commit is contained in:
2018-03-01 19:01:53 +01:00
parent 50cd8d8f08
commit 738ad80c49
9 changed files with 344 additions and 1 deletions
@@ -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 );
}
}