fixd calculation of sums for filtered transactions
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -35,14 +35,10 @@
|
||||
}
|
||||
|
||||
function checker(taglist, filter){
|
||||
// TODO: make case-insensitive
|
||||
for (var f of filter){
|
||||
var included = false;
|
||||
for (var t of taglist){
|
||||
if (t.toLowerCase() == f) {
|
||||
included = true;
|
||||
break;
|
||||
}
|
||||
if (t.toLowerCase() == f && (included = true)) break;
|
||||
}
|
||||
if (!included) return false;
|
||||
}
|
||||
|
||||
@@ -62,11 +62,12 @@ tr:hover .taglist .tag button {
|
||||
background: orange;
|
||||
color: black;
|
||||
}
|
||||
|
||||
.account .sums,
|
||||
.archive{
|
||||
background: black;
|
||||
}
|
||||
|
||||
.account .sums:hover,
|
||||
.archive.hover{
|
||||
background: orange;
|
||||
color: black;
|
||||
|
||||
@@ -365,6 +365,12 @@ textarea{
|
||||
display: inherit;
|
||||
}
|
||||
|
||||
.account .sums{
|
||||
position: sticky;
|
||||
bottom: 0;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.taglist .editor > span{
|
||||
display: inline-block;
|
||||
min-width: 150px;
|
||||
|
||||
Reference in New Issue
Block a user