feat(medusa,dashboard,tax): added tax rates and regions UI (#7026)
whats missing: - make rules required for overrides - conditions for other rules - populating condition reference ids with labels on update Co-authored-by: Adrien de Peretti <25098370+adrien2p@users.noreply.github.com>
This commit is contained in:
1 parent
92b633d1cb
commit
00e6b21bb5
77 files changed
+3654
-104
No files matched your search
@@ -140,6 +140,27 @@
|
||||
},
|
||||
"required": ["domain"]
|
||||
},
|
||||
"taxRegions": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"domain": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": ["domain"]
|
||||
},
|
||||
"taxRates": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"domain": {
|
||||
"type": "string"
|
||||
},
|
||||
"fields": {
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"required": ["domain"]
|
||||
},
|
||||
"campaigns": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
@@ -633,6 +633,49 @@
|
||||
"disabled": "Disabled"
|
||||
}
|
||||
},
|
||||
"taxRates": {
|
||||
"domain": "Tax Rates",
|
||||
"fields": {
|
||||
"isCombinable": "Is combinable?",
|
||||
"appliesTo": "Tax Rate applies to",
|
||||
"customer_groups": "Customer Group",
|
||||
"product_collections": "Product Collection",
|
||||
"product_tags": "Product Tag",
|
||||
"product_types": "Product Type",
|
||||
"products": "Product"
|
||||
},
|
||||
"edit": {
|
||||
"title": "Edit Tax Rate",
|
||||
"description": "Edits tax rate for a tax region"
|
||||
},
|
||||
"create": {
|
||||
"title": "Create Tax Rate Override",
|
||||
"description": "Creates tax rate overrides for a tax region"
|
||||
}
|
||||
},
|
||||
"taxRegions": {
|
||||
"domain": "Tax Regions",
|
||||
"description": "Manage your region's tax structure",
|
||||
"create": {
|
||||
"title": "Create Tax Region",
|
||||
"description": "Creates a tax region with default tax rate"
|
||||
},
|
||||
"create-child": {
|
||||
"title": "Create Default Rate for Province",
|
||||
"description": "Creates a tax region for a province with default tax rate"
|
||||
},
|
||||
"removeWarning": "You are about to remove {{tax_region_name}}. This action cannot be undone.",
|
||||
"fields": {
|
||||
"rate": {
|
||||
"name": "Rate",
|
||||
"hint": "Tax rate to apply for a region or province"
|
||||
},
|
||||
"is_combinable": {
|
||||
"name": "Is combinable",
|
||||
"hint": "If this tax rate can be combined with the default rate from province or parent"
|
||||
}
|
||||
}
|
||||
},
|
||||
"promotions": {
|
||||
"domain": "Promotions",
|
||||
"fields": {
|
||||
@@ -907,6 +950,7 @@
|
||||
},
|
||||
"taxes": {
|
||||
"domain": "Tax Regions",
|
||||
"domainDescription": "Manage your tax region",
|
||||
"countries": {
|
||||
"taxCountriesHint": "Tax settings apply to the listed countries."
|
||||
},
|
||||
@@ -1123,6 +1167,7 @@
|
||||
"amount": "Amount",
|
||||
"refundAmount": "Refund amount",
|
||||
"name": "Name",
|
||||
"default": "Default",
|
||||
"lastName": "Last Name",
|
||||
"firstName": "First Name",
|
||||
"title": "Title",
|
||||
@@ -1247,6 +1292,7 @@
|
||||
"quantity": "Quantity",
|
||||
"variant": "Variant",
|
||||
"id": "ID",
|
||||
"parent": "Parent",
|
||||
"minSubtotal": "Min. Subtotal",
|
||||
"maxSubtotal": "Max. Subtotal",
|
||||
"shippingProfile": "Shipping Profile",
|
||||
|
||||
Reference in new issue
Block a user