Fix display of amount. See issue #129

This commit is contained in:
James Cole
2015-12-11 18:15:37 +01:00
parent 4a2823bcba
commit 28c3cfe084
3 changed files with 4 additions and 4 deletions

View File

@@ -37,6 +37,7 @@ class Category
// spent is minus zero for an expense report:
if ($category->spent < 0) {
$this->categories->push($category);
$this->addTotal($category->spent);
}
}