Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Transfer fix.
James Cole4838670649a2
diff --git a/app/Helpers/Report/ReportQuery.php b/app/Helpers/Report/ReportQuery.phpindex 0b7b8a65cd..6775efa21d 100644--- a/app/Helpers/Report/ReportQuery.php+++ b/app/Helpers/Report/ReportQuery.php@@ -367,7 +367,7 @@ class ReportQuery implements ReportQueryInterface$query = $this->queryJournalsWithTransactions($start, $end);// withdrawals from any account are an expense.- // transfers away, to an account not in the list, are an expense.+ // transfers away, to an account not in the list, but shared, are an expense.$query->where(function (Builder $query) use ($ids) {@@ -380,6 +380,7 @@ class ReportQuery implements ReportQueryInterfacefunction (Builder $q) use ($ids) {$q->where('transaction_types.type', TransactionType::TRANSFER);$q->whereNotIn('ac_to.id', $ids);+ $q->where('acm_to.data', '=', '"sharedAsset"');});}