Sha256: b17b3fe8d94979cd0e8b13cbebdf1f7f2990d3374af6628b646a2bf09cfe8690
Contents?: true
Size: 729 Bytes
Versions: 23
Compression:
Stored size: 729 Bytes
Contents
.nested-fields.order-item .row.align-items-center = f.fields_for :purchasable, (f.object.purchasable || Effective::Product.new) do |pf| .col-md-2= f.number_field :quantity, input_html: { value: f.object.quantity || 1, min: 1 } .col-md-4= pf.text_field :name, maxlength: 255 .col-md-2= pf.price_field :price - if defined?(EffectiveQbSync) .col-md-2= pf.text_field :qb_item_name, maxlength: 255, label: 'Quickbooks Item' .col-md-2.mt-4= pf.check_box :tax_exempt, label: "Tax Exempt", title: 'When checked, tax will not be applied to this item' .col-md-1 = link_to_remove_association(f, 'data-confirm': 'Remove?') do = icon('trash-2', class: 'text-danger')
Version data entries
23 entries across 23 versions & 1 rubygems