Skip to content

Firefly III: a personal finances manager

Don't add inactive unhit bills, see #159

James Cole23f474b00342
diff --git a/app/Helpers/Report/ReportHelper.php b/app/Helpers/Report/ReportHelper.php
index aafa134805..069aa947ee 100644
--- a/app/Helpers/Report/ReportHelper.php
+++ b/app/Helpers/Report/ReportHelper.php
@@ -88,8 +88,10 @@ class ReportHelper implements ReportHelperInterface
} else {
$billLine->setHit(false);
}
+ if ($billLine->isHit() && $billLine->isActive()) {
+ $collection->addBill($billLine);
+ }
- $collection->addBill($billLine);
}