update the view used when the invoice feature is enabled

This commit is contained in:
Mohamed ABDELLANI
2023-10-12 16:07:12 +01:00
parent 4634c2d965
commit 1182544c47

View File

@@ -2,5 +2,5 @@
= "#{raw(line_item.variant.product.name)}"
- unless line_item.variant.product.name.include? line_item.name_to_display
%span= "- #{raw(line_item.name_to_display)}"
- if line_item.options_text.present?
= "(#{raw(line_item.options_text)})"
- if line_item.unit_price_price_and_unit
= raw("(#{line_item.unit_price_price_and_unit})")