fix ucase
This commit is contained in:
@@ -8,35 +8,35 @@
|
|||||||
dbo.employeehoursDataService = {
|
dbo.employeehoursDataService = {
|
||||||
|
|
||||||
getEmployeehours: function ( $month, $year, callback ) {
|
getEmployeehours: function ( $month, $year, callback ) {
|
||||||
$.getJSON( 'index.php/projects/employeehoursController/getEmployeehours/' + $month + '/' + $year )
|
$.getJSON( 'index.php/projects/employeeHoursController/getEmployeehours/' + $month + '/' + $year )
|
||||||
.done( function ( data ) {
|
.done( function ( data ) H
|
||||||
callback( data );
|
callback( data );
|
||||||
} );
|
} );
|
||||||
},
|
},
|
||||||
|
|
||||||
getMonthlyEmployeehours : function(month, $year, callback){
|
getMonthlyEmployeehours : function(month, $year, callback){
|
||||||
$.getJSON( 'index.php/reports/employeehoursController/getMonthlyEmployeehours/' + month + '/' + $year )
|
$.getJSON( 'index.php/reports/employeeHoursController/getMonthlyEmployeehours/' + month + '/' + $year )
|
||||||
.done( function ( data ) {
|
.done( function ( data ) {
|
||||||
callback( data );
|
callback( data );
|
||||||
} );
|
} );
|
||||||
},
|
},
|
||||||
|
|
||||||
getHourtypes: function ( callback ) {
|
getHourtypes: function ( callback ) {
|
||||||
$.getJSON( 'index.php/projects/employeehoursController/getHourtypes' )
|
$.getJSON( 'index.php/projects/employeeHoursController/getHourtypes' )
|
||||||
.done( function ( data ) {
|
.done( function ( data ) {
|
||||||
callback( data );
|
callback( data );
|
||||||
} );
|
} );
|
||||||
},
|
},
|
||||||
|
|
||||||
saveEmployeehour: function ( submitDATA, callback ) {
|
saveEmployeehour: function ( submitDATA, callback ) {
|
||||||
$.post( 'index.php/projects/employeehoursController/saveEmployeehour', submitDATA, 'json' )
|
$.post( 'index.php/projects/employeeHoursController/saveEmployeehour', submitDATA, 'json' )
|
||||||
.done( function ( data ) {
|
.done( function ( data ) {
|
||||||
callback( data );
|
callback( data );
|
||||||
} );
|
} );
|
||||||
},
|
},
|
||||||
|
|
||||||
removeEmployeehour: function ( employeehourID, callback ) {
|
removeEmployeehour: function ( employeehourID, callback ) {
|
||||||
$.getJSON( 'index.php/projects/employeehoursController/removeEmployeehour/' + employeehourID )
|
$.getJSON( 'index.php/projects/employeeHoursController/removeEmployeehour/' + employeehourID )
|
||||||
.done( function ( data ) {
|
.done( function ( data ) {
|
||||||
callback( data );
|
callback( data );
|
||||||
} )
|
} )
|
||||||
|
|||||||
Reference in New Issue
Block a user