Update transactions.js

[FIX] Validating on the currency specific amount field and currency.