From 06c275531b20a756e92dbf40cce3169da509b318 Mon Sep 17 00:00:00 2001 From: Lee Irving Date: Fri, 15 Nov 2024 14:12:30 +0000 Subject: [PATCH] Update component.rb Admin order index page doesn't reflect the stores currency. --- admin/app/components/solidus_admin/orders/index/component.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/app/components/solidus_admin/orders/index/component.rb b/admin/app/components/solidus_admin/orders/index/component.rb index 2c8641926f5..897f1d819dc 100644 --- a/admin/app/components/solidus_admin/orders/index/component.rb +++ b/admin/app/components/solidus_admin/orders/index/component.rb @@ -153,7 +153,7 @@ def total_column { header: :total, data: ->(order) do - content_tag :div, number_to_currency(order.total) + content_tag :div, order.display_total end } end