<%= render "layouts/portlet-config" %> <%= render "layouts/theme-panel" %> <% if flash[:error] %>
× <%= flash[:error] %>
<% end %> <%= render "layouts/breadcrumbs" %>
20,20,25,30,35,25,40
Present
<% mypcounts = 0 if @myloc mypcounts = get_present_absent_by_stores(@myloc,'S') %> <%=mypcounts%> <% end %>
2,6,8,12, 11, 15, 16, 11, 16, 11, 10, 3, 7, 8, 12, 19
<% temployelength = 0 if @AssignVsit && @AssignVsit.length >0 temployelength = @AssignVsit.length end myabsented = temployelength.to_i-mypcounts.to_i %>
Absent
<%=myabsented%>
0% Complete
Daily Attendance
<% if @isOffDuty %>
Punch
<% end %>
<% if @isOnDuty %>
Punch
<% end %>
<% if @AssignVsit && @AssignVsit.length >0 @AssignVsit.each do |newemp| %> <% myimages = "#{root_url}assets/img/profiles/avatar-02.jpg" if newemp.sw_image !=nil && newemp.sw_image !='' chekpath = "#{Rails.root}/public/images/sewadar/"+newemp.sw_image.to_s if File.file?(chekpath) myimages = "#{root_url}images/sewadar/"+newemp.sw_image.to_s end end #timings = "" # shifobjs = get_shift_listed_detail(newemp.sw_shiftcode) # if shifobjs # timings = shifobjs.attend_shfintime.to_s+"-"+shifobjs.attend_shfout.to_s # end shiftname = '' #newemp.sw_shiftcode.to_s+"("+timings.to_s+")"; punchcounts = 0 #get_today_punchcountby_employee(newemp.sw_sewcode) deprtime = get_common_arrival_time(@compcodes,newemp.sw_sewcode,Date.today,'D') %> <% end end %>
Image Last Punched Employee Code Employee Name Action
<%=newemp.emp_name%>
<%=deprtime%> <%=newemp.sw_sewcode%> <%=newemp.emp_name%> Select