Move findByIban

This commit is contained in:
James Cole
2016-10-10 07:16:05 +02:00
parent d1b56c2afa
commit 0ae9afd325
7 changed files with 45 additions and 38 deletions

View File

@@ -62,7 +62,7 @@ class AssetAccountIban extends BasicConverter implements ConverterInterface
}
// not mapped? Still try to find it first:
$account = $crud->findByIban($value, [AccountType::ASSET]);
$account = $repository->findByIban($value, [AccountType::ASSET]);
if (!is_null($account->id)) {
Log::debug('Found account by IBAN', ['id' => $account->id]);
$this->setCertainty(50);

View File

@@ -61,7 +61,7 @@ class OpposingAccountIban extends BasicConverter implements ConverterInterface
}
// not mapped? Still try to find it first:
$account = $crud->findByIban($value, []);
$account = $repository->findByIban($value, []);
if (!is_null($account->id)) {
Log::debug('Found account by IBAN', ['id' => $account->id]);
Log::info(