rapportrage dbois
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
/**
|
||||
* Created by Pensare Software.
|
||||
* User: Theo Weijmer
|
||||
* Date: 14/02/2018
|
||||
* Time: 11:14
|
||||
*/
|
||||
|
||||
|
||||
dbo.reportsDataService = {
|
||||
|
||||
getUsedYears: function ( callback ) {
|
||||
$.getJSON( 'index.php/reports/reportsdefaultcontroller/getUsedYears' )
|
||||
.done( function ( data ) {
|
||||
callback( data );
|
||||
} );
|
||||
},
|
||||
|
||||
getEmployeeHours: function ( employeeID, year, callback ) {
|
||||
$.getJSON( 'index.php/reports/EmployeeHoursController/getMonthlyEmployeeHoursPerProject/' + employeeID + '/' + year )
|
||||
.done( function ( data ) {
|
||||
callback( data );
|
||||
} )
|
||||
}
|
||||
|
||||
|
||||
|
||||
// getHoursPerEmployee
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user