Diverse aanpassing nav mail Peter

This commit is contained in:
2019-02-22 14:19:03 +01:00
parent d71692f320
commit 695f6c6960
23 changed files with 295 additions and 79 deletions
@@ -8,8 +8,8 @@
dbo.invoiceDataService = {
getInvoiceOverview: function ( year, callback ) {
$.getJSON( 'index.php/reports/reportsController/getInvoiceOverview/' + year )
getInvoiceOverview: function ( year, orderType, orderDirection, archive, callback ) {
$.getJSON( 'index.php/reports/reportsController/getInvoiceOverview/' + year + '/' + orderType + '/' + orderDirection + '/' + archive )
.done( function ( data ) {
callback( data );
} );
@@ -15,8 +15,8 @@ dbo.reportsDataService = {
} );
},
getRecapProjects: function(callback){
$.getJSON( 'index.php/reports/reportsController/recapProjects' )
getRecapProjects: function(archive, callback){
$.getJSON( 'index.php/reports/reportsController/recapProjects/' + archive )
.done( function ( data ) {
callback( data );
} );