<%= render "layouts/portlet-config" %>
<%= render "layouts/theme-panel" %>
<% if flash[:error] %>
<% end %>
×
<%= flash[:error] %>
<% end %>
<%= render "layouts/breadcrumbs" %>
<%= form_tag({:action=>'expense_master_list'} ,:multipart=>true,:id=>'myForms' ) do %>
<%
pagestart = params[:page] ? params[:page] : 1
if pagestart.to_i <=1
i = 1
else
i = ((pagestart.to_i-1)*25)+1
i = i.to_i
end
if @product.length >0
@product.each do | pds |
%>
<% end %>
<%
i +=1
end
else
%>
<% end %>
Export Catalog | |||||
SL. No. | Name | Group | Category | Action | |
---|---|---|---|---|---|
<%=i%> | <%=pds.pd_productname.to_s.capitalize%> | <% grouname = '' if pds.pd_brand.to_i >0 grps = get_sel_group(pds.pd_compcode,pds.pd_brand) if grps grouname = grps.pb_description end end %> <%=grouname%> | <% catsname = '' if pds.pd_category.to_i >0 catobj = get_sel_category(pds.pd_compcode,pds.pd_category) if catobj catsname = catobj.pc_categoryname end end %> <%=catsname%> | <% if session[:autherizedUserType] !='ofcvw' %> | <% if session[:autherizedUserType] !='ofcvw' %> <% end %> |
No Records Found |
<%= will_paginate(@product)%>