From fa72912349320db7bce83a20f90b28037b328823 Mon Sep 17 00:00:00 2001 From: James Cole Date: Mon, 25 Jul 2022 05:47:26 +0200 Subject: [PATCH] Add some debug to function --- app/Http/Controllers/Transaction/ShowController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Http/Controllers/Transaction/ShowController.php b/app/Http/Controllers/Transaction/ShowController.php index a737890466..52481f5562 100644 --- a/app/Http/Controllers/Transaction/ShowController.php +++ b/app/Http/Controllers/Transaction/ShowController.php @@ -101,6 +101,7 @@ class ShowController extends Controller $groupArray = $transformer->transformObject($transactionGroup); // do some calculations: + Log::debug('Now going to getAmounts()'); $amounts = $this->getAmounts($groupArray); $accounts = $this->getAccounts($groupArray); @@ -137,6 +138,7 @@ class ShowController extends Controller */ private function getAmounts(array $group): array { + Log::debug('Now in getAmounts()'); $amounts = []; foreach ($group['transactions'] as $transaction) { Log::debug(sprintf('Currency symbol is "%s"', $transaction['currency_symbol']));