Fix for double controller name

This commit is contained in:
2018-03-07 19:45:31 +01:00
parent f50dbcabe2
commit 3241cc0c67
4 changed files with 6 additions and 15 deletions
@@ -16,14 +16,14 @@ dbo.reportsDataService = {
},
getRecapProjects: function(callback){
$.getJSON( 'index.php/reports/employeeHoursController/recapProjects' )
$.getJSON( 'index.php/reports/reportsController/recapProjects' )
.done( function ( data ) {
callback( data );
} );
},
getEmployeeHours: function ( employeeID, year, callback ) {
$.getJSON( 'index.php/reports/EmployeeHoursController/getMonthlyEmployeeHoursPerProject/' + employeeID + '/' + year )
$.getJSON( 'index.php/reports/reportsController/getMonthlyEmployeeHoursPerProject/' + employeeID + '/' + year )
.done( function ( data ) {
callback( data );
} );