<%= 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
OEM
OEM Brand
Ref.No. From
Ref.No. Upto
<% pagestart = params[:page] ? params[:page] : 1 if pagestart.to_i <=1 i = 1 else i = ((pagestart.to_i-1)*20)+1 i = i.to_i end if @product.length >0 @product.each do | pds | hdhsncode = "" hsnobj = get_hsn_listing(pds.pd_hsn) if hsnobj hdhsncode = hsnobj.hd_hsncode end %> <% i +=1 end else %> <% end %>
SL. No. Adhunik
Ref.No.
Product Name HSN Category Group Weight Stock TAX Inc. OEM OEM Brand Model Image Action
<%=i%> <%=pds.pd_productcode%> <%=pds.pd_productname%> <%=hdhsncode%> <%=pds.pc_categoryname%> <%=pds.pb_brandname%> <%=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%> <% oemname = "" oembrand = "" arrxitem = [] ooemid = get_all_oem_listed(pds.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 %> <%=oemname.to_s.html_safe %>
<%=oembrand.html_safe%> <%=pds.pd_modelno%> <% if pds.images!='' && pds.images!=nil %> <% else %> NA <% end %>
No Records Found
<%= will_paginate(@product)%>
<% end %>