How print the field in print format

I want to print the bank account IFSC code when “currency == INR” else SWIFT number in print format?

How to fix this?

Thanks…