Implement cleaning to set all historic negative balances to zero
This commit is contained in:
1 parent
edd1319222
commit
a0ebdd01aa
7 files changed
+107
-9
No files matched your search
+2
-2
@@ -1,11 +1,11 @@
|
||||
{{define "amount"}}
|
||||
<span class="right {{if .IsZero}}zero{{else if not .GetPositive}}negative{{end}}">
|
||||
<span class="right {{if .IsZero}}zero{{else if not .IsPositive}}negative{{end}}">
|
||||
{{printf "%.2f" .GetFloat64}}
|
||||
</span>
|
||||
{{end}}
|
||||
|
||||
{{define "amount-cell"}}
|
||||
<td class="right {{if .IsZero}}zero{{else if not .GetPositive}}negative{{end}}">
|
||||
<td class="right {{if .IsZero}}zero{{else if not .IsPositive}}negative{{end}}">
|
||||
{{printf "%.2f" .GetFloat64}}
|
||||
</td>
|
||||
{{end}}
|
||||
Reference in new issue
Block a user