BekahT / VetApp

A Java desktop application to be used in a veterinarian's office for managing clients, pets, and appointments.
0 stars 0 forks source link

Edit Appointment #18

Closed BekahT closed 4 years ago

BekahT commented 4 years ago

Staff can edit an existing appointment’s reason, date, or time.

BekahT commented 4 years ago
cp-umuc commented 4 years ago

Error message when editing an appointment to have the same date/time as an existing appointment.

Screen Shot 2020-04-30 at 9 43 46 AM

Error message should be more descriptive and match what it is in create appointment - "Appointment date/time is already taken!"

BekahT commented 4 years ago

The insert appointment catch for errors has an if to return the duplicate error when a certain error is returned and the generic unable to create otherwise. The edit appointment catch didn't have the if statement for the dup error, so I added that.