Sha256: d8819d7ca9fb294e5316fc8966105ffef76033e881e802140d83278f396edbb4

Contents?: true

Size: 928 Bytes

Versions: 2

Compression:

Stored size: 928 Bytes

Contents

<% content_for :page_actions do %>
  <span id="new_add_volume_price" data-hook>
    <%= button_link_to Spree.t(:add_volume_price), 'javascript:;', {
        icon: 'add',
        :'data-target' => 'tbody#volume_prices',
        class: 'btn-success spree_add_fields',
        id: 'add_volume_price'
      } %>
  </span>
<% end %>

<h3><%= Spree.t(:volume_prices) %></h3>
<table class="table">
  <thead>
    <tr>
      <th><%= Spree.t(:name) %></th>
      <th><%= Spree.t(:discount_type) %></th>
      <th><%= Spree.t(:range) %></th>
      <th><%= Spree.t(:amount) %></th>
      <th><%= Spree.t(:position) %></th>
      <th><%= Spree.t(:role) %></th>
      <th class="actions"></th>
    </tr>
  </thead>
  <tbody id="volume_prices">
    <%= f.fields_for :volume_prices do |vp_form| %>
      <%= render partial: 'spree/admin/volume_prices/volume_price_fields', locals: { f: vp_form } %>
    <% end %>
  </tbody>
</table>
<br/><br/>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
solidus_volume_pricing-0.2.1 app/views/spree/admin/volume_prices/_edit_fields.html.erb
solidus_volume_pricing-0.1.1 app/views/spree/admin/volume_prices/_edit_fields.html.erb