Skip to content

Commit

Permalink
Merge pull request #285 from jhocx/v1.4
Browse files Browse the repository at this point in the history
Update ConvertRecurringSequenceDiagram in DG.
  • Loading branch information
jamessspanggg authored Apr 15, 2019
2 parents 510c475 + 57051de commit 564f35a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 1 deletion.
Binary file modified docs/diagrams/ConvertRecurringSequenceDiagram.pptx
Binary file not shown.
Binary file modified docs/images/ConvertRecurringSequenceDiagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ public CommandResult execute(Model model, CommandHistory history) {
for (int i = 0; i < lastShownRecurringList.size(); i++) {
Recurring recurring = lastShownRecurringList.get(i);
LocalDate lastConvertedDate = recurring.getLastConvertedDate();
// If the recurring's lastConvertedDate is before today, check if it has outstanding expenses to be added.
if (lastConvertedDate.isBefore(LocalDate.now())) {
ArrayList<Expense> recurringListOfExpenses = recurring.getRecurringListOfExpenses();
for (int j = 0; j < recurringListOfExpenses.size(); j++) {
Expand Down

0 comments on commit 564f35a

Please sign in to comment.