Add debug info and update routine for multiple accounts.

This commit is contained in:
James Cole
2018-05-23 07:38:03 +02:00
parent 50bf79ab18
commit 039e8d6e17
6 changed files with 28 additions and 4 deletions

View File

@@ -108,6 +108,8 @@ trait TransactionServiceTrait
$repository = app(AccountRepositoryInterface::class);
$repository->setUser($this->user);
Log::debug(sprintf('Going to find account #%d ("%s")', $accountId, $accountName));
if (null === $expectedType) {
return $repository->findNull($accountId);
}