Fixed Bug in TransactController.php