elthran / BookingSystem

A working booking/calendar system for clients to take orders and create a schedule
0 stars 0 forks source link

Models: Appointments #5

Open elthran opened 6 years ago

elthran commented 6 years ago

When an appointment is stored in the database, what information is stored?

melissachang9 commented 6 years ago

Is this the client file or strictly whats stored upon booking an appointment? Are those two things separate?

Name, Email, Phone No, Date and time of each booking, Practitioner, Service (this will specify the duration), Paid (amount and method), everything else you mentioned is good.

elthran commented 6 years ago

I think the client file and what's stored are the same. How my program currently works is: a client registers for an appointment by clicking on the time/employee they want and an email address must be typed in to lock the appointment. Then they will be brought to a form that asks for more information if they are a new user (the email address has not been used). If they are a returning user I can skip the page that asks for more information. I can add phone number + name to the same form that asks for email address or to the second form (in which case returning users only need to enter the email address).

The client info is stored by the business. It will simply query the business for existing clients with that email address. And the business employee will see the appointment and any client data linked to that email address. I have a working mock-up where I can go to a business page and regiter appointments by typing in my email address. When I register an appointment it checks if my email address is already registered. If it is, it adds it to the previous client. Otherwise it creates a new client profile.

calendar

The blue writing at the top is because I had just created the second appointment (and it was a new client).

melissachang9 commented 6 years ago

Ok that sounds good. Then users can add information to the client’s file right? Melissa Chang

On Jun 7, 2018, at 11:20 PM, Elthran notifications@github.com wrote:

I think the client file and what's stored are the same. How my program currently works is: a client registers for an appointment by clicking on the time/employee they want and an email address must be typed in to lock the appointment. Then they will be brought to a form that asks for more information if they are a new user (the email address has not been used). If they are a returning user I can skip the page that asks for more information. I can add phone number + name to the same form that asks for email address or to the second form (in which case returning users only need to enter the email address).

The client info is stored by the business. It will simply query the business for existing clients with that email address. And the business employee will see the appointment and any client data linked to that email address. I have a working mock-up where I can go to a business page and regiter appointments by typing in my email address. When I register an appointment it checks if my email address is already registered. If it is, it adds it to the previous client. Otherwise it creates a new client profile.

https://user-images.githubusercontent.com/11773722/41142062-ec9a50ac-6b26-11e8-8c83-062149c2796e.jpg The blue writing at the top is because I had just created the second appointment (and it was a new client).

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/elthran/BookingSystem/issues/5#issuecomment-395659754, or mute the thread https://github.com/notifications/unsubscribe-auth/Alf7CI3UGRSwPo6i8r-MY1UTTwIUTd-Mks5t6heXgaJpZM4UYfG8.

elthran commented 6 years ago

Yes I will definitely add that in the future. Anything you want users to add about the client put into https://github.com/elthran/BookingSystem/issues/6 and it'll get added.