Skip to content

Commit

Permalink
update legacy invoices
Browse files Browse the repository at this point in the history
  • Loading branch information
abdellani committed Oct 12, 2023
1 parent f871863 commit df18fac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions app/views/spree/shared/_line_item_name.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
= "#{raw(line_item.product.name)}"
- unless line_item.product.name.include? line_item.name_to_display
%span= "- #{raw(line_item.name_to_display)}"
- if line_item.options_text
= "(#{raw(line_item.options_text)})"
= raw("(#{line_item.unit_price_price_and_unit})")
4 changes: 2 additions & 2 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1870,8 +1870,8 @@ en:
invoice_column_price: "Price"
invoice_column_item: "Item"
invoice_column_qty: "Qty"
invoice_column_unit_price_with_taxes: "Unit price (Incl. tax)"
invoice_column_unit_price_without_taxes: "Unit price (Excl. tax)"
invoice_column_unit_price_with_taxes: "Price per unit (Incl. tax)"
invoice_column_unit_price_without_taxes: "Price per unit (Excl. tax)"
invoice_column_price_with_taxes: "Total price (Incl. tax)"
invoice_column_price_without_taxes: "Total price (Excl. tax)"
invoice_column_tax_rate: "Tax rate"
Expand Down

0 comments on commit df18fac

Please sign in to comment.