Subversion Repositories SmartDukaan

Rev

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

Rev 26715 Rev 28241
Line 226... Line 226...
226
		UserWallet wallet = userWalletRepository.selectByRetailerId(fofoId);
226
		UserWallet wallet = userWalletRepository.selectByRetailerId(fofoId);
227
		return userWalletHistoryRepository.getSumTillDate(wallet.getId(), date);
227
		return userWalletHistoryRepository.getSumTillDate(wallet.getId(), date);
228
	}
228
	}
229
 
229
 
230
	@Override
230
	@Override
231
	public boolean refundToWallet(Integer retailerId, Float amountToRefund, Integer transactionId,
231
	public boolean refundToWallet(int retailerId, float amountToRefund, int transactionId,
232
			WalletReferenceType walletReferenceType, String description) throws ProfitMandiBusinessException {
232
			WalletReferenceType walletReferenceType, String description) throws ProfitMandiBusinessException {
233
 
233
 
234
		List<UserWalletHistory> all_entries = userWalletHistoryRepository
234
		List<UserWalletHistory> all_entries = userWalletHistoryRepository
235
				.selectAllByreferenceIdandreferenceType(transactionId, walletReferenceType);
235
				.selectAllByreferenceIdandreferenceType(transactionId, walletReferenceType);
236
 
236