James Cole
2023-03-07 19:36:54 +01:00
parent 8ee358551c
commit b942fa4b09
5 changed files with 67 additions and 1 deletions

View File

@@ -108,6 +108,7 @@ trait WithdrawalValidation
if (null !== $found) {
$type = $found->accountType->type;
if (in_array($type, $validTypes, true)) {
$this->destination = $found;
return true;
}
$this->destError = (string)trans('validation.withdrawal_dest_bad_data', ['id' => $accountId, 'name' => $accountName]);