Sha256: 13f56f781c1f0c62a5f245b6c15eb4f50e5622f8563e196d9994b214a59a2672
Contents?: true
Size: 744 Bytes
Versions: 43
Compression:
Stored size: 744 Bytes
Contents
.nested-fields.order-item .row.align-items-center = f.fields_for :purchasable, (f.object.purchasable || Effective::Product.new) do |pf| .col-md-1= 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.mt-4 = link_to_remove_association(f, 'data-confirm': 'Really remove this item?') do = icon('x', class: 'btn-danger')
Version data entries
43 entries across 43 versions & 1 rubygems