<%= 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 @pmtHeads!=nil && @pmtHeads.ph_status.to_s == 'C' %>
This Payment has been Cancelled
<% end %>
Doc No. [*]
Doc Date [*]
Material Type 
Supplier [*]
Remark
<% i = 1 @pmtotamt = 0 @pmtpayment = 0 @pmttaxamt = 0 @pmttaxable = 0 @pmtcashamt = 0 @pmtchqamt = 0 if @pmtFooter!=nil && @pmtFooter.length >0 @pmtFooter.each do |pmts| %> <% @pmtotamt += pmts.phd_total_amount.to_f @pmtpayment +=( pmts.phd_cheque_pmt.to_f+pmts.phd_cash_pmt.to_f ) if pmts.phd_tax_on.to_f >0 tts = (pmts.phd_tax_on.to_f*pmts.phd_total_value.to_f)/100 taxb = (tts.to_f*pmts.phd_tax.to_f)/100 @pmttaxamt +=taxb.to_f @pmttaxable +=tts.to_f else tts = pmts.phd_total_value.to_f taxb = (tts.to_f*pmts.phd_tax.to_f)/100 @pmttaxamt +=taxb.to_f @pmttaxable +=tts.to_f end @pmtcashamt +=pmts.phd_cash_pmt.to_f @pmtchqamt +=pmts.phd_cheque_pmt.to_f %> <% i +=1 end %> <% else %> <% end %>
Sl.No MRN No. MRN Date Total Amount Cheque Payment Cash Payment Balance Site TAX % Tax On % Cash Cheque Amount Total Value
 <%=i%> 
Select MRN to process payment.

<% if @pmtMode.length >0 %>
Payment Mode :
<% @pmtMode.each do |pmts| %>
checked="checked"<% end %> onclick="check_payment_allowedmode();" value="<%=pmts.id%>"/> <%=pmts.cs_customername.upcase%>
<% end %>
<% end %>
Cheque No(If any)    
Total Amount    <%=currency_formatted(@pmtotamt)%>
Total Payment    <%=currency_formatted(@pmtpayment)%>
Tax Amount    <%=currency_formatted(@pmttaxamt)%>
Taxable Amount    <%=currency_formatted(@pmttaxable)%>
Cash Amount    <%=currency_formatted(@pmtcashamt)%>
Cheque Amount    <%=currency_formatted(@pmtchqamt)%>
Supplier Site Wise Balance Detail
SL. NO. Site Code Site Name Balance Amount
No Record(s) found.

 
<% if @isUpdateAlwd %> <% end %> <% if @pmtHeads!=nil && @pmtHeads.ph_status.to_s != 'C' %>
<% if @isCancelPath!=nil %> <% else %> <% end %>
<% end %>
<% end %>
<%= render 'layouts/common/select_all_mrn' %> <%=render 'layouts/common/message_common'%>