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){
|
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;
|
||||||
|
|||||||
Reference in New Issue
Block a user