Commit 710c1859 authored by Jérome Perrin's avatar Jérome Perrin

budget consumption report: display 0 instead of NaN when there's no budget

parent 833a8c11
...@@ -291,7 +291,7 @@ for budget in budget_list:\n ...@@ -291,7 +291,7 @@ for budget in budget_list:\n
if not engaged_budget:\n if not engaged_budget:\n
engaged_budget = 0\n engaged_budget = 0\n
\n \n
initial_budget = None\n initial_budget = 0\n
if cell is not None:\n if cell is not None:\n
initial_budget = cell.getQuantity() * sign\n initial_budget = cell.getQuantity() * sign\n
\n \n
......
379 380
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment