Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix a bug where an transfer to and from a shared asset would count as an expense/income.
James Colee5b88be5fab5
diff --git a/app/Helpers/Report/ReportQuery.php b/app/Helpers/Report/ReportQuery.phpindex 9aba295126..5c98a171d4 100644--- a/app/Helpers/Report/ReportQuery.php+++ b/app/Helpers/Report/ReportQuery.php@@ -50,6 +50,7 @@ class ReportQuery implements ReportQueryInterfacefunction (Builder $q) { // and transfers from a shared account.$q->where('transaction_types.type', 'Transfer');$q->where('acm_to.data', '=', '"sharedAsset"');+ $q->where('acm_from.data', '!=', '"sharedAsset"');});}