victorlaiyeeteng / pe

0 stars 0 forks source link

Editing a staff details to be the same as another staff is accepted #10

Open victorlaiyeeteng opened 11 months ago

victorlaiyeeteng commented 11 months ago

Steps: Editted a staff details to be the exact same as another exisitng staff (name, address, phone number...)

This edit of the staff is accepted, but it should not be allowed as now I have 2 exact same staff. This will cause functionality bugs as when associating a transaction to any of those 2 staffs, the correct staff cannot be differentiated.

Perhaps, the staff could be deleted upon detection of duplicate staff or not be accepted to be edited.

Screenshot 2023-11-17 at 5.06.13 PM.png

nus-se-bot commented 11 months ago

Your response not required for this bug as the team has accepted the bug as it is.