Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
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.phpindex 5e8834374c..9aba295126 100644--- a/app/Helpers/Report/ReportQuery.php+++ b/app/Helpers/Report/ReportQuery.php@@ -164,6 +164,7 @@ class ReportQuery implements ReportQueryInterfacefunction (Builder $q) {$q->where('transaction_types.type', 'Transfer');$q->where('acm_from.data', '=', '"sharedAsset"');+ $q->where('acm_to.data','!=','"sharedAsset"');});}