Skip to content

Commit

Permalink
Merge pull request #3 from TerraCycle/fix-options-text
Browse files Browse the repository at this point in the history
Fix options text
  • Loading branch information
storhet authored Jun 7, 2020
2 parents 298dd9e + ec4fcfe commit 8add8fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/models/spree/printables/order/invoice_view.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def items
Spree::Printables::Invoice::Item.new(
sku: item.variant.sku,
name: item.variant.name,
options_text: item.variant.options_text,
options_text: item.variant.front_end_options_text,
price: item.price,
quantity: item.quantity,
total: item.total
Expand Down
2 changes: 1 addition & 1 deletion app/views/spree/admin/bookkeeping_documents/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
<td><%= bookkeeping_document.email %></td>
<td><%= bookkeeping_document.display_total.to_html %></td>
<td class='actions actions-1' data-hook="admin_orders_index_row_actions">
<%= link_to_with_icon "file", "", admin_bookkeeping_document_path(bookkeeping_document, format: :pdf), title: "show_bookkeeping_document_#{bookkeeping_document.id}", no_text: true %>
<%= link_to_with_icon "file", "", admin_bookkeeping_document_path(bookkeeping_document, format: :pdf), title: "show_bookkeeping_document_#{bookkeeping_document.id}", no_text: true, target: '_blank' %>
</td>
</tr>
<% end %>
Expand Down

0 comments on commit 8add8fa

Please sign in to comment.