Subversion Repositories SmartDukaan

Rev

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

Rev 23675 Rev 23676
Line 189... Line 189...
189
					dailyRecharge.setTotalCommission(totalCommission);
189
					dailyRecharge.setTotalCommission(totalCommission);
190
					float closingBalance = dailyRecharge.getOpeningBalance() + dailyWalletRecharge - dailyAmount;
190
					float closingBalance = dailyRecharge.getOpeningBalance() + dailyWalletRecharge - dailyAmount;
191
					dailyRecharge.setClosingBalance(closingBalance);
191
					dailyRecharge.setClosingBalance(closingBalance);
192
					dailyRechargeRepository.persist(dailyRecharge);
192
					dailyRechargeRepository.persist(dailyRecharge);
193
					x.setAmount(x.getAmount() + dailyRecharge.getClosingBalance() - dailyRecharge.getOpeningBalance());
193
					x.setAmount(x.getAmount() + dailyRecharge.getClosingBalance() - dailyRecharge.getOpeningBalance());
-
 
194
					previousDayClosing = dailyRecharge.getClosingBalance();
194
				}
195
				}
195
				date = date.plusDays(1);
196
				date = date.plusDays(1);
196
				previousDayClosing = dailyRecharge.getClosingBalance();
-
 
197
			}
197
			}
198
			rechargeProviderRepository.persist(x);
198
			rechargeProviderRepository.persist(x);
199
		});
199
		});
200
	}
200
	}
201
 
201