<%= 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 %>
Receipt No.[*]
Receipt Date[*]
Amount [*]
 
Remarks
Frm. Ledger [*]
Bal. : <%=@frmcbs%>
To Ledger [*]
Bal. : <%=@tocbs%>
 
<% if session[:LOCKED_EXPIRY] && session[:LOCKED_EXPIRY]=='Y' %>
 
<% end %>
 
Search
<% 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 @mstExpense.length >0 @mstExpense.each do |exp| %> <% i +=1 end else %> <% end %>
SL.No. Receipt No Date Amount From Ledger To Ledger Action
<%=i%> <%=exp.rl_receipt_no%> <% datex = '' if exp.rl_receipt_date!=nil && exp.rl_receipt_date!='' datex = Date.parse(exp.rl_receipt_date.to_s).strftime('%d-%b-%Y') else datex = "NA" end %> <%=datex%> <%=exp.rl_amount%> <%=exp.cs_customername%> <%=exp.cusname%>
No Records Found
<%= will_paginate(@mstExpense)%>