diff --git a/app/Support/Binder/StaticConfigKey.php b/app/Support/Binder/StaticConfigKey.php index 761769449e..5058435303 100644 --- a/app/Support/Binder/StaticConfigKey.php +++ b/app/Support/Binder/StaticConfigKey.php @@ -33,7 +33,8 @@ class StaticConfigKey public static array $accepted = [ 'firefly.version', 'firefly.api_version', - 'firefly.default_location' + 'firefly.default_location', + 'firefly.account_to_transaction' ]; /** * @param string $value diff --git a/app/Transformers/BillTransformer.php b/app/Transformers/BillTransformer.php index e09d4e93b8..240f28faa0 100644 --- a/app/Transformers/BillTransformer.php +++ b/app/Transformers/BillTransformer.php @@ -148,11 +148,6 @@ class BillTransformer extends AbstractTransformer $start = clone $bill->date; Log::debug(sprintf('Bill start date is %s', $start->format('Y-m-d'))); while ($start < $date) { - Log::debug( - sprintf( - '%s (bill start date) < %s (given date) so we jump ahead one period (with a skip maybe).', $start->format('Y-m-d'), $date->format('Y-m-d') - ) - ); $start = app('navigation')->addPeriod($start, $bill->repeat_freq, $bill->skip); } Log::debug(sprintf('End of loop, bill start date is now %s', $start->format('Y-m-d')));