Merge branch 'fronkdev' into 'master'

IBAN and BIC are always saved uppercase now

See merge request fronk/thetool!1167
This commit is contained in:
Frank Schubert
2025-04-03 17:53:46 +00:00
2 changed files with 6 additions and 6 deletions

View File

@@ -349,8 +349,8 @@ class AddressController extends mfBaseController {
$data['bank_account_bank'] = trim($r->bank_account_bank);
$data['bank_account_owner'] = trim($r->bank_account_owner);
$data['bank_account_iban'] = trim($r->bank_account_iban);
$data['bank_account_bic'] = trim($r->bank_account_bic);
$data['bank_account_iban'] = strtoupper(trim($r->bank_account_iban));
$data['bank_account_bic'] = strtoupper(trim($r->bank_account_bic));
$data['allow_contact'] = ($r->allow_contact) ? 1 : 0;
$data['allow_spin'] = ($r->allow_spin) ? 1 : 0;

View File

@@ -746,8 +746,8 @@ class OrderController extends mfBaseController {
$billing_data['bank_account_bank'] = $r->bank_account_bank;
$billing_data['bank_account_owner'] = $r->bank_account_owner;
$billing_data['bank_account_iban'] = $r->bank_account_iban;
$billing_data['bank_account_bic'] = $r->bank_account_bic;
$billing_data['bank_account_iban'] = strtoupper(trim($r->bank_account_iban));
$billing_data['bank_account_bic'] = strtoupper(trim($r->bank_account_bic));
} elseif($owner_new) {
if($r->billing_type == "sepa") {
$owner_data['billing_type'] = "sepa";
@@ -764,8 +764,8 @@ class OrderController extends mfBaseController {
$owner_data['bank_account_bank'] = $r->bank_account_bank;
$owner_data['bank_account_owner'] = $r->bank_account_owner;
$owner_data['bank_account_iban'] = $r->bank_account_iban;
$owner_data['bank_account_bic'] = $r->bank_account_bic;
$owner_data['bank_account_iban'] = strtoupper(trim($r->bank_account_iban));
$owner_data['bank_account_bic'] = strtoupper(trim($r->bank_account_bic));
}
if(!$owner) {