<%= render "layouts/portlet-config" %> <%= render "layouts/theme-panel" %> <% if flash[:error] %>
× <%= flash[:error] %>
<% end %> <%= render "layouts/breadcrumbs" %> <%= form_tag({:action=>'create'} ,:multipart=>true,:id=>'myForms' ) do %>
Invoice No.[*]
Amount[*]
Deduct Amount
Net Amount[*]
Date[*]
Remark
 
 
Invoice Number
Customer
<% 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 @MstGroup.count >0 @MstGroup.each do |gps| %> <% i +=1 end else %> <% end %>
SL.No. Invoice No. Customer Amount Deduct Amount Net Amount Date Remark Action
<%=i%> <%=gps.pr_receive_id%> <%=gps.cs_customername%> <%="%.2f" % gps.pr_amount.to_f%> <%="%.2f" % gps.pr_deduct.to_f%> <%="%.2f" % gps.pr_netamount.to_f%> <% nd = '' if gps.pr_date!='' && gps.pr_date!=nil dt = Date.parse(gps.pr_date.to_s) nd = dt.strftime("%d-%m-%Y") end %> <%=nd%> <%=gps.pr_remarks%>
No Records Found
<%= will_paginate(@MstGroup)%>
<% end %>