Move validations to state transitions

This commit is contained in:
Matt-Yorkley
2021-09-01 12:34:52 +01:00
parent 6acb1f6484
commit 57504f42d8
3 changed files with 23 additions and 7 deletions

View File

@@ -1660,8 +1660,6 @@ en:
label: Country
delivery_address:
title: Delivery address
errors:
no_shipping_method_selected: No shipping method selected
submit: Next - Payment method
cancel: Back to Edit basket
step2:
@@ -1697,6 +1695,8 @@ en:
required: Field cannot be blank
invalid_number: "Please enter a valid phone number"
invalid_email: "Please enter a valid email address"
select_a_shipping_method: Select a shipping method
select_a_payment_method: Select a payment method
order_paid: PAID
order_not_paid: NOT PAID
order_total: Total order