Merge branch 'feature/better-iban-view' into 'master'

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

See merge request fronk/thetool!327
This commit is contained in:
Luca Haid
2024-04-16 07:07:06 +00:00

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);