* code format cleanup

* load total collections and future/finished ones
This commit is contained in:
2019-12-09 14:18:27 +01:00
parent 34ab59c9a3
commit 16270da70f
20 changed files with 303 additions and 113 deletions

View File

@ -12,6 +12,24 @@ $(document).ready(function () {
}
}, 'json');
//load total collections
$.post('/senddata/wastedata', 'action=getcollectionnumber', function (data) {
console.log(data);
$("#total-connection-labels").html(data.collectionnumber);
}, 'json');
//load future collections
$.post('/senddata/wastedata', 'action=getcollectioninfuture', function (data) {
console.log(data);
$("#planed-collection-label").html(data.collectionnumber);
}, 'json');
//load future collections
$.post('/senddata/wastedata', 'action=getfinishedcollections', function (data) {
console.log(data);
$("#finished-collection-label").html(data.collectionnumber);
}, 'json');
var citytable;
function reloadtable() {