Hide IBAN of BankTransactions when empty
This commit is contained in:
parent
979439f967
commit
373d137f9f
1 changed files with 13 additions and 12 deletions
|
@ -7,6 +7,7 @@
|
||||||
%p
|
%p
|
||||||
%b= heading_helper(BankTransaction, :amount) + ':'
|
%b= heading_helper(BankTransaction, :amount) + ':'
|
||||||
= number_to_currency(@bank_transaction.amount)
|
= number_to_currency(@bank_transaction.amount)
|
||||||
|
- if @bank_transaction.iban?
|
||||||
%p
|
%p
|
||||||
%b= heading_helper(BankTransaction, :iban) + ':'
|
%b= heading_helper(BankTransaction, :iban) + ':'
|
||||||
= @bank_transaction.iban
|
= @bank_transaction.iban
|
||||||
|
|
Loading…
Reference in a new issue