<%= render "layouts/portlet-config" %> <% if flash[:error] %>
× <%= flash[:error] %>
<% if flash[:notice] == nil %> <% if session[:isErrorhandled]==nil %> <% end %> <% end %> <% end %> <%= form_tag({:action=>'create'} ,:multipart=>true,:id=>"myForms" ) do %> <% if @isUpdateInv.to_i >0 %> <% else %> <% end %>
<% k = 1 if @prodcat.length >0 @prodcat.each do |pcat| %>
<% m = 1 catId = pcat.id.to_i compcodes = pcat.pc_compcode @prodcat = MstProduct.select('id,pd_productname,pd_mrps').where("pd_compcode=? AND pd_category=? AND pd_menu='Y'",compcodes,catId).order('TRIM(pd_productname) ASC') if @prodcat.length >0 @prodcat.each do |prd| if prd.pd_mrps >0 %> <% if m%2==0 %> <% elsif m%3==0 %> <% elsif m%4==0 %> <% elsif m%5==0 %> <% else %> <% end %> <% m +=1 end end else %> No Item <% end %>
<% k +=1 end end %>
Bill No.
Bill Date [*]
Cust. Name
Mobile No.
Valid No.
Prod. Group
 
Vehicle Dtl.
Driver Dtl.
 
AMC Date
Sales Man
Clear Item Qty Rate Dis.(%) IGST% / IGST Amt. CGST% /CGST Amt SGST% / SGST Amt. Amount
 
Tot. Qty.
Value
Dis. Amt.
CGST Amt.
IGST Amt.
SGST Amt.
GST Amt.
Net Amt.
Grand Amt.
* You can directly modify the quantity
<% if @isSendSMSs %>
checked="checked"<% end %>/> 
<% end %>
<% if session[:LOCKED_EXPIRY] && session[:LOCKED_EXPIRY]=='Y' %>
<% if @isMarginDel >0 && @isMarginCancel >0 %>
<% elsif @isMarginDel >0 %>
<% elsif @isMarginCancel >0 %>
<% else %>
<% end %>
<% end %>
<% end %>