IBAN and BIC are always saved uppercase now
This commit is contained in:
@@ -349,8 +349,8 @@ class AddressController extends mfBaseController {
|
|||||||
|
|
||||||
$data['bank_account_bank'] = trim($r->bank_account_bank);
|
$data['bank_account_bank'] = trim($r->bank_account_bank);
|
||||||
$data['bank_account_owner'] = trim($r->bank_account_owner);
|
$data['bank_account_owner'] = trim($r->bank_account_owner);
|
||||||
$data['bank_account_iban'] = trim($r->bank_account_iban);
|
$data['bank_account_iban'] = strtoupper(trim($r->bank_account_iban));
|
||||||
$data['bank_account_bic'] = trim($r->bank_account_bic);
|
$data['bank_account_bic'] = strtoupper(trim($r->bank_account_bic));
|
||||||
$data['allow_contact'] = ($r->allow_contact) ? 1 : 0;
|
$data['allow_contact'] = ($r->allow_contact) ? 1 : 0;
|
||||||
$data['allow_spin'] = ($r->allow_spin) ? 1 : 0;
|
$data['allow_spin'] = ($r->allow_spin) ? 1 : 0;
|
||||||
|
|
||||||
|
|||||||
@@ -746,8 +746,8 @@ class OrderController extends mfBaseController {
|
|||||||
|
|
||||||
$billing_data['bank_account_bank'] = $r->bank_account_bank;
|
$billing_data['bank_account_bank'] = $r->bank_account_bank;
|
||||||
$billing_data['bank_account_owner'] = $r->bank_account_owner;
|
$billing_data['bank_account_owner'] = $r->bank_account_owner;
|
||||||
$billing_data['bank_account_iban'] = $r->bank_account_iban;
|
$billing_data['bank_account_iban'] = strtoupper(trim($r->bank_account_iban));
|
||||||
$billing_data['bank_account_bic'] = $r->bank_account_bic;
|
$billing_data['bank_account_bic'] = strtoupper(trim($r->bank_account_bic));
|
||||||
} elseif($owner_new) {
|
} elseif($owner_new) {
|
||||||
if($r->billing_type == "sepa") {
|
if($r->billing_type == "sepa") {
|
||||||
$owner_data['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_bank'] = $r->bank_account_bank;
|
||||||
$owner_data['bank_account_owner'] = $r->bank_account_owner;
|
$owner_data['bank_account_owner'] = $r->bank_account_owner;
|
||||||
$owner_data['bank_account_iban'] = $r->bank_account_iban;
|
$owner_data['bank_account_iban'] = strtoupper(trim($r->bank_account_iban));
|
||||||
$owner_data['bank_account_bic'] = $r->bank_account_bic;
|
$owner_data['bank_account_bic'] = strtoupper(trim($r->bank_account_bic));
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!$owner) {
|
if(!$owner) {
|
||||||
|
|||||||
Reference in New Issue
Block a user