<%= 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 %>
Comp. Name [*]
Cont. Person [*]
Ledger Type [*]
Group By
Refrence No.
Billing Address 1
Billing Address 2
<% if !@MCustomer.nil? && @MCustomer.to_s!=nil && @MCustomer.cs_billingaddress.to_s!='' %> Pin Code [*] <% elsif session[:postedpamams]!=nil && session[:postedpamams]['cs_billingaddress']!='' && session[:postedpamams]['cs_billingaddress']!=nil %> Pin Code [*] <% else %> Pin Code <% end %>
Country [*]
State 
Job Work
GST NO.
Pan No.
YOB(Amount)
CB(Amount)
<% if @customerState if @customerState.cmp_credit_debit_sgn!=nil && @customerState.cmp_credit_debit_sgn!='' && @customerState.cmp_credit_debit_sgn=='W' %> <% if @MCustomer && @MCustomer.cs_cbamount >0 %>(Dr.)<% elsif @MCustomer && @MCustomer.cs_cbamount < 0 %>(Cr.)<% end %> <% elsif @customerState.cmp_credit_debit_sgn!=nil && @customerState.cmp_credit_debit_sgn!='' && @customerState.cmp_credit_debit_sgn=='S' %> <% if @MCustomer && @MCustomer.cs_cbamount >0 %>(+)<% elsif @MCustomer && @MCustomer.cs_cbamount < 0 %>(-)<% end %> <% end %> <% end %>
Tel. No
Payment Terms
Credit Days
Credit Limit
Deals in
Mob.(For SMS)<% if @phoneCodes %><%=@phoneCodes.country_code.to_s%><% end %>
Email
Transport
More Phone
More Email
Priv. Mark
Website URL

Contact Person
Post
Department
Mobile
Email
Remarks
<% if @MCustomer!=nil ck = 1 listobj = get_contact_person_listings(@MCustomer) if listobj.length>0 listobj.each do |items| %> <% ck +=1 end end end %>
S.NO. Contact Person Post Department Mobile Email Remarks Action
<%=ck%> <%=items.ldgr_contact_person%> <%=items.ldgr_post%> <%=items.ldgr_department%> <%=items.ldgr_mobile%> <%=items.ldgr_email%> <%=items.ldgr_remark%>
Account No.
Bank Name
Branch Address
IFSC Code
Swift Code
Ledger Remarks
<%#
%>
Remarks Log

<% if @MCustomer!=nil %><%=@MCustomer.cs_ledgerremark.html_safe%><% end %>

<% end %>
<%=render 'layouts/common/new_payment_terms'%>