Added Spaces to IBAN for IBAN View in Address View and Form.php

This commit is contained in:
Luca Haid
2024-04-16 09:06:50 +02:00
parent 6ed26c9055
commit 143ae600be

View File

@@ -572,7 +572,7 @@
$('#addressForm').submit(function(e) {
$("#error").hide();
$("#bank-error").hide();
$("#bbank_account_iban").val($("#bank_account_iban").val().replace(/\s/g, ''));
$("#bank_account_iban").val($("#bank_account_iban").val().replaceAll(/\s/g, ''));
if($('#billing_type').val() == "sepa") {
console.log("bankdata_valid (1): " + bankdata_valid);