HDTN-263667 - Disable "Remove" button in Allocation screen when batch has only one record

Issue No: LG-3027
Created 8/17/2021 8:08:55 AM
Type Bug
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 20.1
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-263667 - Disable "Remove" button in Allocation screen when batch has only one record|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-263667]   Disable the "Remove" button in the grid in the 2nd tab of the allocation screen when there is only one allocation line in that batch.   STEPS:   1. Create Purchase and Sale Contract   2. Allocate the 2 Contracts.   3. Go to Allocated tab,   ISSUE:   Remove button is enabled.     ACCEPTANCE:   It has to be enabled when more than one allocation lines are added in the same batch.   Reason:   - When there is only one line, user will have to delete the entire batch hence no need to allow user to remove and save will not allow with empty lines.