<%= render "layouts/portlet-config" %> <%= render "layouts/theme-panel" %> <% if flash[:error] %>
× <%= flash[:error] %>
<% end %> <%= render "layouts/breadcrumbs" %> <%= form_tag({:action=>'bom_list'} ,:multipart=>true,:id=>'myForms' ) do %>
Category
Brand
<% 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 @isProduct.length >0 @isProduct.each do |rawpd| k = i+5 m = k+1 catname="" catobj=get_category_listed_data(rawpd.pd_category) if catobj catname= catobj.pc_categoryname end brandname="" brandobj=get_brand_listed_data(rawpd.pd_brand) if brandobj brandname= brandobj.pb_brandname end uomname="" uomobj=get_uom_listed_data(rawpd.pd_uom) if brandobj uomname= uomobj.pu_longname end hsnname="" hsnobj=get_hsn_listing(rawpd.pd_hsn) if hsnobj hsnname= hsnobj.hd_hsncode end oemname = "" oembrand = "" arrxitem = [] ooemid = get_all_oem_listed(rawpd.pd_productcode) if ooemid !=nil && ooemid !='' oemobj = get_oem_all_data(ooemid) if oemobj.length >0 oemobj.each do |newitem| oemname += newitem.pi_oem.to_s+"
" arrxitem.push newitem.pi_brandanme end if arrxitem && arrxitem.length >0 arrxitems = arrxitem.uniq arrxitems.each do |newbrnds| oembrand +=newbrnds.to_s+"
" end end end end %> <% i +=1 end else %> <% end %>
Sl.No. Category Brand OEM Product Code/Part No. Product Details UOM HSN Action
<%=i%> <%=catname%> <%=brandname%> <%=oemname.to_s.html_safe %> <%=rawpd.pd_productcode%> <%=rawpd.pd_productname%> <%=uomname%> <%=hsnname%>
No Records Found.
 
<%= will_paginate(@isProduct)%>
<% end %>