Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Improve naming taxes configurations
Anna Siwik4efcdc82b63d
diff --git a/docs/guides/taxes.rst b/docs/guides/taxes.rstindex 4e51ca0137..366a15cfdf 100644--- a/docs/guides/taxes.rst+++ b/docs/guides/taxes.rst@@ -13,11 +13,11 @@ Configuring taxesThere are three ways in which you can configure taxes:-#. All taxes are included in my prices+#. All products prices are entered with tax includedIf selected, all prices entered and displayed in dashboard will be treated as gross prices. For example: product with entered price 4.00 € and 19% VAT will have net price calculated to 3.36 € (rounded).-#. Show customers gross prices in storefront+#. Show gross prices to customers in the storefrontIf selected, prices displayed for customers in storefront will be gross. Taxes will be properly calculated at checkout. Changing this setting has no effect on displaying orders placed in the past.diff --git a/saleor/dashboard/taxes/forms.py b/saleor/dashboard/taxes/forms.pyindex 544e4454fb..52679d654d 100644--- a/saleor/dashboard/taxes/forms.py+++ b/saleor/dashboard/taxes/forms.py@@ -13,7 +13,7 @@ class TaxesConfigurationForm(forms.ModelForm):labels = {'include_taxes_in_prices': pgettext_lazy('Include taxes in prices',- 'All taxes are included in my prices'),+ 'All products prices are entered with tax included'),'display_gross_prices': pgettext_lazy('Display gross prices','Show gross prices to customers in the storefront'),diff --git a/templates/dashboard/taxes/form.html b/templates/dashboard/taxes/form.htmlindex 4bfce29ef1..694f9e4317 100644--- a/templates/dashboard/taxes/form.html+++ b/templates/dashboard/taxes/form.html@@ -14,18 +14,18 @@{% block body_class %}body-settings{% endblock %}-{% block menu_settings_class %}active{% endblock %}+{% block menu_taxes_class %}active{% endblock %}{% block breadcrumbs %}<ul class="breadcrumbs breadcrumbs--history"><li>- <a href="{% url 'dashboard:site-index' %}" class="breadcrumbs--ellipsed-item">- {% trans "Site settings" context "Dashboard attributes list" %}+ <a href="{% url 'dashboard:taxes' %}" class="breadcrumbs--ellipsed-item">+ {% trans "Taxes" context "Dashboard taxes list" %}</a></li><li><span>- {% trans "Edit taxes" context "Dashboard site settings" %}+ {% trans "Configure taxes" context "Dashboard configure taxes settings" %}</span></li></ul>@@ -96,7 +96,7 @@</div></div><div class="card-action right-align">- <a class="btn-flat waves-effect" href="{% url 'dashboard:taxes' %}" target="_blank">+ <a class="btn-flat waves-effect" href="{% url 'dashboard:taxes' %}">{% trans "Cancel" context "Dashboard cancel action" %}</a><button type="submit" class="btn waves-effect">diff --git a/templates/dashboard/taxes/list.html b/templates/dashboard/taxes/list.htmlindex 890712acf6..9bc63737f8 100644--- a/templates/dashboard/taxes/list.html+++ b/templates/dashboard/taxes/list.html@@ -73,12 +73,12 @@<div class="card"><div class="card-content"><span class="card-title">- {% trans "Taxes settings" context "Taxes site settings title" %}+ {% trans "Configuration" context "Taxes site settings title" %}</span><div class="row"><div class="col s12"><h4>- {% trans "All taxes are included in my prices" context "Site settings field" %}+ {% trans "All products prices are entered with tax included" context "Site settings field" %}</h4><p>{% if site.settings.include_taxes_in_prices %}@@ -92,7 +92,7 @@<div class="row"><div class="col s12"><h4>- {% trans "Show customers gross prices in storefront" context "Site settings field" %}+ {% trans "Show gross prices to customers in the storefront" context "Site settings field" %}</h4><p>{% if site.settings.display_gross_prices %}