<%= render "layouts/portlet-config" %> <%= render "layouts/theme-panel" %> <% if flash[:error] %>
× <%= flash[:error] %>
<% end %> <%= render "layouts/breadcrumbs" %>

<%= form_tag({:action=>'product_master'} ,:multipart=>true,:id=>'myForms' ) do %>
Prod. Code [*]
readonly<% end %> onchange="get_product_codes(this);" maxlength="15" class="form-control" name="pd_productcode" id="pd_productcode" value="<% if @isProduct.to_s!='' %><%=@isProduct.pd_productcode%><% elsif session[:postedpamams]!=nil %><%=session[:postedpamams]['pd_productcode']%><% end %>"/>
Type [*]
Prod. Name [*]
Bar Code
Category
Brand
UOM [*]
Description
Prod. Group
Pcs.in Set/Case
MRP
TAX Inc.(Y/N)
Our Price
Weight
Gross Weight
Purchase Rate
Standard Rate

<% end %>
<% if @isProduct!=''%>
<% 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 @ProductCatlog.length >0 @ProductCatlog.each do | pds | %> <% i +=1 end else %> <% end %>
SL. No. Title Image Action
<%=i%> <%=pds.pct_titles.to_s.capitalize%> <% if pds.pct_origin_img!='' && pds.pct_origin_img!=nil %> <%=pds.pct_titles%> <% else %> --- <% end %>
No Records Found
<% end %>