From 4a1c2fa4b283aec508833ee5ccd406f1332fb714 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolo=CC=80=20Rebughini?= Date: Mon, 25 Jan 2021 18:01:55 +0100 Subject: [PATCH] Show 'guest' correctly in order customer details --- .../app/views/spree/admin/orders/customer_details/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/views/spree/admin/orders/customer_details/show.html.erb b/backend/app/views/spree/admin/orders/customer_details/show.html.erb index 3bc113f2d8c..a08add11902 100644 --- a/backend/app/views/spree/admin/orders/customer_details/show.html.erb +++ b/backend/app/views/spree/admin/orders/customer_details/show.html.erb @@ -12,7 +12,7 @@
<%= content_tag :h4, t('spree.account') %> <%= t('spree.email') %>: <%= @order.email %>
- <%= t('spree.guest_checkout') %>: <%= @order.user ? t('spree.yes') : t('spree.no') %> + <%= t('spree.guest_checkout') %>: <%= @order.user.nil? ? t('spree.yes') : t('spree.no') %>