Fix the invoice template to show IBAN/BIC (closes: #688d33)
If IBAN/BIC is set, it is shown instead of the normal account number. SEPA solves the problem that needs IBAN/BIC is conditionally shown (which is not possible).
This commit is contained in:
parent
30fd5ec599
commit
7fcce37903
|
@ -56,8 +56,8 @@
|
|||
term=30,
|
||||
accountno=<%= @company.accountno %>,
|
||||
accountname=<%= @company.accountname %>,
|
||||
<% unless @company.accountiban.blank? %> iban=<% @company.accountiban %>,
|
||||
<% end %><% unless @company.bank_bic.blank? %> bic=<% @company.bank_bic %>,
|
||||
<% unless @company.accountiban.blank? %> iban=<%= @company.accountiban %>,
|
||||
<% end %><% unless @company.bank_bic.blank? %> bic=<%= @company.bank_bic %>,
|
||||
<% end %><% unless @company.vatno.blank? %> vatno=<%= @company.vatno %>,
|
||||
<% end %><% unless @company.chamber.blank? %> chamber=<%= @company.chamber %>
|
||||
<% end %>}
|
||||
|
|
Loading…
Reference in New Issue