forked from nus-cs2103-AY1920S1/addressbook-level3
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
81 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
@startuml | ||
start | ||
:User executes AddExpense command; | ||
'diamond | ||
if () then ([budget does not exist]) | ||
'diamond | ||
if () then ([budget period doesn't clash with existing budgets]) | ||
: add budget into the budget list; | ||
: Update UI; | ||
: Save default expense list and budget list; | ||
else ([else]) | ||
: user receives budget clash message; | ||
endif | ||
else ([else]) | ||
: user receives budget duplicate message; | ||
endif | ||
stop | ||
@enduml |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.