| Line 28... |
Line 28... |
| 28 |
List<UserWalletHistory> history = (List<UserWalletHistory>) model.get("history");
|
28 |
List<UserWalletHistory> history = (List<UserWalletHistory>) model.get("history");
|
| 29 |
LocalDateTime startDate = (LocalDateTime)model.get("startDate");
|
29 |
LocalDateTime startDate = (LocalDateTime)model.get("startDate");
|
| 30 |
LocalDateTime endDate = (LocalDateTime)model.get("endDate");
|
30 |
LocalDateTime endDate = (LocalDateTime)model.get("endDate");
|
| 31 |
Float opening = (float)model.get("opening");
|
31 |
Float opening = (float)model.get("opening");
|
| 32 |
Float closing = (float)model.get("closing");
|
32 |
Float closing = (float)model.get("closing");
|
| 33 |
Sheet sheet = workbook.createSheet("Today Currency Rates");
|
33 |
Sheet sheet = workbook.createSheet("Wallet Statement");
|
| 34 |
UserWalletHistory uwhOpening = getOpeningEntry(opening, startDate);
|
34 |
UserWalletHistory uwhOpening = getOpeningEntry(opening, startDate);
|
| 35 |
UserWalletHistory closingEntry = getClosingEntry(closing, endDate);
|
35 |
UserWalletHistory closingEntry = getClosingEntry(closing, endDate);
|
| 36 |
history.add(0, uwhOpening);
|
36 |
history.add(0, uwhOpening);
|
| 37 |
//history.add(closingEntry);
|
37 |
//history.add(closingEntry);
|
| 38 |
|
38 |
|