<%= render "layouts/portlet-config" %> <%= render "layouts/theme-panel" %> <% if flash[:error] %>
× <%= flash[:error] %>
<% end %> <%= render "layouts/breadcrumbs" %> <%= form_tag({:action=>'product_list'} ,:multipart=>true,:id=>'myForms' ) do %>
Search
<% if @myAddAld %> <% end %>
<% pagestart = params[:page] ? params[:page] : 1 if pagestart.to_i <=1 i = 1 else i = ((pagestart.to_i-1)*10)+1 i = i.to_i end if @product.length >0 @product.each do | pds | %> <% i +=1 end else %> <% end %>
SL. No. Name Prod. Group MRP Purchase Rate Weight Stock TAX Inc. Buyer RefNo. Image Action
<%=i%> <%=pds.pd_productname.to_s.capitalize%> <% pgnames = '' pgobj = get_prod_groups(pds.pd_type) if pgobj pgnames = pgobj.pg_name end %> <%=pgnames%> <%="%.2f" % pds.pd_mrps.to_f%> <%="%.2f" % pds.pd_purchaserate.to_f%> <%=pds.pd_weight%> <% if pds.cb_closing_bal!=nil && pds.cb_closing_bal!='' && pds.cb_closing_bal.to_f!=0 %> <%=pds.cb_opening_bal%>/<%=pds.cb_closing_bal%> <% end %> <%=pds.pd_taxtincyesno%> <%=pds.pd_refer_no%> <% if pds.images!='' && pds.images!=nil %> <% else %> NA <% end %> <% if @myEditAld %> <% end %> <% if @myDeletAld %> <% end %>
No Records Found
<%= will_paginate(@product)%>
<% end %>