mirror of
https://github.com/rickbarrette/redmine_qbo_lineitems.git
synced 2026-10-04 01:20:43 -04:00
minium qty is 1
This commit is contained in:
1 parent
42ea5dffc9
commit
449910c941
1 file changed
+2
-1
@@ -15,7 +15,8 @@
|
||||
<td data-label="<%= t :label_qty %>">
|
||||
<%= f.number_field :quantity,
|
||||
step: 1,
|
||||
min: 0,
|
||||
min: 1,
|
||||
value: (f.object.quantity.to_i > 0) ? f.object.quantity : 1,
|
||||
class: "qty-field",
|
||||
no_label: true,
|
||||
disabled: readonly %>
|
||||
|
||||
Reference in new issue
Block a user