From 8a2ac457c227bc9b4530982522fc26181c505eae Mon Sep 17 00:00:00 2001 From: James Cole Date: Wed, 20 May 2015 07:21:01 +0200 Subject: [PATCH] Name fix [skip ci] --- app/Helpers/Report/ReportQuery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Helpers/Report/ReportQuery.php b/app/Helpers/Report/ReportQuery.php index 851968d08f..9e51d908e8 100644 --- a/app/Helpers/Report/ReportQuery.php +++ b/app/Helpers/Report/ReportQuery.php @@ -113,7 +113,7 @@ class ReportQuery implements ReportQueryInterface $query->orderBy('transaction_journals.date'); // get everything - $data = $query->get(['transaction_journals.*', 'transaction_types.type', 'ac_from.name as name', 'ac_from.encrypted as account_encrypted']); + $data = $query->get(['transaction_journals.*', 'transaction_types.type', 'ac_to.name as name', 'ac_to.encrypted as account_encrypted']); $data->each( function (TransactionJournal $journal) {