X-Git-Url: http://wagnertech.de/git?p=kivitendo-erp.git;a=blobdiff_plain;f=SL%2FDB%2FBankAccount.pm;fp=SL%2FDB%2FBankAccount.pm;h=fba783c73ae9312a99c695d1525c98a3bc08136a;hp=5f4a3e4765899c9155b20228939491a9cb6bf5e0;hb=53593baa211863fbf66540cf1bcc36c8fb37257f;hpb=deb4d2dbb676d7d6f69dfe7815d6e0cb09bd4a44 diff --git a/SL/DB/BankAccount.pm b/SL/DB/BankAccount.pm index 5f4a3e476..fba783c73 100644 --- a/SL/DB/BankAccount.pm +++ b/SL/DB/BankAccount.pm @@ -1,6 +1,3 @@ -# This file has been auto-generated only because it didn't exist. -# Feel free to modify it at will; it will not be overwritten automatically. - package SL::DB::BankAccount; use strict; @@ -8,6 +5,7 @@ use strict; use SL::DB::MetaSetup::BankAccount; use SL::DB::Manager::BankAccount; use SL::DB::Helper::ActsAsList; +use SL::DB::Helper::IBANValidation; __PACKAGE__->meta->initialize; @@ -39,6 +37,7 @@ sub validate { }; push @errors, $::locale->text('The IBAN is missing.') unless $self->{iban}; + push @errors, $self->validate_ibans; return @errors; }