<%= render "layouts/portlet-config" %> <%= render "layouts/theme-panel" %> <% if flash[:error] %>
× <%= flash[:error] %>
<% end %> <%= render "layouts/breadcrumbs" %>
 
<%= form_tag({:action=>'add_serial_number'} ,:multipart=>true,:id=>'myForms' ) do %> <% if @MstField.length >0 && @MstField.length == 1 %> <% end %> <% if @MstField.length >0 && @MstField.length == 2 %> <% end %> <% if @MstField.length >0 && @MstField.length == 3 %> <% end %> <% if @MstField.length >0 && @MstField.length == 4 %> <% end %> <% if @MstField.length >0 && @MstField.length == 5 %> <% end %> <% if @MstField.length >0 && @MstField.length == 6 %> <% end %> <% if @MstField.length >0 && @MstField.length == 7 %> <% end %>
FIN. PROD. [*]
<% i = 1 c=0 if @ChasisMaster.length >0 @ChasisMaster.each do |chs| %> <% if c%2==0 %>
<% end %>
<%=chs.sn_name%> <% if chs.sn_manufacture=='Y' %> [*]<% end %>
required="required" <% end %> class="form-control" name="field<%=i%>" id="field<%=i%>" value=""/>
<% c +=1 i +=1 %> <% end end %>
<% t1 = 1 %> <% if session[:LOCKED_EXPIRY] && session[:LOCKED_EXPIRY]=='Y' %>
 
<% end %>
<% end %>