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.13 app/views/workarea/admin/product_rules/fields/_available_inventory.html.haml
workarea-admin-3.4.12 app/views/workarea/admin/product_rules/fields/_available_inventory.html.haml