Don't add inactive unhit bills, see #159

This commit is contained in:
James Cole 2016-02-04 08:55:06 +01:00
parent 15104de84c
commit 23f474b003

View File

@ -88,8 +88,10 @@ class ReportHelper implements ReportHelperInterface
} else {
$billLine->setHit(false);
}
if ($billLine->isHit() && $billLine->isActive()) {
$collection->addBill($billLine);
}
$collection->addBill($billLine);
}