<%= 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
Type
 
<% 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.count >0 @product.each do | pds | %> <% i +=1 end else %> <% end %>
SL. No. Name Group MRP Stock UOM Bar Code Type Action
<%=i%> <%=pds.pd_productname.to_s.capitalize%> <% groupname = '' grpobj = get_barnd_name_list(pds.pd_brand) if grpobj groupname = grpobj.pb_brandname end %> <%=groupname%> <%="%.2f" % pds.pd_mrps.to_f%> <% 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.pu_shortname%> <%=pds.pd_barcode%> <% prodtype = "" if pds.pd_type =='F' prodtype = "Finish" elsif pds.pd_type =='R' prodtype = "Consumable" elsif pds.pd_type =='P' prodtype = "Printer" end %> <%=prodtype%>
No Records Found
<%= will_paginate(@product)%>