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

Client cannot be made without all attributes being present #11

Open
autumn-sonata opened this issue Oct 28, 2022 · 0 comments
Open

Client cannot be made without all attributes being present #11

autumn-sonata opened this issue Oct 28, 2022 · 0 comments

Comments

@autumn-sonata
Copy link
Owner

Here is an example user command that exhibits this behaviour:

add n/John Doe a/311, Clementi Ave 2, #2-25 i/$1000 m/$200 r/HIGH ip/Savings Plan c/CURRENT t/friends t/owesMoney

In this example, the phone and email attribute is taken out of the client. An Invalid command format! is being returned via the result display:

image.png

In a real world scenario, the financial advisor may not know the full details of the client first, and thus will need to have an appointment. It may be frustrating to know that I have a client that I want to add to the planner and mark down an appointment to meet up with, but I cannot due to not having the full details of the client.

Allowing a variable number of details (with the name and one other field for point of contact being fully compulsory), I can better manage clients that may have some details missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant