fix for employeehours (remove) and refresh active offers / projects

This commit is contained in:
2019-04-13 10:39:58 +02:00
parent a71a7096d6
commit 0a891af5ec
6 changed files with 17 additions and 10 deletions
@@ -35,8 +35,8 @@ dbo.employeehoursDataService = {
} );
},
removeEmployeehour: function ( employeehourID, callback ) {
$.getJSON( 'index.php/projects/employeeHoursController/removeEmployeehour/' + employeehourID )
removeEmployeehour: function ( employeehourID, hourType, callback ) {
$.getJSON( 'index.php/projects/employeeHoursController/removeEmployeehour/' + employeehourID + '/' + hourType )
.done( function ( data ) {
callback( data );
} )