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
@@ -9,18 +9,9 @@
dbo.invoiceDataService = {
getInvoiceOverview: function ( year, callback ) {
$.getJSON( 'index.php/reports/employeeHoursController/getInvoiceOverview/' + year )
.done( function ( data ) {
callback( data );
} );
},
getMonthDetails: function ( year, callback ) {
$.getJSON( 'index.php/reports/employeeHoursController/getMonthDetails/' + year )
$.getJSON( 'index.php/reports/reportsController/getInvoiceOverview/' + year )
.done( function ( data ) {
callback( data );
} );
}
}
};