From 6fb5c3d4e507be559c6687ca865b81dd93b50045 Mon Sep 17 00:00:00 2001 From: dominik-zeglen Date: Wed, 29 Apr 2020 16:53:52 +0200 Subject: [PATCH] Fix form error --- .../CompanyAddressForm.tsx | 1 + .../__snapshots__/Stories.test.ts.snap | 544 +++++++++++++++--- 2 files changed, 452 insertions(+), 93 deletions(-) diff --git a/src/components/CompanyAddressInput/CompanyAddressForm.tsx b/src/components/CompanyAddressInput/CompanyAddressForm.tsx index a3b58f8a0..8526826d3 100644 --- a/src/components/CompanyAddressInput/CompanyAddressForm.tsx +++ b/src/components/CompanyAddressInput/CompanyAddressForm.tsx @@ -72,6 +72,7 @@ const CompanyAddressForm: React.FC = props => { "city", "postalCode", "country", + "countryArea", "companyArea", "phone" ]; diff --git a/src/storybook/__snapshots__/Stories.test.ts.snap b/src/storybook/__snapshots__/Stories.test.ts.snap index 7d474c182..fc331d70f 100644 --- a/src/storybook/__snapshots__/Stories.test.ts.snap +++ b/src/storybook/__snapshots__/Stories.test.ts.snap @@ -2660,22 +2660,22 @@ exports[`Storyshots Generics / Link with choices default 1`] = ` class="MuiTypography-root-id Link-root-id Link-primary-id MuiTypography-body1-id" > Åland Islands - - + + + + + @@ -34752,7 +34752,7 @@ exports[`Storyshots Views / Configuration default 1`] = `
- Product Settings + Shipping Settings
- Product Settings + Shipping Settings
Product name @@ -64416,7 +64416,7 @@ exports[`Storyshots Views / Orders / Fulfill order default 1`] = ` class="MuiTableRow-root-id" >
Product name @@ -65100,7 +65100,7 @@ exports[`Storyshots Views / Orders / Fulfill order error 1`] = ` class="MuiTableRow-root-id" >
Product name @@ -65760,7 +65760,7 @@ exports[`Storyshots Views / Orders / Fulfill order loading 1`] = ` class="MuiTableRow-root-id" >
`; +exports[`Storyshots Views / Orders / Fulfill order one warehouse 1`] = ` +
+
+
+
+ Order no. 9123 - Add Fulfillment +
+
+
+
+
+
+
+
+ + Items ready to ship + +
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Product name + + SKU + + C our wares + + Quantity to fulfill +
+
+
+ +
+
+ T-Shirt +
+ S +
+
+
+
+ 62783187 + +
+
+
+ + +
+
+
+ / 1207 +
+
+
+ + 0 + + / 2 +
+
+
+ +
+
+ Lemon Juice +
+ 2.5l +
+
+
+
+ 998323583 + + No Stock + + + 0 + + / 4 +
+
+
+ +
+
+ Orange Juice +
+ 5l +
+
+
+
+ 998323584 + +
+
+
+ + +
+
+
+ / 587 +
+
+
+ + 0 + + / 1 +
+
+
+ +
+
+ +
+
+`; + exports[`Storyshots Views / Orders / Order details cancelled 1`] = `
+

+ Invalid value +

+

+ Invalid value +