Update changelog, stories and messages
This commit is contained in:
parent
9a9c6a01a1
commit
5b6a420199
4 changed files with 45 additions and 3 deletions
|
@ -45,6 +45,7 @@ All notable, unreleased changes to this project will be documented in this file.
|
||||||
- Fix avatar change button - #719 by @orzechdev
|
- Fix avatar change button - #719 by @orzechdev
|
||||||
- Change plural form of "informations" to "information" strings across the app #722 by @mmarkusik
|
- Change plural form of "informations" to "information" strings across the app #722 by @mmarkusik
|
||||||
- Fix misaligned rich text draft controls - #725 by @orzechdev
|
- Fix misaligned rich text draft controls - #725 by @orzechdev
|
||||||
|
- Allow taxes to be configured per product - #728 by @dominik-zeglen
|
||||||
|
|
||||||
## 2.10.1
|
## 2.10.1
|
||||||
|
|
||||||
|
|
|
@ -4322,9 +4322,6 @@
|
||||||
"context": "product price",
|
"context": "product price",
|
||||||
"string": "Price"
|
"string": "Price"
|
||||||
},
|
},
|
||||||
"src_dot_products_dot_components_dot_ProductPricing_dot_3015886868": {
|
|
||||||
"string": "Charge taxes for this item"
|
|
||||||
},
|
|
||||||
"src_dot_products_dot_components_dot_ProductShipping_dot_1325966144": {
|
"src_dot_products_dot_components_dot_ProductShipping_dot_1325966144": {
|
||||||
"context": "product shipping",
|
"context": "product shipping",
|
||||||
"string": "Shipping"
|
"string": "Shipping"
|
||||||
|
@ -4359,6 +4356,18 @@
|
||||||
"src_dot_products_dot_components_dot_ProductStocks_dot_849869830": {
|
"src_dot_products_dot_components_dot_ProductStocks_dot_849869830": {
|
||||||
"string": "Active inventory tracking will automatically calculate changes of stock"
|
"string": "Active inventory tracking will automatically calculate changes of stock"
|
||||||
},
|
},
|
||||||
|
"src_dot_products_dot_components_dot_ProductTaxes_dot_1943864488": {
|
||||||
|
"context": "checkbox",
|
||||||
|
"string": "Charge taxes on this product"
|
||||||
|
},
|
||||||
|
"src_dot_products_dot_components_dot_ProductTaxes_dot_2022558114": {
|
||||||
|
"context": "select tax ratte",
|
||||||
|
"string": "Tax Rate"
|
||||||
|
},
|
||||||
|
"src_dot_products_dot_components_dot_ProductTaxes_dot_2771905943": {
|
||||||
|
"context": "checkbox",
|
||||||
|
"string": "Override the product type's tax rate"
|
||||||
|
},
|
||||||
"src_dot_products_dot_components_dot_ProductUpdatePage_dot_2232321263": {
|
"src_dot_products_dot_components_dot_ProductUpdatePage_dot_2232321263": {
|
||||||
"context": "product publication date label",
|
"context": "product publication date label",
|
||||||
"string": "will become published on {date}"
|
"string": "will become published on {date}"
|
||||||
|
|
|
@ -59,6 +59,7 @@ const ProductTaxes: React.FC<ProductTaxesProps> = ({
|
||||||
<ControlledCheckbox
|
<ControlledCheckbox
|
||||||
checked={data.changeTaxCode}
|
checked={data.changeTaxCode}
|
||||||
disabled={disabled}
|
disabled={disabled}
|
||||||
|
data-test="override-tax-type"
|
||||||
label={intl.formatMessage({
|
label={intl.formatMessage({
|
||||||
defaultMessage: "Override the product type's tax rate",
|
defaultMessage: "Override the product type's tax rate",
|
||||||
description: "checkbox"
|
description: "checkbox"
|
||||||
|
@ -70,6 +71,7 @@ const ProductTaxes: React.FC<ProductTaxesProps> = ({
|
||||||
<ControlledCheckbox
|
<ControlledCheckbox
|
||||||
checked={data.chargeTaxes}
|
checked={data.chargeTaxes}
|
||||||
disabled={disabled}
|
disabled={disabled}
|
||||||
|
data-test="charge-taxes"
|
||||||
label={intl.formatMessage({
|
label={intl.formatMessage({
|
||||||
defaultMessage: "Charge taxes on this product",
|
defaultMessage: "Charge taxes on this product",
|
||||||
description: "checkbox"
|
description: "checkbox"
|
||||||
|
@ -82,6 +84,7 @@ const ProductTaxes: React.FC<ProductTaxesProps> = ({
|
||||||
className={classes.select}
|
className={classes.select}
|
||||||
disabled={disabled}
|
disabled={disabled}
|
||||||
displayValue={selectedTaxTypeDisplayName}
|
displayValue={selectedTaxTypeDisplayName}
|
||||||
|
data-test="select-tax-type"
|
||||||
label={intl.formatMessage({
|
label={intl.formatMessage({
|
||||||
defaultMessage: "Tax Rate",
|
defaultMessage: "Tax Rate",
|
||||||
description: "select tax ratte"
|
description: "select tax ratte"
|
||||||
|
|
|
@ -138044,6 +138044,7 @@ Ctrl + K"
|
||||||
>
|
>
|
||||||
<label
|
<label
|
||||||
class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
|
class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
|
||||||
|
data-test="override-tax-type"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
aria-disabled="true"
|
aria-disabled="true"
|
||||||
|
@ -138089,6 +138090,7 @@ Ctrl + K"
|
||||||
/>
|
/>
|
||||||
<label
|
<label
|
||||||
class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
|
class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
|
||||||
|
data-test="charge-taxes"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
aria-disabled="true"
|
aria-disabled="true"
|
||||||
|
@ -139317,6 +139319,7 @@ Ctrl + K"
|
||||||
>
|
>
|
||||||
<label
|
<label
|
||||||
class="MuiFormControlLabel-root-id"
|
class="MuiFormControlLabel-root-id"
|
||||||
|
data-test="override-tax-type"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
aria-disabled="false"
|
aria-disabled="false"
|
||||||
|
@ -139360,6 +139363,7 @@ Ctrl + K"
|
||||||
/>
|
/>
|
||||||
<label
|
<label
|
||||||
class="MuiFormControlLabel-root-id"
|
class="MuiFormControlLabel-root-id"
|
||||||
|
data-test="charge-taxes"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
aria-disabled="false"
|
aria-disabled="false"
|
||||||
|
@ -140601,6 +140605,7 @@ Ctrl + K"
|
||||||
>
|
>
|
||||||
<label
|
<label
|
||||||
class="MuiFormControlLabel-root-id"
|
class="MuiFormControlLabel-root-id"
|
||||||
|
data-test="override-tax-type"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
aria-disabled="false"
|
aria-disabled="false"
|
||||||
|
@ -140644,6 +140649,7 @@ Ctrl + K"
|
||||||
/>
|
/>
|
||||||
<label
|
<label
|
||||||
class="MuiFormControlLabel-root-id"
|
class="MuiFormControlLabel-root-id"
|
||||||
|
data-test="charge-taxes"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
aria-disabled="false"
|
aria-disabled="false"
|
||||||
|
@ -146396,6 +146402,7 @@ Ctrl + K"
|
||||||
>
|
>
|
||||||
<label
|
<label
|
||||||
class="MuiFormControlLabel-root-id"
|
class="MuiFormControlLabel-root-id"
|
||||||
|
data-test="override-tax-type"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
aria-disabled="false"
|
aria-disabled="false"
|
||||||
|
@ -146445,6 +146452,7 @@ Ctrl + K"
|
||||||
/>
|
/>
|
||||||
<label
|
<label
|
||||||
class="MuiFormControlLabel-root-id"
|
class="MuiFormControlLabel-root-id"
|
||||||
|
data-test="charge-taxes"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
aria-disabled="false"
|
aria-disabled="false"
|
||||||
|
@ -146491,6 +146499,7 @@ Ctrl + K"
|
||||||
</label>
|
</label>
|
||||||
<div
|
<div
|
||||||
class="SingleAutocompleteSelectField-container-id ProductTaxes-select-id"
|
class="SingleAutocompleteSelectField-container-id ProductTaxes-select-id"
|
||||||
|
data-test="select-tax-type"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="MuiFormControl-root-id MuiTextField-root-id MuiFormControl-fullWidth-id"
|
class="MuiFormControl-root-id MuiTextField-root-id MuiFormControl-fullWidth-id"
|
||||||
|
@ -148610,6 +148619,7 @@ Ctrl + K"
|
||||||
>
|
>
|
||||||
<label
|
<label
|
||||||
class="MuiFormControlLabel-root-id"
|
class="MuiFormControlLabel-root-id"
|
||||||
|
data-test="override-tax-type"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
aria-disabled="false"
|
aria-disabled="false"
|
||||||
|
@ -148659,6 +148669,7 @@ Ctrl + K"
|
||||||
/>
|
/>
|
||||||
<label
|
<label
|
||||||
class="MuiFormControlLabel-root-id"
|
class="MuiFormControlLabel-root-id"
|
||||||
|
data-test="charge-taxes"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
aria-disabled="false"
|
aria-disabled="false"
|
||||||
|
@ -148705,6 +148716,7 @@ Ctrl + K"
|
||||||
</label>
|
</label>
|
||||||
<div
|
<div
|
||||||
class="SingleAutocompleteSelectField-container-id ProductTaxes-select-id"
|
class="SingleAutocompleteSelectField-container-id ProductTaxes-select-id"
|
||||||
|
data-test="select-tax-type"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="MuiFormControl-root-id MuiTextField-root-id MuiFormControl-fullWidth-id"
|
class="MuiFormControl-root-id MuiTextField-root-id MuiFormControl-fullWidth-id"
|
||||||
|
@ -151117,6 +151129,7 @@ Ctrl + K"
|
||||||
>
|
>
|
||||||
<label
|
<label
|
||||||
class="MuiFormControlLabel-root-id"
|
class="MuiFormControlLabel-root-id"
|
||||||
|
data-test="override-tax-type"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
aria-disabled="false"
|
aria-disabled="false"
|
||||||
|
@ -151166,6 +151179,7 @@ Ctrl + K"
|
||||||
/>
|
/>
|
||||||
<label
|
<label
|
||||||
class="MuiFormControlLabel-root-id"
|
class="MuiFormControlLabel-root-id"
|
||||||
|
data-test="charge-taxes"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
aria-disabled="false"
|
aria-disabled="false"
|
||||||
|
@ -151212,6 +151226,7 @@ Ctrl + K"
|
||||||
</label>
|
</label>
|
||||||
<div
|
<div
|
||||||
class="SingleAutocompleteSelectField-container-id ProductTaxes-select-id"
|
class="SingleAutocompleteSelectField-container-id ProductTaxes-select-id"
|
||||||
|
data-test="select-tax-type"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="MuiFormControl-root-id MuiTextField-root-id MuiFormControl-fullWidth-id"
|
class="MuiFormControl-root-id MuiTextField-root-id MuiFormControl-fullWidth-id"
|
||||||
|
@ -153758,6 +153773,7 @@ Ctrl + K"
|
||||||
>
|
>
|
||||||
<label
|
<label
|
||||||
class="MuiFormControlLabel-root-id"
|
class="MuiFormControlLabel-root-id"
|
||||||
|
data-test="override-tax-type"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
aria-disabled="false"
|
aria-disabled="false"
|
||||||
|
@ -153807,6 +153823,7 @@ Ctrl + K"
|
||||||
/>
|
/>
|
||||||
<label
|
<label
|
||||||
class="MuiFormControlLabel-root-id"
|
class="MuiFormControlLabel-root-id"
|
||||||
|
data-test="charge-taxes"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
aria-disabled="false"
|
aria-disabled="false"
|
||||||
|
@ -153853,6 +153870,7 @@ Ctrl + K"
|
||||||
</label>
|
</label>
|
||||||
<div
|
<div
|
||||||
class="SingleAutocompleteSelectField-container-id ProductTaxes-select-id"
|
class="SingleAutocompleteSelectField-container-id ProductTaxes-select-id"
|
||||||
|
data-test="select-tax-type"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="MuiFormControl-root-id MuiTextField-root-id MuiFormControl-fullWidth-id"
|
class="MuiFormControl-root-id MuiTextField-root-id MuiFormControl-fullWidth-id"
|
||||||
|
@ -156231,6 +156249,7 @@ Ctrl + K"
|
||||||
>
|
>
|
||||||
<label
|
<label
|
||||||
class="MuiFormControlLabel-root-id"
|
class="MuiFormControlLabel-root-id"
|
||||||
|
data-test="override-tax-type"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
aria-disabled="false"
|
aria-disabled="false"
|
||||||
|
@ -156280,6 +156299,7 @@ Ctrl + K"
|
||||||
/>
|
/>
|
||||||
<label
|
<label
|
||||||
class="MuiFormControlLabel-root-id"
|
class="MuiFormControlLabel-root-id"
|
||||||
|
data-test="charge-taxes"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
aria-disabled="false"
|
aria-disabled="false"
|
||||||
|
@ -156326,6 +156346,7 @@ Ctrl + K"
|
||||||
</label>
|
</label>
|
||||||
<div
|
<div
|
||||||
class="SingleAutocompleteSelectField-container-id ProductTaxes-select-id"
|
class="SingleAutocompleteSelectField-container-id ProductTaxes-select-id"
|
||||||
|
data-test="select-tax-type"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="MuiFormControl-root-id MuiTextField-root-id MuiFormControl-fullWidth-id"
|
class="MuiFormControl-root-id MuiTextField-root-id MuiFormControl-fullWidth-id"
|
||||||
|
@ -157720,6 +157741,7 @@ Ctrl + K"
|
||||||
>
|
>
|
||||||
<label
|
<label
|
||||||
class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
|
class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
|
||||||
|
data-test="override-tax-type"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
aria-disabled="true"
|
aria-disabled="true"
|
||||||
|
@ -157765,6 +157787,7 @@ Ctrl + K"
|
||||||
/>
|
/>
|
||||||
<label
|
<label
|
||||||
class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
|
class="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"
|
||||||
|
data-test="charge-taxes"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
aria-disabled="true"
|
aria-disabled="true"
|
||||||
|
@ -160082,6 +160105,7 @@ Ctrl + K"
|
||||||
>
|
>
|
||||||
<label
|
<label
|
||||||
class="MuiFormControlLabel-root-id"
|
class="MuiFormControlLabel-root-id"
|
||||||
|
data-test="override-tax-type"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
aria-disabled="false"
|
aria-disabled="false"
|
||||||
|
@ -160131,6 +160155,7 @@ Ctrl + K"
|
||||||
/>
|
/>
|
||||||
<label
|
<label
|
||||||
class="MuiFormControlLabel-root-id"
|
class="MuiFormControlLabel-root-id"
|
||||||
|
data-test="charge-taxes"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
aria-disabled="false"
|
aria-disabled="false"
|
||||||
|
@ -160177,6 +160202,7 @@ Ctrl + K"
|
||||||
</label>
|
</label>
|
||||||
<div
|
<div
|
||||||
class="SingleAutocompleteSelectField-container-id ProductTaxes-select-id"
|
class="SingleAutocompleteSelectField-container-id ProductTaxes-select-id"
|
||||||
|
data-test="select-tax-type"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="MuiFormControl-root-id MuiTextField-root-id MuiFormControl-fullWidth-id"
|
class="MuiFormControl-root-id MuiTextField-root-id MuiFormControl-fullWidth-id"
|
||||||
|
@ -162723,6 +162749,7 @@ Ctrl + K"
|
||||||
>
|
>
|
||||||
<label
|
<label
|
||||||
class="MuiFormControlLabel-root-id"
|
class="MuiFormControlLabel-root-id"
|
||||||
|
data-test="override-tax-type"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
aria-disabled="false"
|
aria-disabled="false"
|
||||||
|
@ -162772,6 +162799,7 @@ Ctrl + K"
|
||||||
/>
|
/>
|
||||||
<label
|
<label
|
||||||
class="MuiFormControlLabel-root-id"
|
class="MuiFormControlLabel-root-id"
|
||||||
|
data-test="charge-taxes"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
aria-disabled="false"
|
aria-disabled="false"
|
||||||
|
@ -162818,6 +162846,7 @@ Ctrl + K"
|
||||||
</label>
|
</label>
|
||||||
<div
|
<div
|
||||||
class="SingleAutocompleteSelectField-container-id ProductTaxes-select-id"
|
class="SingleAutocompleteSelectField-container-id ProductTaxes-select-id"
|
||||||
|
data-test="select-tax-type"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="MuiFormControl-root-id MuiTextField-root-id MuiFormControl-fullWidth-id"
|
class="MuiFormControl-root-id MuiTextField-root-id MuiFormControl-fullWidth-id"
|
||||||
|
|
Loading…
Reference in a new issue