refs #6980 fix iban
gitea/salix/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Carlos Satorres 2024-03-05 09:48:53 +01:00
parent 05380df4f8
commit 2b299eb32b
2 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,6 @@ module.exports = function(iban, countryCode) {
if (typeof iban != 'string') return false;
if (countryCode?.toLowerCase() != 'es') return true;
iban = iban.toUpperCase();
iban = trim(iban);
iban = iban.replace(/\s/g, '');

View File

@ -33,6 +33,7 @@
<vn-horizontal>
<vn-textfield
label="IBAN"
ng-keyup="$ctrl.client.iban = $ctrl.client.iban.toUpperCase()"
ng-model="$ctrl.client.iban"
rule
on-change="$ctrl.autofillBic()"