<%= render "layouts/portlet-config" %> <%= render "layouts/theme-panel" %> <% if flash[:error] %>
× <%= flash[:error] %>
<% end %> <%= render "layouts/breadcrumbs" %>
 
<%=form_for @mstXExp, url:{ :action=>:update } do |f| %>
Receipt No.[*]
Receipt Date[*]
<% rcpdate = '' if @mstXExp!=nil if @mstXExp.rl_receipt_date!=nil && @mstXExp.rl_receipt_date!='' datesx = Date.parse( @mstXExp.rl_receipt_date.to_s ) rcpdate = datesx.strftime("%d-%b-%Y") end end %>
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%> <% rcnpdate = '' if exp.rl_receipt_date!=nil && exp.rl_receipt_date!='' dates = Date.parse( exp.rl_receipt_date.to_s ) rcnpdate = dates.strftime("%d-%b-%Y") end %> <%=rcnpdate%> <%=exp.rl_amount%> <%=exp.cs_customername%> <%=exp.cusname%>
No Records Found
<%= will_paginate(@mstExpense)%>