Fixed bug in transactionDetails controller