Various code cleanup and fixed alignments.

This commit is contained in:
James Cole
2024-01-01 14:45:51 +01:00
parent f963ac63f1
commit f3773ebfc2
66 changed files with 460 additions and 460 deletions

View File

@@ -146,10 +146,10 @@ class UniqueIban implements ValidationRule
}
$query
= auth()->user()
->accounts()
->leftJoin('account_types', 'account_types.id', '=', 'accounts.account_type_id')
->where('accounts.iban', $iban)
->whereIn('account_types.type', $typesArray)
->accounts()
->leftJoin('account_types', 'account_types.id', '=', 'accounts.account_type_id')
->where('accounts.iban', $iban)
->whereIn('account_types.type', $typesArray)
;
if (null !== $this->account) {