<%= t('spree.name') %> |
<%= t('spree.discount_type') %> |
<%= t('spree.range') %> |
<%= t('spree.amount') %> |
<%= t('spree.position') %> |
<%= t('spree.role') %> |
|
<%= f.fields_for :volume_prices do |vp_form| %>
<%= render partial: 'spree/admin/volume_prices/volume_price_fields', locals: { f: vp_form } %>
<% end %>
<%= link_to t(:add_volume_price, scope: :spree), 'javascript:;', {
data: { target: 'tbody#volume_prices' },
class: 'btn btn-primary spree_add_fields',
id: 'add_volume_price'
} %>