Sha256: 89ce9a277f3af1e96c6668bb7fc39700df9bd6a925b53667811e26cbbfab4a4d
Contents?: true
Size: 369 Bytes
Versions: 2
Compression:
Stored size: 369 Bytes
Contents
<% if @order and @order.completed_at? %> <% buttons = Spree::PrintInvoice::Config[:print_buttons] buttons = buttons.split(",").collect{|b| b.strip } %> <% buttons.each do |button| %> <li><%= link_to(Spree.t(button.to_s + "_print"), spree.admin_order_path(@order, :pdf , :template => button), :class => "button icon-print") %></li> <% end %> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spree_print_invoice-2.1.4 | app/views/spree/admin/orders/_print_buttons.html.erb |
spree_print_invoice-2.1.3 | app/views/spree/admin/orders/_print_buttons.html.erb |