<%= render "layouts/portlet-config" %> <%= render "layouts/theme-panel" %> <% if flash[:error] %>
× <%= flash[:error] %>
<% end %> <%= render "layouts/breadcrumbs" %>
 
File ID/No.

<%= form_tag({:action=>'create'} ,:multipart=>true,:id=>'myForms' ) do %>
Expense No
File ID[*]
Employee Name [*]
Expense Dt.[*]
Place of survey
Type of Survey
Type of Trip
Type of Expense
Payment Mode
Expense Amount
<% myfilesid = '' fl = 1 c1 = 0; if @mstXEmpEdit!=nil myfilesid = @mstXEmpEdit.ed_number end obfile = attached_survey_doc(myfilesid) if obfile!=nil && obfile.length >0 obfile.each do |fila| %> <% times = fila.created_at.to_s.split(" ") filsext = Rails.root.join "public", "images", "expnesefile",fila.sat_image.to_s if File.exist?(filsext) %> <% else %> <% end %> <% fl +=1 c1 +=1 end end %>
<%=fila.sat_image%><%=fila.sat_image%> Delete 
Delete Add More Files

 
 
<% k = 1 if @seleExpenseFil!=nil && @seleExpenseFil.length >0 @seleExpenseFil.each do |expn| %> <% k +=1 end %> <% else %> <% end %>
SL.NO. Expense No. File ID Employee Name Expense Type Type of Trip Amount Action
<%=k%> <%=expn.ed_number%> <%=expn.ed_fileid%> <%=expn.emp_name%> <%=expn.ed_exptype%> <%=expn.ed_locality%> <%=expn.ed_expenseamount%>
No Record(s) Found.
<% end %>
<%=render "layouts/popupforms"%>