Sha256: bc4bc96e719aba01f86a0b4d1e4113a3d2282916dd51e5f68d2ef3b8c8014ddb

Contents?: true

Size: 1.45 KB

Versions: 34

Compression:

Stored size: 1.45 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
  = 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

34 entries across 34 versions & 1 rubygems

Version Path
workarea-admin-3.4.45 app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml
workarea-admin-3.4.44 app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml
workarea-admin-3.4.43 app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml
workarea-admin-3.4.42 app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml
workarea-admin-3.4.41 app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml
workarea-admin-3.4.40 app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml
workarea-admin-3.4.39 app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml
workarea-admin-3.4.38 app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml
workarea-admin-3.4.37 app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml
workarea-admin-3.4.36 app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml
workarea-admin-3.4.35 app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml
workarea-admin-3.4.34 app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml
workarea-admin-3.4.33 app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml
workarea-admin-3.4.32 app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml
workarea-admin-3.4.31 app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml
workarea-admin-3.4.30 app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml
workarea-admin-3.4.29 app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml
workarea-admin-3.4.28 app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml
workarea-admin-3.4.27 app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml
workarea-admin-3.4.26 app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml