diff --git a/backend/app/helpers/spree/admin/adjustments_helper.rb b/backend/app/helpers/spree/admin/adjustments_helper.rb index 8fd4aac42ff..d39fdd0fb5f 100644 --- a/backend/app/helpers/spree/admin/adjustments_helper.rb +++ b/backend/app/helpers/spree/admin/adjustments_helper.rb @@ -36,7 +36,11 @@ def display_adjustable(adjustable) def display_line_item(line_item) variant = line_item.variant - "#{variant.product.name}
(#{variant.options_text})
#{line_item.display_total}".html_safe + parts = [] + parts << variant.product.name + parts << "(#{variant.options_text})" if variant.options_text.present? + parts << line_item.display_total + parts.join("
").html_safe end def display_shipment(shipment)