Skip to content

Firefly III: a personal finances manager

Double check that deleted transaction journals are not included.

James Colef0028b33e92a
diff --git a/app/Support/Steam.php b/app/Support/Steam.php
index 65e4b148a6..0acae19e34 100644
--- a/app/Support/Steam.php
+++ b/app/Support/Steam.php
@@ -124,6 +124,7 @@ class Steam
->where('transaction_journals.date', '>=', $start->format('Y-m-d'))
->where('transaction_journals.date', '<=', $end->format('Y-m-d'))
->groupBy('transaction_journals.date')
+ ->whereNull('transaction_journals.deleted_at')
->get(['transaction_journals.date', DB::raw('SUM(transactions.amount) AS modified')]);
$currentBalance = $startBalance;
foreach ($set as $entry) {