<%
if session[:autherizedUserType] && session[:autherizedUserType].to_s != 'swd'
%>
<% end %>
<%
myimages = "https://user.gadjian.com/static/images/personnel_boy.png"
if @seawdarsobj
if @seawdarsobj.sw_image !=nil && @seawdarsobj.sw_image !=''
chekpath = "#{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
%>
Category *
<%
if @seawdarsobj == nil
%>
<%
else
%>
<% end %>
Employee Code *
readonly<% end %> onkeyup="set_emploee_category_first();" placeholder="" class="form-control " name="sw_sewcode" id="sw_sewcode" value="<% if @seawdarsobj %><%=@seawdarsobj.sw_sewcode%><% end %>"/>
Employee Name *
readonly<% end %> name="sw_sewadar_name" id="sw_sewadar_name" value="<% if @seawdarsobj %><%=@seawdarsobj.sw_sewadar_name%><% end %>"/>
Gender
Date of Birth*
<% if @seawdarsobj %><%=get_dob_calculate(format_oblig_date(@seawdarsobj.sw_date_of_birth))%><% end %>