fix rare bug in balance report output if the budgeted amount happens to be zero.
See emails in group from John Rakestraw circa November 2011
This commit is contained in:
parent
ce31029236
commit
fa46f3442d
1 changed files with 2 additions and 2 deletions
|
|
@ -465,8 +465,8 @@ public:
|
|||
" 12 + 1 + 12 + 1 + 12, true, color))"
|
||||
" %(ansify_if("
|
||||
" justify((get_at(display_total, 1) ? "
|
||||
" (100% * scrub(get_at(display_total, 0))) / "
|
||||
" -scrub(get_at(display_total, 1)) : 0), "
|
||||
" (100% * quantity(scrub(get_at(display_total, 0)))) / "
|
||||
" -quantity(scrub(get_at(display_total, 1))) : 0), "
|
||||
" 5, -1, true, false),"
|
||||
" magenta if (color and get_at(display_total, 1) and "
|
||||
" (abs(quantity(scrub(get_at(display_total, 0))) / "
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue