Implement cleaning to set all historic negative balances to zero
This commit is contained in:
@ -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