Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fixed a bug where consecutive payments from one source would not be summed up.
James Cole262d4f92d43f
diff --git a/app/Helpers/Report/ReportQuery.php b/app/Helpers/Report/ReportQuery.phpindex fc26592564..3992719f89 100644--- a/app/Helpers/Report/ReportQuery.php+++ b/app/Helpers/Report/ReportQuery.php@@ -230,7 +230,9 @@ class ReportQuery implements ReportQueryInterface'transaction_journals.description','transaction_journals.encrypted','transaction_types.type',- 't_to.amount', 'transaction_journals.date', 't_from.account_id as account_id',+ DB::Raw('SUM(`t_to`.`amount`) as `amount`'),+ 'transaction_journals.date',+ 't_from.account_id as account_id','ac_from.name as name']);}