Fix for double controller name
This commit is contained in:
@@ -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 );
|
||||
} );
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user