update menu item min qty

This commit is contained in:
Aung Myo
2018-07-20 13:46:19 +06:30
parent 88f7d0d2b7
commit 0ad29d29aa

View File

@@ -11,7 +11,7 @@
<%= f.input :name,:input_html => {:class => "col-md-9"} %>
<%= f.input :alt_name,:input_html => {:class => "col-md-9"} %>
<%= f.input :type, :collection => ["SimpleMenuItem","SetMenuItem"], :input_html => {:class => "col-md-9"}, include_blank: false, include_hidden: false %>
<%= f.input :min_qty,:input_html => {:class => "col-md-9"} %>
<%= f.input :min_qty,:input_html => {:class => "col-md-9" ,:min=>1} %>
<%= f.input :account_id, :label => "Account type", :collection => Account.collection,:input_html => {:class => "col-md-9"}, include_blank: false, include_hidden: false %>
<%= f.input :is_available,:input_html => {:class => "col-md-9"} %>