Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update UserGuide.md to Include Department #28

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions docs/UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,19 @@ Examples:
- `list` followed by `claim 1 $/-500` deducts $50 from the entitlement fund of the 1st employee in the list.
- `list` followed by `claim 2 $/+60` adds $60 to the entitlement fund of the 2nd employee in the list.

### Listing Employees of a Department: department

List all employees in the specified department.

Format: `department d/DEPARTMENT`

- The `DEPARTMENT` refers to the department name tagged to the employees

Examples:
- `department d/Human Resource` returns a list of employees in the Human Resource department.
- `department d/Marketing` returns a list of employees in the Marketing department.


### Clearing all entries : `clear`

Clears all entries from the address book.
Expand Down Expand Up @@ -217,4 +230,5 @@ _Details coming soon ..._
| **Find** | `find KEYWORD [MORE_KEYWORDS]`<br> e.g., `find James Jake` |
| **List** | `list` |
| **Claim** | `claim INDEX $/CLAIM_AMOUNT` <br> e.g., `claim 1 $/-500` |
| **Department** | `department d/DEPARTMENT` <br> e.g., `department d/Human Resource` |
| **Help** | `help` |
Loading