Sha256: 8de62ca720051d8302fc6dee6b06689cefafa56fa76b13e20e2f16df2c7269e8

Contents?: true

Size: 669 Bytes

Versions: 62

Compression:

Stored size: 669 Bytes

Contents

= hidden_field_tag 'product_rule[name]', 'available_inventory', id: nil
Inventory must be
= select_tag 'product_rule[operator]', options_for_select(product_rule_operators, rule.operator)
= number_field_tag 'product_rule[value]', rule.value.presence || 0, class: 'text-box text-box--i18n text-box--small'
= inline_svg 'workarea/admin/icons/help.svg', class: 'svg-icon svg-icon--small svg-icon--blue', data: { tooltip: { content_id: '#available-inventory-info' }.to_json }
#available-inventory-info.tooltip-content
  %p This is the total available inventory for all SKUs in the product. If a SKU has an inventory policy of "Ignore", it was unlimited available inventory.

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-admin-3.4.27 app/views/workarea/admin/product_rules/fields/_available_inventory.html.haml
workarea-admin-3.5.4 app/views/workarea/admin/product_rules/fields/_available_inventory.html.haml
workarea-admin-3.4.26 app/views/workarea/admin/product_rules/fields/_available_inventory.html.haml
workarea-admin-3.5.3 app/views/workarea/admin/product_rules/fields/_available_inventory.html.haml
workarea-admin-3.4.25 app/views/workarea/admin/product_rules/fields/_available_inventory.html.haml
workarea-admin-3.5.2 app/views/workarea/admin/product_rules/fields/_available_inventory.html.haml
workarea-admin-3.4.24 app/views/workarea/admin/product_rules/fields/_available_inventory.html.haml
workarea-admin-3.5.1 app/views/workarea/admin/product_rules/fields/_available_inventory.html.haml
workarea-admin-3.4.23 app/views/workarea/admin/product_rules/fields/_available_inventory.html.haml
workarea-admin-3.4.22 app/views/workarea/admin/product_rules/fields/_available_inventory.html.haml
workarea-admin-3.5.0 app/views/workarea/admin/product_rules/fields/_available_inventory.html.haml
workarea-admin-3.4.21 app/views/workarea/admin/product_rules/fields/_available_inventory.html.haml
workarea-admin-3.5.0.beta.1 app/views/workarea/admin/product_rules/fields/_available_inventory.html.haml
workarea-admin-3.4.20 app/views/workarea/admin/product_rules/fields/_available_inventory.html.haml
workarea-admin-3.4.19 app/views/workarea/admin/product_rules/fields/_available_inventory.html.haml
workarea-admin-3.4.18 app/views/workarea/admin/product_rules/fields/_available_inventory.html.haml
workarea-admin-3.4.17 app/views/workarea/admin/product_rules/fields/_available_inventory.html.haml
workarea-admin-3.4.16 app/views/workarea/admin/product_rules/fields/_available_inventory.html.haml
workarea-admin-3.4.15 app/views/workarea/admin/product_rules/fields/_available_inventory.html.haml
workarea-admin-3.4.14 app/views/workarea/admin/product_rules/fields/_available_inventory.html.haml