Sha256: d91c8565afa66846bc5e91d446550bd3e4239af52d64afc477b0869a97f51de5

Contents?: true

Size: 425 Bytes

Versions: 12

Compression:

Stored size: 425 Bytes

Contents

Deface::Override.new(:virtual_path => 'spree/orders/show',
                     :name => 'add_instruction_to_order_show',
                     :insert_before => "fieldset#order_summary legend",
                     :text => "
<% unless @order.paid? %>
  <% source = @order.payments.last.source %>
  <%= render source.instructions_partial_path, source: source if source.respond_to?(:instructions_partial_path)  %>
<% end %>")

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
spree_komoju-0.1.4 app/overrides/add_instruction_to_order_show.rb
spree_komoju-0.1.3 app/overrides/add_instruction_to_order_show.rb
spree_komoju-0.1.2 app/overrides/add_instruction_to_order_show.rb
spree_komoju-0.1.1 app/overrides/add_instruction_to_order_show.rb
spree_komoju-0.1.0 app/overrides/add_instruction_to_order_show.rb
spree_komoju-0.0.9 app/overrides/add_instruction_to_order_show.rb
spree_komoju-0.0.8 app/overrides/add_instruction_to_order_show.rb
spree_komoju-0.0.7 app/overrides/add_instruction_to_order_show.rb
spree_komoju-0.0.6 app/overrides/add_instruction_to_order_show.rb
spree_komoju-0.0.5 app/overrides/add_instruction_to_order_show.rb
spree_komoju-0.0.4 app/overrides/add_instruction_to_order_show.rb
spree_komoju-0.0.3 app/overrides/add_instruction_to_order_show.rb