<%= render "layouts/portlet-config" %>
<%
myimages = "#{root_url}assets/img/profiles/avatar-02.jpg"
if @seawdarsobj
if @seawdarsobj.sw_image !=nil && @seawdarsobj.sw_image !=''
chekpath = chekpaths = "#{Rails.root}/public/images/sewadar/"+@seawdarsobj.sw_image.to_s
if File.file?(chekpath)
myimages = "#{root_url}images/sewadar/"+@seawdarsobj.sw_image.to_s
end
end
end
%>
Welcome, <% if @seawdarsobj %><%=@seawdarsobj.sw_sewadar_name%><% end %> View Profile
<%=Date.today.strftime("%A")%>, <%=Date.today.strftime("%d %b %Y")%>
Quick Access
Advance Summary
Advance Type | Amount | EMI | Status |
---|---|---|---|
<%=mytypes%> | <%=totals%> | <%=advs.al_installpermonth%> | <%=status%> |
No record(s) found. |
Leave Summary
Leave Type | OB | Credit | Taken | Balance |
---|---|---|---|---|
<%=inv.leavecode%> | <%=obs%> | <%=creiditedlv%> | <%=debitedleve%> | <%=balances%> |
No record(s) found. |