Diversen nav mail Peter

This commit is contained in:
2018-08-05 10:48:53 +02:00
parent 16616f13d2
commit b0a866ba11
7 changed files with 129 additions and 6 deletions
@@ -23,6 +23,13 @@ dbo.vatDataService = {
saveVat: function ( vatID, vatrate ) {
$.post( 'index.php/beheer/vatController/saveVat/' + vatID, {vatrate: vatrate} );
},
removeVat: function ( vatID, callback ) {
$.getJSON( 'index.php/beheer/vatController/removeVat/' + vatID )
.done( function (data) {
callback(data);
} );
}
}