Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Remove outdated VAT label in orders emails

Piotr Milewskiba4f77fdc2d7
diff --git a/core/app/views/spree/shared/_purchased_items_table.html.erb b/core/app/views/spree/shared/_purchased_items_table.html.erb
index 9c9374c56d..10045ec218 100644
--- a/core/app/views/spree/shared/_purchased_items_table.html.erb
+++ b/core/app/views/spree/shared/_purchased_items_table.html.erb
@@ -48,9 +48,6 @@
<p class="f-fallback purchase_total purchase_total--label">
<%= Spree.t(:tax) %>:
</p>
- <p class="f-fallback purchase_total--name purchase_total--label">
- <%= label %>
- </p>
</td>
<td class="purchase_total-col">
<p class="f-fallback purchase_total">
diff --git a/core/app/views/spree/shared/_purchased_items_table.text.erb b/core/app/views/spree/shared/_purchased_items_table.text.erb
index ea606ea8f8..7d38c07382 100644
--- a/core/app/views/spree/shared/_purchased_items_table.text.erb
+++ b/core/app/views/spree/shared/_purchased_items_table.text.erb
@@ -16,7 +16,7 @@
<% end %>
<% if order.additional_tax_total != 0 %>
- <%= Spree.t(:tax) %>: <%= label %> <%= order.display_additional_tax_total.to_html %>
+ <%= Spree.t(:tax) %>: <%= order.display_additional_tax_total.to_html %>
<% end %>
<% order.adjustments.eligible.each do |adjustment| %>