Skip to content

Firefly III: a personal finances manager

Add some debug to function

James Colefa7291234932
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']));