Fix hard coded site ID

This commit is contained in:
James Cole
2020-10-04 07:25:30 +02:00
parent 4d2d9d4d6e
commit 9f4e950a70
4 changed files with 4 additions and 4 deletions

View File

@@ -137,7 +137,7 @@ function getBalanceBox() {
$.getJSON('json/box/balance').done(function (data) {
if (data.size === 1) {
// show balance in "sums", show single entry in list.
for (x in data.sums) {
for (var x in data.sums) {
$('#box-balance-sums').html(data.sums[x]);
$('#box-balance-list').html(data.incomes[x] + ' + ' + data.expenses[x]);
}