Sha256: 21dbe161bdb871974d5947268822b4b4216055d0f7f0811a30aee7b361667cc3

Contents?: true

Size: 987 Bytes

Versions: 38

Compression:

Stored size: 987 Bytes

Contents

<div class="card-body">
  <div class="row mb-0">
    <div class="form-group col-6 mb-3">
      <%= select_tag "#{param_prefix}[preferred_operator_min]", options_for_select(Spree::Promotion::Rules::ItemTotal::OPERATORS_MIN.map{|o| [Spree.t("item_total_rule.operators.#{o}"),o]}, promotion_rule.preferred_operator_min), { class: 'custom-select select_item_total mb-3' } %>
      <%= select_tag "#{param_prefix}[preferred_operator_max]", options_for_select(Spree::Promotion::Rules::ItemTotal::OPERATORS_MAX.map{|o| [Spree.t("item_total_rule.operators.#{o}"),o]}, promotion_rule.preferred_operator_max), { class: 'custom-select select_item_total' } %>
    </div>
    <div class="form-group col-6 mb-3">
      <%= text_field_tag "#{param_prefix}[preferred_amount_min]", promotion_rule.preferred_amount_min, class: 'form-control mb-3' %>
      <%= text_field_tag "#{param_prefix}[preferred_amount_max]", promotion_rule.preferred_amount_max, class: 'form-control' %>
    </div>
  </div>
</div>

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
spree_backend-4.4.0.rc1 app/views/spree/admin/promotions/rules/_item_total.html.erb
spree_backend-4.3.0 app/views/spree/admin/promotions/rules/_item_total.html.erb
spree_backend-4.3.0.rc3 app/views/spree/admin/promotions/rules/_item_total.html.erb
spree_backend-4.3.0.rc2 app/views/spree/admin/promotions/rules/_item_total.html.erb
spree_backend-4.3.0.rc1 app/views/spree/admin/promotions/rules/_item_total.html.erb
spree_backend-4.2.5 app/views/spree/admin/promotions/rules/_item_total.html.erb
spree_backend-4.2.4 app/views/spree/admin/promotions/rules/_item_total.html.erb
spree_backend-4.2.3.1 app/views/spree/admin/promotions/rules/_item_total.html.erb
spree_backend-4.2.3 app/views/spree/admin/promotions/rules/_item_total.html.erb
spree_backend-4.2.2 app/views/spree/admin/promotions/rules/_item_total.html.erb
spree_backend-4.2.1 app/views/spree/admin/promotions/rules/_item_total.html.erb
spree_backend-4.2.0 app/views/spree/admin/promotions/rules/_item_total.html.erb
spree_backend-4.2.0.rc5 app/views/spree/admin/promotions/rules/_item_total.html.erb
spree_backend-4.2.0.rc4 app/views/spree/admin/promotions/rules/_item_total.html.erb
spree_backend-4.2.0.rc3 app/views/spree/admin/promotions/rules/_item_total.html.erb
spree_backend-4.2.0.rc2 app/views/spree/admin/promotions/rules/_item_total.html.erb
spree_backend-4.2.0.rc1 app/views/spree/admin/promotions/rules/_item_total.html.erb
spree_backend-4.2.0.beta app/views/spree/admin/promotions/rules/_item_total.html.erb