Edit in Printer

This commit is contained in:
San Wai Lwin
2018-04-12 10:42:43 +06:30
parent 4a0995c7ba
commit 926ce2f259

View File

@@ -13,14 +13,10 @@
<%= f.input :header_font_size %> <%= f.input :header_font_size %>
<%= f.input :item_font_size %> <%= f.input :item_font_size %>
<% <% if(@server_mode != 'cloud') %>
if(@server_mode != 'cloud')
%>
<%= f.input :printer_name, :as => :select, :collection => Printer::PrinterWorker.printers, include_blank: false %> <%= f.input :printer_name, :as => :select, :collection => Printer::PrinterWorker.printers, include_blank: false %>
<% <% else %>
else <%= f.input :printer_name %>
%>
<%= f.input :printer_name, :as => :select, :collection => [], include_blank: false %>
<% end %> <% end %>
<%= f.input :brand_name %> <%= f.input :brand_name %>
<%= f.input :printer_type %> <%= f.input :printer_type %>