Implement cleaning to set all historic negative balances to zero

This commit is contained in:
jacob1123 committed 2021-12-07 21:59:06 +00:00
1 parent edd1319222
commit a0ebdd01aa
7 files changed
+107 -9

No files matched your search

+2 -2
View File
@@ -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}}