<%= render "layouts/portlet-config" %> <%= render "layouts/theme-panel" %> <%=render'layouts/breadcrumbs'%> <% if flash[:error] %>
× <%= flash[:error] %>
<% end %> <%= form_tag({:action=>'create'} ,:multipart=>true,:id=>:myforms ) do %>
<% end %>
20,20,25,30,35,25,40
<% if @sewdarList && @sewdarList.length >0 @Totalcounts = @sewdarList.length end %>
Total Employees
<%=@Totalcounts ? @Totalcounts : 0 %>
2,6,8,12, 11, 15, 16, 11, 16, 11, 10, 3, 7, 8, 12, 19
New Joining
<%=@Allsewobj.length%>/<%=@familylisted.length%>
0% Complete
<% if @CheckGroup %> <% end %> <% pagestart = params[:page] ? params[:page] : 1 if pagestart.to_i <=1 i = 1 else i = ((pagestart.to_i-1)*20)+1 i = i.to_i end if @sewdarList && @sewdarList.length >0 @sewdarList.each do |newsewa| roles = "" email = "" mobileno = "" joiningdate = "" anumationdate = "" regulardate = "" department = "" persobj = get_personal_information(newsewa.sw_compcode,newsewa.sw_sewcode) if persobj email = persobj.sp_personal_email mobileno = persobj.sp_mobileno end offobj = get_office_information(newsewa.sw_compcode,newsewa.sw_sewcode) if offobj joiningdate = offobj.so_joiningdate anumationdate = offobj.so_superannuationdate regulardate = offobj.so_regularizationdate rolobj = get_roles_information(newsewa.sw_compcode,offobj.so_respcode) if rolobj roles = rolobj.rsp_description end deprtobj = get_all_department_detail(offobj.so_deprtcode) if deprtobj department = deprtobj.departDescription end end desiname = "" sewdesobj = get_sewdar_designation_detail(newsewa.sw_desigcode) if sewdesobj desiname = sewdesobj.ds_description end %> <% myimages = "#{root_url}assets/img/profiles/avatar-02.jpg" if newsewa if newsewa.sw_image !=nil && newsewa.sw_image !='' chekpath = "#{Rails.root}/public/images/sewadar/"+newsewa.sw_image.to_s if File.file?(chekpath) myimages = "#{root_url}images/sewadar/"+newsewa.sw_image.to_s end end end mylocation = "" mycatgpars = newsewa.sw_catgeory.to_s.split("-") mylocobj = get_location_detail(newsewa.sw_location) if mylocobj mylocation = mylocobj.hof_description end %> <% if @CheckGroup %> <% end %> <% i +=1 end else %> <% end %>
Code
Name
Gender
Mobile
Email
Location
Date of Birth
Join Date
Leaving Date
Departments
Roles
Designation
ActionCreate
Face Id
Delete
Face Id
<%=newsewa.sw_sewadar_name%>
<%=newsewa.sw_sewcode%> <% if newsewa.sw_oldsewdarcode !=nil && newsewa.sw_oldsewdarcode!='' %> (<%=newsewa.sw_oldsewdarcode%>)<% end %>
<%=newsewa.sw_sewadar_name%>
<% if newsewa.sw_gender =='M'%>Male<% elsif newsewa.sw_gender =='F'%>Female<% end %> <%=mycatgpars[1] ? ","+mycatgpars[1].to_s : ''%>

<%=mobileno%>
<%=email%>
<%=mylocation%>
<%=formatted_date(newsewa.sw_date_of_birth)%>
<%=formatted_date(newsewa.sw_joiningdate)%>
<%=formatted_date(newsewa.sw_leavingdate)%>
<%=department%>
<%=roles%>
<%=desiname%>
<% if newsewa.sw_leavingdate ==nil || newsewa.sw_leavingdate == '' if newsewa.sw_personid != nil && newsewa.sw_personid != '' %> Face Registered <% else %> Face Registration <% end end %> <% if newsewa.sw_personid != nil && newsewa.sw_personid != '' %> Delete Face Registered <% end %>
No record(s) found.
<%#=will_paginate(@sewdarList)%>