<%= render "layouts/portlet-config" %> <%= render "layouts/theme-panel" %> <% if flash[:error] %>
× <%= flash[:error] %>
<% end %> <%= render "layouts/breadcrumbs" %> <%= form_tag({:action=>'index'} ,:multipart=>true,:id=>'myForms' ) do %>
Name
Mobile
<% if @myAddAld %>
<% end %>
<% end %>
<% 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 @Customers.count >0 @Customers.each do | csts | k = i+5 m = k+1 %> <% i +=1 end else %> <% end %>
SL. NO. Name Contact Person Mobile Email Country State Closing Bal. Action
<%=i%> <%=csts.cs_customername.to_s.split(/ |\_|\-/).map(&:capitalize).join(" ")%> <%=csts.cs_contactpersonname.to_s.split(/ |\_|\-/).map(&:capitalize).join(" ")%> <%=csts.cs_mobilenumber%> <%=csts.cs_emailaddress%> <% if csts.country_name!=nil && csts.country_name!='' %> <%=csts.country_name.to_s.split(/ |\_|\-/).map(&:capitalize).join(" ")%> <% end %> <% if csts.state_name!=nil && csts.state_name!='' %> <%=csts.state_name.to_s.split(/ |\_|\-/).map(&:capitalize).join(" ")%> <% end %> <%="%.2f" % csts.cs_cbamount.to_f%> <% if @myEditAld %> <% end %> <% if @myDeletAld %> <% end %>
No Records Found
<%= will_paginate(@Customers)%>