mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Added some (yet without function) information icons. [skip ci] [skip Scrutinizer]
This commit is contained in:
@@ -80,11 +80,13 @@ class ReportHelper implements ReportHelperInterface
|
||||
|
||||
$entry = $journals->filter(
|
||||
function (TransactionJournal $journal) use ($bill) {
|
||||
return $journal->bill_id == $bill->id;
|
||||
return $journal->bill_id === $bill->id;
|
||||
}
|
||||
);
|
||||
if (!is_null($entry->first())) {
|
||||
$billLine->setAmount($entry->first()->journalAmount);
|
||||
$first = $entry->first();
|
||||
if (!is_null($first)) {
|
||||
$billLine->setTransactionJournalId($first->id);
|
||||
$billLine->setAmount($first->journalAmount);
|
||||
$billLine->setHit(true);
|
||||
} else {
|
||||
$billLine->setHit(false);
|
||||
@@ -93,7 +95,6 @@ class ReportHelper implements ReportHelperInterface
|
||||
$collection->addBill($billLine);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
return $collection;
|
||||
|
Reference in New Issue
Block a user