HR case is setting the state to "Work in Progress" on accepting and then rejecting the case.DescriptionHR case is setting the state to "Work in Progress" on accepting and then rejecting the case.Steps to Reproduce Steps to Reproduce:1.Impersonate Abel tutor2. Set the status of any HR Case where Opened by is Abel tutor to "Closed Complete"3. then it will trigger a To-do and the state will be set to "Awaiting Acceptance"4. On navigating to ESC portal --> To-do's list, there will be Accept resolution with 'YES' and 'NO' buttons. 5. Click on YES and next second click on NO (immediately)6. It will display a message that case is accepted and case is rejected and the state of the HR case will be set to "Work in Progress".Current behaviour: The case is accepted and then case is rejected and the state of the HR case is set to "Work in Progress".Expected behaviour: No button should be disabled as soon as user clicks on Yes button and vice versa.WorkaroundIn widget 'HRM Case Acceptance'Under HTML Template code :Update ng-disabled in line no 10 from 'ng-disabled="data.state=='rejected' && data.comments.length < 4"' to 'ng-disabled="(data.state=='rejected' && data.comments.length < 4) || data.state=='accept'"'.Add ng-disabled in line no 13 as 'ng-disabled="data.state=='reject'"' after 'aria-label="${Yes}"'.After updating the code from line no 10 till 14 should be like:<button aria-label="${No}" ng-disabled="(data.state=='rejected' && data.comments.length < 4) || data.state=='accept'" class="btn btn-default button-width" name="submit" value=${Submit} ng-click="$event.stopPropagation();changeCaseStatus('reject')">${No}</button><button aria-label="${Yes}" ng-disabled="data.state=='reject'" id="accept" class="btn btn-primary button-width" name="accept" ng-click="$event.stopPropagation();changeCaseStatus('accept')" type="button" id="hr-acceptance-panel-Acceptance">${Yes}Root Cause: 'No' button was not set to disabled after clicking on 'Yes' button and vice versa.Related Problem: PRB1496514