Skip to content

Firefly III: a personal finances manager

Fix month report so transfers from a shared account to another shared account do not count as income.

James Cole425552988a76
diff --git a/app/Helpers/Report/ReportQuery.php b/app/Helpers/Report/ReportQuery.php
index 5e8834374c..9aba295126 100644
--- a/app/Helpers/Report/ReportQuery.php
+++ b/app/Helpers/Report/ReportQuery.php
@@ -164,6 +164,7 @@ class ReportQuery implements ReportQueryInterface
function (Builder $q) {
$q->where('transaction_types.type', 'Transfer');
$q->where('acm_from.data', '=', '"sharedAsset"');
+ $q->where('acm_to.data','!=','"sharedAsset"');
}
);
}