fixd calculation of sums for filtered transactions

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2026-04-20 21:51:12 +02:00
parent 9cdf303553
commit 8c0011d7ff
3 changed files with 9 additions and 6 deletions
@@ -35,14 +35,10 @@
} }
function checker(taglist, filter){ function checker(taglist, filter){
// TODO: make case-insensitive
for (var f of filter){ for (var f of filter){
var included = false; var included = false;
for (var t of taglist){ for (var t of taglist){
if (t.toLowerCase() == f) { if (t.toLowerCase() == f && (included = true)) break;
included = true;
break;
}
} }
if (!included) return false; if (!included) return false;
} }
@@ -62,11 +62,12 @@ tr:hover .taglist .tag button {
background: orange; background: orange;
color: black; color: black;
} }
.account .sums,
.archive{ .archive{
background: black; background: black;
} }
.account .sums:hover,
.archive.hover{ .archive.hover{
background: orange; background: orange;
color: black; color: black;
@@ -365,6 +365,12 @@ textarea{
display: inherit; display: inherit;
} }
.account .sums{
position: sticky;
bottom: 0;
z-index: 100;
}
.taglist .editor > span{ .taglist .editor > span{
display: inline-block; display: inline-block;
min-width: 150px; min-width: 150px;