Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Update snapshots
Krzysztof Bialoglowicz9fd99d048ad0
diff --git a/saleor/static/dashboard-next/storybook/__snapshots__/Stories.test.ts.snap b/saleor/static/dashboard-next/storybook/__snapshots__/Stories.test.ts.snapindex 8003e0c48d..5fafb9bf14 100644--- a/saleor/static/dashboard-next/storybook/__snapshots__/Stories.test.ts.snap+++ b/saleor/static/dashboard-next/storybook/__snapshots__/Stories.test.ts.snap@@ -34171,40 +34171,121 @@ exports[`Storyshots Views / Discounts / Voucher create default 1`] = `class="MuiCardContent-root-id"><div- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"+ class="MuiFormControl-root-id RadioGroupField-formControl-id">- <label- class="MuiFormLabel-root-id MuiFormLabel-filled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id MuiInputLabel-outlined-id"- data-shrink="true"- >- Minimal order value- </label><div- class="MuiInputBase-root-id MuiOutlinedInput-root-id MuiInputBase-fullWidth-id MuiInputBase-formControl-id"+ aria-label="requirementsPicker"+ class="MuiFormGroup-root-id"+ role="radiogroup">- <fieldset- aria-hidden="true"- class="MuiPrivateNotchedOutline-root-id MuiOutlinedInput-notchedOutline-id"- style="padding-left:8px"+ <label+ class="MuiFormControlLabel-root-id RadioGroupField-radioLabel-id">- <legend- class="MuiPrivateNotchedOutline-legend-id"- style="width:0"+ <span+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiPrivateSwitchBase-root-id MuiRadio-root-id MuiRadio-colorPrimary-id MuiPrivateSwitchBase-checked-id MuiRadio-checked-id">- <span>- + <span+ class="MuiIconButton-label-id"+ >+ <svg+ aria-hidden="true"+ class="MuiSvgIcon-root-id"+ focusable="false"+ role="presentation"+ viewBox="0 0 24 24"+ >+ <path+ d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"+ />+ </svg>+ <input+ checked=""+ class="MuiPrivateSwitchBase-input-id"+ name="requirementsPicker"+ type="radio"+ value="NONE"+ /></span>- </legend>- </fieldset>- <input- aria-invalid="false"- class="MuiInputBase-input-id MuiOutlinedInput-input-id"- name="minAmountSpent"- type="text"- value="0"- />+ </span>+ <span+ class="MuiTypography-root-id MuiTypography-body2-id MuiFormControlLabel-label-id"+ >+ None+ </span>+ </label>+ <label+ class="MuiFormControlLabel-root-id RadioGroupField-radioLabel-id"+ >+ <span+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiPrivateSwitchBase-root-id MuiRadio-root-id MuiRadio-colorPrimary-id"+ >+ <span+ class="MuiIconButton-label-id"+ >+ <svg+ aria-hidden="true"+ class="MuiSvgIcon-root-id"+ focusable="false"+ role="presentation"+ viewBox="0 0 24 24"+ >+ <path+ d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"+ />+ </svg>+ <input+ class="MuiPrivateSwitchBase-input-id"+ name="requirementsPicker"+ type="radio"+ value="ORDER"+ />+ </span>+ </span>+ <span+ class="MuiTypography-root-id MuiTypography-body2-id MuiFormControlLabel-label-id"+ >+ Minimal order value+ </span>+ </label>+ <label+ class="MuiFormControlLabel-root-id RadioGroupField-radioLabel-id"+ >+ <span+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiPrivateSwitchBase-root-id MuiRadio-root-id MuiRadio-colorPrimary-id"+ >+ <span+ class="MuiIconButton-label-id"+ >+ <svg+ aria-hidden="true"+ class="MuiSvgIcon-root-id"+ focusable="false"+ role="presentation"+ viewBox="0 0 24 24"+ >+ <path+ d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"+ />+ </svg>+ <input+ class="MuiPrivateSwitchBase-input-id"+ name="requirementsPicker"+ type="radio"+ value="ITEM"+ />+ </span>+ </span>+ <span+ class="MuiTypography-root-id MuiTypography-body2-id MuiFormControlLabel-label-id"+ >+ Minimum quantity of items+ </span>+ </label></div></div>+ <div+ class="FormSpacer-spacer-id"+ /></div></div><div@@ -34255,6 +34336,27 @@ exports[`Storyshots Views / Discounts / Voucher create default 1`] = `Limit number of times this discount can be used in total</span></label>+ <label+ class="MuiFormControlLabel-root-id"+ >+ <button+ class="MuiButtonBase-root-id Checkbox-root-id"+ tabindex="0"+ type="button"+ >+ <input+ class="Checkbox-box-id"+ name="applyOncePerCustomer"+ type="checkbox"+ value="false"+ />+ </button>+ <span+ class="MuiTypography-root-id MuiTypography-body2-id MuiFormControlLabel-label-id"+ >+ Limit to one use per customer+ </span>+ </label></div></div><div@@ -34791,45 +34893,121 @@ exports[`Storyshots Views / Discounts / Voucher create form errors 1`] = `class="MuiCardContent-root-id"><div- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"+ class="MuiFormControl-root-id RadioGroupField-formControl-id">- <label- class="MuiFormLabel-root-id MuiFormLabel-error-id MuiInputLabel-error-id MuiFormLabel-filled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id MuiInputLabel-outlined-id"- data-shrink="true"- >- Minimal order value- </label><div- class="MuiInputBase-root-id MuiOutlinedInput-root-id MuiInputBase-error-id MuiOutlinedInput-error-id MuiInputBase-fullWidth-id MuiInputBase-formControl-id"+ aria-label="requirementsPicker"+ class="MuiFormGroup-root-id"+ role="radiogroup">- <fieldset- aria-hidden="true"- class="MuiPrivateNotchedOutline-root-id MuiOutlinedInput-notchedOutline-id"- style="padding-left:8px"+ <label+ class="MuiFormControlLabel-root-id RadioGroupField-radioLabel-id">- <legend- class="MuiPrivateNotchedOutline-legend-id"- style="width:0"+ <span+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiPrivateSwitchBase-root-id MuiRadio-root-id MuiRadio-colorPrimary-id MuiPrivateSwitchBase-checked-id MuiRadio-checked-id">- <span>- + <span+ class="MuiIconButton-label-id"+ >+ <svg+ aria-hidden="true"+ class="MuiSvgIcon-root-id"+ focusable="false"+ role="presentation"+ viewBox="0 0 24 24"+ >+ <path+ d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"+ />+ </svg>+ <input+ checked=""+ class="MuiPrivateSwitchBase-input-id"+ name="requirementsPicker"+ type="radio"+ value="NONE"+ /></span>- </legend>- </fieldset>- <input- aria-invalid="true"- class="MuiInputBase-input-id MuiOutlinedInput-input-id"- name="minAmountSpent"- type="text"- value="0"- />+ </span>+ <span+ class="MuiTypography-root-id MuiTypography-body2-id MuiFormControlLabel-label-id"+ >+ None+ </span>+ </label>+ <label+ class="MuiFormControlLabel-root-id RadioGroupField-radioLabel-id"+ >+ <span+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiPrivateSwitchBase-root-id MuiRadio-root-id MuiRadio-colorPrimary-id"+ >+ <span+ class="MuiIconButton-label-id"+ >+ <svg+ aria-hidden="true"+ class="MuiSvgIcon-root-id"+ focusable="false"+ role="presentation"+ viewBox="0 0 24 24"+ >+ <path+ d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"+ />+ </svg>+ <input+ class="MuiPrivateSwitchBase-input-id"+ name="requirementsPicker"+ type="radio"+ value="ORDER"+ />+ </span>+ </span>+ <span+ class="MuiTypography-root-id MuiTypography-body2-id MuiFormControlLabel-label-id"+ >+ Minimal order value+ </span>+ </label>+ <label+ class="MuiFormControlLabel-root-id RadioGroupField-radioLabel-id"+ >+ <span+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiPrivateSwitchBase-root-id MuiRadio-root-id MuiRadio-colorPrimary-id"+ >+ <span+ class="MuiIconButton-label-id"+ >+ <svg+ aria-hidden="true"+ class="MuiSvgIcon-root-id"+ focusable="false"+ role="presentation"+ viewBox="0 0 24 24"+ >+ <path+ d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"+ />+ </svg>+ <input+ class="MuiPrivateSwitchBase-input-id"+ name="requirementsPicker"+ type="radio"+ value="ITEM"+ />+ </span>+ </span>+ <span+ class="MuiTypography-root-id MuiTypography-body2-id MuiFormControlLabel-label-id"+ >+ Minimum quantity of items+ </span>+ </label></div>- <p- class="MuiFormHelperText-root-id MuiFormHelperText-contained-id MuiFormHelperText-error-id MuiFormHelperText-filled-id"- >- Generic form error- </p></div>+ <div+ class="FormSpacer-spacer-id"+ /></div></div><div@@ -34880,6 +35058,27 @@ exports[`Storyshots Views / Discounts / Voucher create form errors 1`] = `Limit number of times this discount can be used in total</span></label>+ <label+ class="MuiFormControlLabel-root-id"+ >+ <button+ class="MuiButtonBase-root-id Checkbox-root-id"+ tabindex="0"+ type="button"+ >+ <input+ class="Checkbox-box-id"+ name="applyOncePerCustomer"+ type="checkbox"+ value="false"+ />+ </button>+ <span+ class="MuiTypography-root-id MuiTypography-body2-id MuiFormControlLabel-label-id"+ >+ Limit to one use per customer+ </span>+ </label></div></div><div@@ -35366,16 +35565,215 @@ exports[`Storyshots Views / Discounts / Voucher details default 1`] = `<inputchecked=""class="MuiPrivateSwitchBase-input-id"- name="type"+ name="type"+ type="radio"+ value="ENTIRE_ORDER"+ />+ </span>+ </span>+ <span+ class="MuiTypography-root-id MuiTypography-body2-id MuiFormControlLabel-label-id"+ >+ Entire order+ </span>+ </label>+ <label+ class="MuiFormControlLabel-root-id RadioGroupField-radioLabel-id"+ >+ <span+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiPrivateSwitchBase-root-id MuiRadio-root-id MuiRadio-colorPrimary-id"+ >+ <span+ class="MuiIconButton-label-id"+ >+ <svg+ aria-hidden="true"+ class="MuiSvgIcon-root-id"+ focusable="false"+ role="presentation"+ viewBox="0 0 24 24"+ >+ <path+ d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"+ />+ </svg>+ <input+ class="MuiPrivateSwitchBase-input-id"+ name="type"+ type="radio"+ value="SPECIFIC_PRODUCT"+ />+ </span>+ </span>+ <span+ class="MuiTypography-root-id MuiTypography-body2-id MuiFormControlLabel-label-id"+ >+ Specific Products+ </span>+ </label>+ </div>+ </div>+ <div+ class="FormSpacer-spacer-id"+ />+ <hr+ class="Hr-root-id"+ />+ <div+ class="FormSpacer-spacer-id"+ />+ <label+ class="MuiFormControlLabel-root-id"+ >+ <span+ class="MuiSwitch-root-id"+ >+ <span+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiPrivateSwitchBase-root-id MuiSwitch-switchBase-id MuiSwitch-colorPrimary-id"+ >+ <span+ class="MuiIconButton-label-id"+ >+ <span+ class="MuiSwitch-icon-id"+ />+ <input+ class="MuiPrivateSwitchBase-input-id"+ name="applyOncePerOrder"+ type="checkbox"+ />+ </span>+ </span>+ <span+ class="MuiSwitch-bar-id"+ />+ </span>+ <span+ class="MuiTypography-root-id MuiTypography-body2-id MuiFormControlLabel-label-id"+ >+ <div+ class="ControlledSwitch-label-id"+ >+ Only once per order+ <span+ class="MuiTypography-root-id MuiTypography-caption-id"+ >+ If this option is disabled, discount will be counted for every eligible product+ </span>+ <div />+ </div>+ </span>+ </label>+ </div>+ </div>+ <div+ class="CardSpacer-spacer-id"+ />+ <div+ class="CardSpacer-spacer-id"+ />+ <div+ class="CardSpacer-spacer-id"+ />+ <div+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"+ >+ <div+ class="CardTitle-root-id"+ >+ <span+ class="MuiTypography-root-id MuiTypography-h5-id CardTitle-title-id"+ >+ Minimum Requirements+ </span>+ <div+ class="CardTitle-toolbar-id"+ />+ </div>+ <div+ class="CardTitle-children-id"+ />+ <hr+ class="CardTitle-hr-id"+ />+ <div+ class="MuiCardContent-root-id"+ >+ <div+ class="MuiFormControl-root-id RadioGroupField-formControl-id"+ >+ <div+ aria-label="requirementsPicker"+ class="MuiFormGroup-root-id"+ role="radiogroup"+ >+ <label+ class="MuiFormControlLabel-root-id RadioGroupField-radioLabel-id"+ >+ <span+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiPrivateSwitchBase-root-id MuiRadio-root-id MuiRadio-colorPrimary-id"+ >+ <span+ class="MuiIconButton-label-id"+ >+ <svg+ aria-hidden="true"+ class="MuiSvgIcon-root-id"+ focusable="false"+ role="presentation"+ viewBox="0 0 24 24"+ >+ <path+ d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"+ />+ </svg>+ <input+ class="MuiPrivateSwitchBase-input-id"+ name="requirementsPicker"+ type="radio"+ value="NONE"+ />+ </span>+ </span>+ <span+ class="MuiTypography-root-id MuiTypography-body2-id MuiFormControlLabel-label-id"+ >+ None+ </span>+ </label>+ <label+ class="MuiFormControlLabel-root-id RadioGroupField-radioLabel-id"+ >+ <span+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiPrivateSwitchBase-root-id MuiRadio-root-id MuiRadio-colorPrimary-id MuiPrivateSwitchBase-checked-id MuiRadio-checked-id"+ >+ <span+ class="MuiIconButton-label-id"+ >+ <svg+ aria-hidden="true"+ class="MuiSvgIcon-root-id"+ focusable="false"+ role="presentation"+ viewBox="0 0 24 24"+ >+ <path+ d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"+ />+ </svg>+ <input+ checked=""+ class="MuiPrivateSwitchBase-input-id"+ name="requirementsPicker"type="radio"- value="ENTIRE_ORDER"+ value="ORDER"/></span></span><spanclass="MuiTypography-root-id MuiTypography-body2-id MuiFormControlLabel-label-id">- Entire order+ Minimal order value</span></label><label@@ -35400,16 +35798,16 @@ exports[`Storyshots Views / Discounts / Voucher details default 1`] = `</svg><inputclass="MuiPrivateSwitchBase-input-id"- name="type"+ name="requirementsPicker"type="radio"- value="SPECIFIC_PRODUCT"+ value="ITEM"/></span></span><spanclass="MuiTypography-root-id MuiTypography-body2-id MuiFormControlLabel-label-id">- Specific Products+ Minimum quantity of items</span></label></div>@@ -35417,89 +35815,6 @@ exports[`Storyshots Views / Discounts / Voucher details default 1`] = `<divclass="FormSpacer-spacer-id"/>- <hr- class="Hr-root-id"- />- <div- class="FormSpacer-spacer-id"- />- <label- class="MuiFormControlLabel-root-id"- >- <span- class="MuiSwitch-root-id"- >- <span- class="MuiButtonBase-root-id MuiIconButton-root-id MuiPrivateSwitchBase-root-id MuiSwitch-switchBase-id MuiSwitch-colorPrimary-id"- >- <span- class="MuiIconButton-label-id"- >- <span- class="MuiSwitch-icon-id"- />- <input- class="MuiPrivateSwitchBase-input-id"- name="applyOncePerOrder"- type="checkbox"- />- </span>- </span>- <span- class="MuiSwitch-bar-id"- />- </span>- <span- class="MuiTypography-root-id MuiTypography-body2-id MuiFormControlLabel-label-id"- >- <div- class="ControlledSwitch-label-id"- >- Only once per order- <span- class="MuiTypography-root-id MuiTypography-caption-id"- >- If this option is disabled, discount will be counted for every eligible product- </span>- <div />- </div>- </span>- </label>- </div>- </div>- <div- class="CardSpacer-spacer-id"- />- <div- class="CardSpacer-spacer-id"- />- <div- class="CardSpacer-spacer-id"- />- <div- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"- >- <div- class="CardTitle-root-id"- >- <span- class="MuiTypography-root-id MuiTypography-h5-id CardTitle-title-id"- >- Minimum Requirements- </span>- <div- class="CardTitle-toolbar-id"- />- </div>- <div- class="CardTitle-children-id"- />- <hr- class="CardTitle-hr-id"- />- <div- class="MuiCardContent-root-id"- ><divclass="MuiFormControl-root-id MuiFormControl-fullWidth-id">@@ -35585,6 +35900,27 @@ exports[`Storyshots Views / Discounts / Voucher details default 1`] = `Limit number of times this discount can be used in total</span></label>+ <label+ class="MuiFormControlLabel-root-id"+ >+ <button+ class="MuiButtonBase-root-id Checkbox-root-id"+ tabindex="0"+ type="button"+ >+ <input+ class="Checkbox-box-id"+ name="applyOncePerCustomer"+ type="checkbox"+ value="false"+ />+ </button>+ <span+ class="MuiTypography-root-id MuiTypography-body2-id MuiFormControlLabel-label-id"+ >+ Limit to one use per customer+ </span>+ </label></div></div><div@@ -36276,73 +36612,189 @@ exports[`Storyshots Views / Discounts / Voucher details form errors 1`] = `class="MuiButtonBase-root-id MuiIconButton-root-id MuiPrivateSwitchBase-root-id MuiSwitch-switchBase-id MuiSwitch-colorPrimary-id"><span- class="MuiIconButton-label-id"+ class="MuiIconButton-label-id"+ >+ <span+ class="MuiSwitch-icon-id"+ />+ <input+ class="MuiPrivateSwitchBase-input-id"+ name="applyOncePerOrder"+ type="checkbox"+ />+ </span>+ </span>+ <span+ class="MuiSwitch-bar-id"+ />+ </span>+ <span+ class="MuiTypography-root-id MuiTypography-body2-id MuiFormControlLabel-label-id"+ >+ <div+ class="ControlledSwitch-label-id"+ >+ Only once per order+ <span+ class="MuiTypography-root-id MuiTypography-caption-id"+ >+ If this option is disabled, discount will be counted for every eligible product+ </span>+ <div />+ </div>+ </span>+ </label>+ </div>+ </div>+ <div+ class="CardSpacer-spacer-id"+ />+ <div+ class="CardSpacer-spacer-id"+ />+ <div+ class="CardSpacer-spacer-id"+ />+ <div+ class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"+ >+ <div+ class="CardTitle-root-id"+ >+ <span+ class="MuiTypography-root-id MuiTypography-h5-id CardTitle-title-id"+ >+ Minimum Requirements+ </span>+ <div+ class="CardTitle-toolbar-id"+ />+ </div>+ <div+ class="CardTitle-children-id"+ />+ <hr+ class="CardTitle-hr-id"+ />+ <div+ class="MuiCardContent-root-id"+ >+ <div+ class="MuiFormControl-root-id RadioGroupField-formControl-id"+ >+ <div+ aria-label="requirementsPicker"+ class="MuiFormGroup-root-id"+ role="radiogroup"+ >+ <label+ class="MuiFormControlLabel-root-id RadioGroupField-radioLabel-id"+ >+ <span+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiPrivateSwitchBase-root-id MuiRadio-root-id MuiRadio-colorPrimary-id"+ >+ <span+ class="MuiIconButton-label-id"+ >+ <svg+ aria-hidden="true"+ class="MuiSvgIcon-root-id"+ focusable="false"+ role="presentation"+ viewBox="0 0 24 24"+ >+ <path+ d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"+ />+ </svg>+ <input+ class="MuiPrivateSwitchBase-input-id"+ name="requirementsPicker"+ type="radio"+ value="NONE"+ />+ </span>+ </span>+ <span+ class="MuiTypography-root-id MuiTypography-body2-id MuiFormControlLabel-label-id"+ >+ None+ </span>+ </label>+ <label+ class="MuiFormControlLabel-root-id RadioGroupField-radioLabel-id"+ >+ <span+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiPrivateSwitchBase-root-id MuiRadio-root-id MuiRadio-colorPrimary-id MuiPrivateSwitchBase-checked-id MuiRadio-checked-id"+ >+ <span+ class="MuiIconButton-label-id"+ >+ <svg+ aria-hidden="true"+ class="MuiSvgIcon-root-id"+ focusable="false"+ role="presentation"+ viewBox="0 0 24 24"+ >+ <path+ d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"+ />+ </svg>+ <input+ checked=""+ class="MuiPrivateSwitchBase-input-id"+ name="requirementsPicker"+ type="radio"+ value="ORDER"+ />+ </span>+ </span>+ <span+ class="MuiTypography-root-id MuiTypography-body2-id MuiFormControlLabel-label-id"+ >+ Minimal order value+ </span>+ </label>+ <label+ class="MuiFormControlLabel-root-id RadioGroupField-radioLabel-id"+ >+ <span+ class="MuiButtonBase-root-id MuiIconButton-root-id MuiPrivateSwitchBase-root-id MuiRadio-root-id MuiRadio-colorPrimary-id"><span- class="MuiSwitch-icon-id"- />- <input- class="MuiPrivateSwitchBase-input-id"- name="applyOncePerOrder"- type="checkbox"- />+ class="MuiIconButton-label-id"+ >+ <svg+ aria-hidden="true"+ class="MuiSvgIcon-root-id"+ focusable="false"+ role="presentation"+ viewBox="0 0 24 24"+ >+ <path+ d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"+ />+ </svg>+ <input+ class="MuiPrivateSwitchBase-input-id"+ name="requirementsPicker"+ type="radio"+ value="ITEM"+ />+ </span></span>- </span>- <span- class="MuiSwitch-bar-id"- />- </span>- <span- class="MuiTypography-root-id MuiTypography-body2-id MuiFormControlLabel-label-id"- >- <div- class="ControlledSwitch-label-id"- >- Only once per order<span- class="MuiTypography-root-id MuiTypography-caption-id"+ class="MuiTypography-root-id MuiTypography-body2-id MuiFormControlLabel-label-id">- If this option is disabled, discount will be counted for every eligible product+ Minimum quantity of items</span>- <div />- </div>- </span>- </label>- </div>- </div>- <div- class="CardSpacer-spacer-id"- />- <div- class="CardSpacer-spacer-id"- />- <div- class="CardSpacer-spacer-id"- />- <div- class="MuiPaper-root-id MuiPaper-elevation1-id MuiPaper-rounded-id MuiCard-root-id"- >- <div- class="CardTitle-root-id"- >- <span- class="MuiTypography-root-id MuiTypography-h5-id CardTitle-title-id"- >- Minimum Requirements- </span>+ </label>+ </div>+ </div><div- class="CardTitle-toolbar-id"+ class="FormSpacer-spacer-id"/>- </div>- <div- class="CardTitle-children-id"- />- <hr- class="CardTitle-hr-id"- />- <div- class="MuiCardContent-root-id"- ><divclass="MuiFormControl-root-id MuiFormControl-fullWidth-id">@@ -36433,6 +36885,27 @@ exports[`Storyshots Views / Discounts / Voucher details form errors 1`] = `Limit number of times this discount can be used in total</span></label>+ <label+ class="MuiFormControlLabel-root-id"+ >+ <button+ class="MuiButtonBase-root-id Checkbox-root-id"+ tabindex="0"+ type="button"+ >+ <input+ class="Checkbox-box-id"+ name="applyOncePerCustomer"+ type="checkbox"+ value="false"+ />+ </button>+ <span+ class="MuiTypography-root-id MuiTypography-body2-id MuiFormControlLabel-label-id"+ >+ Limit to one use per customer+ </span>+ </label></div></div><div@@ -37200,41 +37673,127 @@ exports[`Storyshots Views / Discounts / Voucher details loading 1`] = `class="MuiCardContent-root-id"><div- class="MuiFormControl-root-id MuiFormControl-fullWidth-id"+ class="MuiFormControl-root-id RadioGroupField-formControl-id">- <label- class="MuiFormLabel-root-id MuiFormLabel-disabled-id MuiInputLabel-disabled-id MuiFormLabel-filled-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id MuiInputLabel-outlined-id"- data-shrink="true"- >- Minimal order value- </label><div- class="MuiInputBase-root-id MuiOutlinedInput-root-id MuiInputBase-disabled-id MuiOutlinedInput-disabled-id MuiInputBase-fullWidth-id MuiInputBase-formControl-id"+ aria-label="requirementsPicker"+ class="MuiFormGroup-root-id"+ role="radiogroup">- <fieldset- aria-hidden="true"- class="MuiPrivateNotchedOutline-root-id MuiOutlinedInput-notchedOutline-id"- style="padding-left:8px"+ <label+ class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id RadioGroupField-radioLabel-id">- <legend- class="MuiPrivateNotchedOutline-legend-id"- style="width:0"+ <span+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id MuiPrivateSwitchBase-root-id MuiRadio-root-id MuiRadio-colorPrimary-id MuiPrivateSwitchBase-checked-id MuiRadio-checked-id MuiPrivateSwitchBase-disabled-id MuiRadio-disabled-id"+ tabindex="-1">- <span>- + <span+ class="MuiIconButton-label-id"+ >+ <svg+ aria-hidden="true"+ class="MuiSvgIcon-root-id"+ focusable="false"+ role="presentation"+ viewBox="0 0 24 24"+ >+ <path+ d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"+ />+ </svg>+ <input+ checked=""+ class="MuiPrivateSwitchBase-input-id"+ disabled=""+ name="requirementsPicker"+ type="radio"+ value="NONE"+ /></span>- </legend>- </fieldset>- <input- aria-invalid="false"- class="MuiInputBase-input-id MuiOutlinedInput-input-id MuiInputBase-disabled-id MuiOutlinedInput-disabled-id"- disabled=""- name="minAmountSpent"- type="text"- value="0"- />+ </span>+ <span+ class="MuiTypography-root-id MuiTypography-body2-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id"+ >+ None+ </span>+ </label>+ <label+ class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id RadioGroupField-radioLabel-id"+ >+ <span+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id MuiPrivateSwitchBase-root-id MuiRadio-root-id MuiRadio-colorPrimary-id MuiPrivateSwitchBase-disabled-id MuiRadio-disabled-id"+ tabindex="-1"+ >+ <span+ class="MuiIconButton-label-id"+ >+ <svg+ aria-hidden="true"+ class="MuiSvgIcon-root-id"+ focusable="false"+ role="presentation"+ viewBox="0 0 24 24"+ >+ <path+ d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"+ />+ </svg>+ <input+ class="MuiPrivateSwitchBase-input-id"+ disabled=""+ name="requirementsPicker"+ type="radio"+ value="ORDER"+ />+ </span>+ </span>+ <span+ class="MuiTypography-root-id MuiTypography-body2-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id"+ >+ Minimal order value+ </span>+ </label>+ <label+ class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id RadioGroupField-radioLabel-id"+ >+ <span+ class="MuiButtonBase-root-id MuiButtonBase-disabled-id MuiIconButton-root-id MuiIconButton-disabled-id MuiPrivateSwitchBase-root-id MuiRadio-root-id MuiRadio-colorPrimary-id MuiPrivateSwitchBase-disabled-id MuiRadio-disabled-id"+ tabindex="-1"+ >+ <span+ class="MuiIconButton-label-id"+ >+ <svg+ aria-hidden="true"+ class="MuiSvgIcon-root-id"+ focusable="false"+ role="presentation"+ viewBox="0 0 24 24"+ >+ <path+ d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"+ />+ </svg>+ <input+ class="MuiPrivateSwitchBase-input-id"+ disabled=""+ name="requirementsPicker"+ type="radio"+ value="ITEM"+ />+ </span>+ </span>+ <span+ class="MuiTypography-root-id MuiTypography-body2-id MuiFormControlLabel-label-id MuiFormControlLabel-disabled-id"+ >+ Minimum quantity of items+ </span>+ </label></div></div>+ <div+ class="FormSpacer-spacer-id"+ /></div></div><div@@ -37285,6 +37844,27 @@ exports[`Storyshots Views / Discounts / Voucher details loading 1`] = `Limit number of times this discount can be used in total</span></label>+ <label+ class="MuiFormControlLabel-root-id"+ >+ <button+ class="MuiButtonBase-root-id Checkbox-root-id"+ tabindex="0"+ type="button"+ >+ <input+ class="Checkbox-box-id"+ name="applyOncePerCustomer"+ type="checkbox"+ value="false"+ />+ </button>+ <span+ class="MuiTypography-root-id MuiTypography-body2-id MuiFormControlLabel-label-id"+ >+ Limit to one use per customer+ </span>+ </label></div></div><div