Subversion Repositories SmartDukaan

Rev

Rev 36500 | Rev 36720 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 36500 Rev 36513
Line 1205... Line 1205...
1205
        newUserWalletHistory.setDescription(description);
1205
        newUserWalletHistory.setDescription(description);
1206
        newUserWalletHistory.setReference(reference);
1206
        newUserWalletHistory.setReference(reference);
1207
        newUserWalletHistory.setWalletId(userWallet.getId());
1207
        newUserWalletHistory.setWalletId(userWallet.getId());
1208
        newUserWalletHistory.setReferenceType(referenceType);
1208
        newUserWalletHistory.setReferenceType(referenceType);
1209
        newUserWalletHistory.setTimestamp(LocalDateTime.now());
1209
        newUserWalletHistory.setTimestamp(LocalDateTime.now());
-
 
1210
        newUserWalletHistory.setRunningBalance(userWallet.getAmount());
1210
        userWalletHistoryRepository.persist(newUserWalletHistory);
1211
        userWalletHistoryRepository.persist(newUserWalletHistory);
1211
 
1212
 
1212
        model.addAttribute("response1", mvcResponseSender.createResponseString(reference));
1213
        model.addAttribute("response1", mvcResponseSender.createResponseString(reference));
1213
        return "response";
1214
        return "response";
1214
 
1215