Sha256: 8676f0a5d7f78e9d9b172e92d44162b9d646a4975ef7614b9e40f69279237689
Contents?: true
Size: 697 Bytes
Versions: 95
Compression:
Stored size: 697 Bytes
Contents
.row.align-items-center = f.fields_for :purchasable, (f.object.purchasable || f.object.build_purchasable) do |pf| -# Order item fields .col = f.hidden_field :purchasable_id = f.hidden_field :purchasable_type = f.number_field :quantity, input_html: { value: f.object.quantity || 1, min: 1 } -# Purchasable fields .col = pf.hidden_field :id = pf.text_field :name .col= pf.price_field :price - if EffectiveOrders.qb_sync? || EffectiveOrders.qb_online? .col= pf.text_field :qb_item_name, label: 'Quickbooks Item' .col= pf.check_box :tax_exempt, label: "Tax Exempt", title: 'When checked, tax will not be applied to this item'
Version data entries
95 entries across 95 versions & 1 rubygems