<%=form_for @installsh, url:{ :action=>:update },html:{ :method=>:put } do |f| %>
<%= render "layouts/portlet-config" %> <%= render "layouts/theme-panel" %> <% if flash[:error] %>
× <%= flash[:error] %>
<% end %> <%= render "layouts/breadcrumbs" %>
<% dates = '' if @installsh if @installsh.imd_date_install!=nil && @installsh.imd_date_install!='' ndate = Date.parse(@installsh.imd_date_install.to_s) dates = ndate.strftime("%d-%b-%Y") end end %>
<% if @installsh isob = @installsh.imd_machine_number.to_s.split(",") isob.each do |mach| if mach!= nil && mach!='' %> <% end end else %> <% end %>
  Machine No
 
 
<% times = '' if @installsh if @installsh.imd_dup_punch!=nil && @installsh.imd_dup_punch!='' ntime = Time.parse(@installsh.imd_dup_punch.to_s) times = ntime.strftime("%I:%M") end end %>
 
 
<% if @installprocess.length >0 @installprocess.each do |departs| %> <% end end %>
Install Date Duplicate Punch Action
<% mdate = '' if departs.imd_date_install!=nil && departs.imd_date_install!='' dt = Date.parse(departs.imd_date_install.to_s) mdate = dt.strftime("%d-%b-%Y") end %> <%=mdate%> <% mtimes = '' if departs.imd_dup_punch!=nil && departs.imd_dup_punch!='' tims = Time.parse(departs.imd_dup_punch.to_s) mtimes = tims.strftime("%I:%M") end %> <%=mtimes%>
<% end %>