<%= render "layouts/portlet-config" %> <%= render "layouts/theme-panel" %> <% if flash[:error] %>
× <%= flash[:error] %>
<% end %> <%= render "layouts/breadcrumbs" %>
<%= form_tag({:action=>'create'} ,:multipart=>true,:id=>'myForms' ) do %>
Site Name [*]
Supervisor
<%=@superviser%>
Security
<%=@security%>
Start Date
Target Date
Estimated Cost
Completed
Size
Service Type
Add Contractor
<% contdt = nil isconlisting = "hidden" if @Lsite!=nil contdt = @Lsite.st_contractno.to_s.split(",") if contdt.length >0 isconlisting = "" end end %>
<% m = 1; if contdt!=nil && contdt.length >0 contdt.each do |cont| names = '' objcont = get_customer_detail(cont) if objcont names = objcont.cs_customername end %> <% m +=1 end end %>
SL. NO. Contractor Action
<%=m%> <%=names%>
<% myfilesid = '' compcode = '' fl = 1 c1 = 0; if @Lsite!=nil myfilesid = @Lsite.st_number compcode = @Lsite.st_compcode end obfile = get_attached_resp_file(compcode,myfilesid) if obfile.length >0 obfile.each do |fila| %> <% fl +=1 c1 +=1 end end %>
 
Search
<% pagestart = params[:page] ? params[:page] : 1 if pagestart.to_i <=1 i = 1 else i = ((pagestart.to_i-1)*25)+1 i = i.to_i end if @mstEmployeeData.count >0 @mstEmployeeData.each do |gps| %> <% i +=1 end else %> <% end %>
SL. NO. Name Supervisor Security Action
<%=i%> <%=gps.st_name%> <% spname = '' objap = get_employee_detail(gps.st_compcode,gps.st_supervisior) if objap spname = objap.emp_name end %> <%=spname%> <% sqname = '' objsq = get_employee_detail(gps.st_compcode,gps.st_security) if objsq sqname = objsq.emp_name end %> <%=sqname%>
No Records Found
<%= will_paginate(@mstEmployeeData)%>
<% end %>
<%=render "layouts/popupforms"%>