Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fine tune income.
James Cole2396b75e3c22
diff --git a/app/Helpers/Report/ReportQuery.php b/app/Helpers/Report/ReportQuery.phpindex e9355eac14..ea10847ce4 100644--- a/app/Helpers/Report/ReportQuery.php+++ b/app/Helpers/Report/ReportQuery.php@@ -479,6 +479,8 @@ class ReportQuery implements ReportQueryInterface->leftJoin('transaction_types', 'transaction_types.id', '=', 'transaction_journals.transaction_type_id');if ($showSharedReports === false) {+ // show queries where transfer type is deposit, and its not to a shared account+ // or where its a transfer and its from a shared account (both count as incomes)$query->where(function ($query) {$query->where(@@ -495,6 +497,9 @@ class ReportQuery implements ReportQueryInterface);});+ } else {+ // any deposit goes:+ $query->where('transaction_types.type', 'Deposit');}$query->before($end)->after($start)->where('transaction_journals.user_id', Auth::user()->id)