This commit is contained in:
2026-07-17 00:41:09 +02:00
parent 9d96ecadfb
commit 9641eab2f4
2 changed files with 30 additions and 28 deletions
+27 -27
View File
@@ -277,20 +277,20 @@
"receipts": {
"index.php": {
"type": "-",
"size": 2713,
"size": 3777,
"lmtime": 1783364332599,
"modified": false
"modified": true
},
"new.php": {
"type": "-",
"size": 1165,
"size": 1280,
"lmtime": 1783364292863,
"modified": false
"modified": true
},
"review.php": {
"type": "-",
"size": 5620,
"lmtime": 1783367409167,
"size": 6685,
"lmtime": 1784238652991,
"modified": false
},
"show.php": {
@@ -318,6 +318,26 @@
},
"cgi-bin": {},
".claude": {},
".codebase-memory": {
".gitattributes": {
"type": "-",
"size": 123,
"lmtime": 1783867604274,
"modified": false
},
"artifact.json": {
"type": "-",
"size": 263,
"lmtime": 1783867604273,
"modified": false
},
"graph.db.zst": {
"type": "-",
"size": 315382,
"lmtime": 1783867604244,
"modified": false
}
},
"composer.json": {
"type": "-",
"size": 1088,
@@ -557,27 +577,7 @@
}
},
"vendor": {},
"writable": {},
".codebase-memory": {
".gitattributes": {
"type": "-",
"size": 123,
"lmtime": 1783867604274,
"modified": false
},
"artifact.json": {
"type": "-",
"size": 263,
"lmtime": 1783867604273,
"modified": false
},
"graph.db.zst": {
"type": "-",
"size": 315382,
"lmtime": 1783867604244,
"modified": false
}
}
"writable": {}
}
},
"$version": 1
+3 -1
View File
@@ -119,9 +119,11 @@
preview.innerHTML = '<li class="list-group-item text-muted">Brak przypisanych pozycji — nic nie zostanie zaksięgowane.</li>';
return;
}
const total = keys.reduce((sum, k) => sum + groups[k].sum, 0);
preview.innerHTML = keys.map((k) =>
`<li class="list-group-item d-flex flex-column flex-sm-row justify-content-between gap-1"><span>${groups[k].label}</span><strong>${fmt(groups[k].sum)}</strong></li>`
).join('');
).join('') +
`<li class="list-group-item d-flex justify-content-between border-top"><strong>Razem</strong><strong>${fmt(total)}</strong></li>`;
}
rows.forEach((row) => {
row.querySelector('.js-cat').addEventListener('change', render);