I have a screen where admin will have a list of quotations to ship items from one location to the other. For a particular request ID, only one request can be approved. (Eg. for request ID 23, only one quotation will be approved while the rest will be rejected.) I have a filter available on the screen which will display only the entered request ID.
What I want to do is, on the view quotation screen, the admin will search for a request ID and all relevant quotations for that request ID will be displayed. Out of those displayed quotations, admin clicks on the approve button for one quotation and the button changes to approved, the rest get disabled/button changes to rejected.
How can I achieve this?