Merged PR 1394: #3511 Addressvalidierung für Onlinekonto aktiviert

#3511 Addressvalidierung für Onlinekonto aktiviert
This commit is contained in:
Lorenz Hilpert
2022-10-12 10:38:35 +00:00
committed by Andreas Schickinger
parent 4ede9226b4
commit fbb1e6c4a2
2 changed files with 3 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ import { AbstractCreateCustomer } from '../abstract-create-customer';
export class CreateStoreCustomerComponent extends AbstractCreateCustomer {
customerType = 'store';
validateAddress = false;
validateAddress = true;
validateShippingAddress = true;

View File

@@ -17,8 +17,8 @@ import { CreateP4MCustomerComponent } from '../create-p4m-customer';
export class CreateWebshopCustomerComponent extends AbstractCreateCustomer {
customerType = 'webshop';
validateAddress?: boolean;
validateShippingAddress?: boolean;
validateAddress = true;
validateShippingAddress = true;
nameRequiredMarks = ['gender', 'firstName', 'lastName'];