Sha256: 11084356f5e2155ed198ed013600238e7a43fbf807416cc3548cd58d04462835

Contents?: true

Size: 1.53 KB

Versions: 28

Compression:

Stored size: 1.53 KB

Contents

.discount__node-line
  %p.discount__node-group
    %span.discount__node Set shipping cost for
    %span.discount__node= select_tag 'discount[shipping_service]', options_for_select(@discount.shipping_service_options, @discount.shipping_service), title: 'Shipping Service'
    %span.discount__node to
    %span.discount__node
      %span.property.property--inline
        = Money.default_currency.symbol
        = text_field_tag 'discount[amount]', @discount.amount, class: 'text-box text-box--small', title: 'Amount', placeholder: '0', required: true

.discount__node-line
  %p.discount__node-group
    %span.discount__node= select_tag 'condition_options', options_for_select(@discount.condition_options, @discount.selected_condition_option), title: 'When to Apply Discount', data: { discount_options_menu: { type: 'condition' }.to_json }
  = render 'workarea/admin/pricing_discounts/conditions/order_total', discount: @discount
  = render 'workarea/admin/pricing_discounts/conditions/user_tags', discount: @discount
  = render 'workarea/admin/pricing_discounts/conditions/segments', discount: @discount
  = append_partials('admin.discount_conditions', discount: @discount)

  %p.discount__node-group
    %span.discount__node applied
    %span.discount__node= select_tag 'application_options', options_for_select(@discount.application_options, @discount.selected_application_option), title: 'When to Apply Discount', data: { discount_options_menu: { type: 'application' }.to_json }
  = render 'workarea/admin/pricing_discounts/conditions/promo_code', discount: @discount

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
workarea-admin-3.5.27 app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml
workarea-admin-3.5.26 app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml
workarea-admin-3.5.25 app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml
workarea-admin-3.5.23 app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml
workarea-admin-3.5.22 app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml
workarea-admin-3.5.21 app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml
workarea-admin-3.5.20 app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml
workarea-admin-3.5.19 app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml
workarea-admin-3.5.18 app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml
workarea-admin-3.5.17 app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml
workarea-admin-3.5.16 app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml
workarea-admin-3.5.15 app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml
workarea-admin-3.5.14 app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml
workarea-admin-3.5.13 app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml
workarea-admin-3.5.12 app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml
workarea-admin-3.5.11 app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml
workarea-admin-3.5.10 app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml
workarea-admin-3.5.9 app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml
workarea-admin-3.5.8 app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml
workarea-admin-3.5.7 app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml