<%= 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 %> <% @myAddAld = true @myPrintAld = true @myDeletAld = true @myEditAld = true %>
Doc No. [*]
Doc Date [*]
Site [*]
Payment Mode
Remarks
 
<% if @exFooter!=nil && @exFooter.length >0 %> <% dateds = @HeadDps ? @HeadDps.exp_date : '' i = 1 k = 19 @tqnt = 0; @ttaxamnt = 0; @tnetamnt = 0; @tvalues = 0; @texpense = 0; @exFooter.each do |mncdt| @tqnt += mncdt.exd_qty.to_f @tvalues += mncdt.exd_amount.to_f @texpense += mncdt.exd_totalexpense.to_f tldateexp = get_total_expense_tilldate(mncdt.exd_compcode,dateds,mncdt.exd_siteno,mncdt.exd_expensename) %> <% i +=1 end %> <% j = i for i in j..10 do %> <% end %> <% else %> <% for i in 1..10 do %> <% end %> <% end %>
Sl.No Miscellaneous Expense Quantity Rate Amount Reason Tot. Expense
till entry date
 <%=i%> 
 <%=i%> 
 <%=i%> 
Total <%=currency_formatted(@tqnt)%> <%=currency_formatted(@tvalues)%> <%=currency_formatted(@texpense)%>
 
<% isavebtton = 'save.png' if @HeadDps!=nil isavebtton = 'update.png' end %> <% if session[:autherizedUserType] !='ofcvw' %>
<% if @isUpdateAlwd %> <% end %> <% if @HeadDps!=nil %> <% end %>
<% end %>
<% end %>
<%=render 'layouts/common/message_common'%>