Sha256: dc83fee9737257335b7415657406e8dda162ee776c949c94ab79edf3673d6b12
Contents?: true
Size: 370 Bytes
Versions: 3
Compression:
Stored size: 370 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 fa fa-print") %></li> <% end %> <% end %>
Version data entries
3 entries across 3 versions & 1 rubygems