made it so staff cannot change the status of pets for desktop for adopted or owned
This commit is contained in:
@@ -271,6 +271,7 @@ public class AdoptionService {
|
||||
pet.setStore(null);
|
||||
} else if (ADOPTION_STATUS_PENDING.equalsIgnoreCase(adoptionStatus)) {
|
||||
pet.setPetStatus(PET_STATUS_PENDING);
|
||||
pet.setOwner(customer);
|
||||
} else {
|
||||
pet.setPetStatus(PET_STATUS_AVAILABLE);
|
||||
pet.setOwner(null);
|
||||
|
||||
Reference in New Issue
Block a user