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.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
Add hits to reports that they are scoped by store.
Matthew Kennedyfdab50c1e1f7
diff --git a/backend/app/views/spree/admin/reports/index.html.erb b/backend/app/views/spree/admin/reports/index.html.erbindex 40b4859723..6cd18a07a6 100644--- a/backend/app/views/spree/admin/reports/index.html.erb+++ b/backend/app/views/spree/admin/reports/index.html.erb@@ -1,5 +1,5 @@<% content_for :page_title do %>- <%= Spree.t(:reports) %>+ <%= Spree.t(:reports) %> <%= Spree.t('admin.reports.for', store_name: current_store.unique_name) %><% end %><div class="table-responsive"><table class="table">diff --git a/backend/app/views/spree/admin/reports/sales_total.html.erb b/backend/app/views/spree/admin/reports/sales_total.html.erbindex ece7b9ecd2..6935080876 100644--- a/backend/app/views/spree/admin/reports/sales_total.html.erb+++ b/backend/app/views/spree/admin/reports/sales_total.html.erb@@ -1,6 +1,6 @@<% content_for :page_title do %><%= link_to Spree.t(:reports), spree.admin_reports_url %> /- <%= Spree.t(:sales_totals) %>+ <%= Spree.t(:sales_totals) %> <%= Spree.t('admin.reports.for', store_name: current_store.unique_name) %><% end %><div class="card bg-light mb-3">diff --git a/core/config/locales/en.yml b/core/config/locales/en.ymlindex dfea308670..c6dca4d2f8 100644--- a/core/config/locales/en.yml+++ b/core/config/locales/en.yml@@ -580,6 +580,8 @@ en:resend: Resendorders:cart: Cart+ reports:+ for: For %{store_name}return_authorization:product: Productuser: