-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'task/MAR10001-0-qol-fixes-orocommerce-bridge' into main…
…tenance/3.0
- Loading branch information
Showing
6 changed files
with
37 additions
and
40 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
src/Marello/Bundle/AddressBundle/Resources/config/validation.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Marello\Bundle\AddressBundle\Entity\MarelloAddress: | ||
properties: | ||
street: | ||
- NotBlank: ~ | ||
city: | ||
- NotBlank: ~ | ||
postalCode: | ||
- NotBlank: ~ | ||
country: | ||
- NotBlank: ~ | ||
phone: | ||
- Length: | ||
max: 255 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
src/Marello/Bundle/CustomerBundle/Resources/config/validation.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Marello\Bundle\CustomerBundle\Entity\Customer: | ||
properties: | ||
firstName: | ||
- NotBlank: ~ | ||
lastName: | ||
- NotBlank: ~ | ||
email: | ||
- NotBlank: ~ | ||
- Email: ~ | ||
|
||
Marello\Bundle\CustomerBundle\Entity\Company: | ||
properties: | ||
name: | ||
- NotBlank: ~ |
14 changes: 0 additions & 14 deletions
14
src/Marello/Bundle/OrderBundle/Resources/config/validation.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
src/Marello/Bundle/ShippingBundle/Resources/translations/validators.en.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
marello: | ||
shipping: | ||
shippingrule: | ||
enabled.message: 'Shipping method can not be enabled' | ||
type.config.count.message: 'At least one shipping method needs to be enabled in this group' | ||
method.config.count.message: 'At least one shipping method needs to be configured for this rule.' |