When approving or declining a purchase request, then if there are multiple entires a wrong entry is displayed as being approved/declined whilst the update is being processed.
For example, in the recording below, approving a purchase request from testuser2 results in the other outstanding request (from testuser3) being displayed as in the process of being approved, before the request from testuser2 finally (correctly) disappears:
When approving or declining a purchase request, then if there are multiple entires a wrong entry is displayed as being approved/declined whilst the update is being processed.
For example, in the recording below, approving a purchase request from testuser2 results in the other outstanding request (from testuser3) being displayed as in the process of being approved, before the request from testuser2 finally (correctly) disappears:
https://github.com/CredComSoc/CreditCoopTech/assets/105865183/12221a23-ad48-4640-b2ec-c51b56112920