fix for employeehours (remove) and refresh active offers / projects
This commit is contained in:
@@ -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 );
|
||||
} )
|
||||
|
||||
Reference in New Issue
Block a user