<%= 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 %> <% if @HeadDps!=nil && @HeadDps.cps_status == 'C' %>
This Payment has been cancelled.
<% end %>
Pay No. [*]
Pay Date [*]
<% stname = '' if @HeadDps!=nil stobj = get_site_names(@compcodes,@HeadDps.cps_siteno) if stobj stname = stobj.st_name end end %>
Site Name [*]
Group By[*]
Contactor[*]
<% npmodes = "hidden" if @paymodex npmodes = '' end chqtype = 'hidden' bankype = 'hidden' if @HeadDps!=nil && @HeadDps.cps_type =='cheque' chqtype = '' elsif @HeadDps!=nil && @HeadDps.cps_type =='neft' bankype = '' end %>
Pay Mode[*]
Bank Type
Pmt. Amount [*]
TDS Amount
Net Received
Bank Detail
Cheque No.
Cheque Date
Remarks
<% if session[:autherizedUserType] !='ofcvw' %>
<% if @HeadDps!=nil && @HeadDps.cps_status !='C' %> <% end %>
<% end %>
<% isblocked = "hidden" if @iscontractOvj!=nil && @iscontractOvj.length >0 isblocked = "" end %>
Contract No


<% pno = '' cpntno = '' myblocked = 'none' stiteno = "" if @HeadDps!=nil pno = @HeadDps.cps_pono cpntno = @HeadDps.cps_contractor stiteno = @HeadDps.cps_siteno end conobjs = find_contractor_payment(cpntno,pno) podate = '' balamt = 0 netamt = 0 if conobjs podate = conobjs.cdate netamt = conobjs.ct_total_amount recvamt = get_contractor_payment_agianst_contractno(pno,stiteno) balamt = netamt.to_f-recvamt.to_f #conobjs.ct_balance_amount myblocked = "block" end %>

Contractor Payment Detail

<% end %>
<%=render'layouts/common_confirm'%>