{"push_id":3025403918,"size":2,"distinct_size":1,"ref":"refs/heads/amprokop-fix-idt-status","head":"f2736b301658c56f5309728cc19482203bc1c694","before":"b93c80127ae6c798b20170d5c6f2f66eb7c19235","commits":[{"sha":"6b0538d2702e591aaf8a1c99742b5eb407cfb7a7","author":{"name":"Oscar A. Ramirez","email":"8bf120ac7f3267d04c88d0a8f18e508e7c9f2608@users.noreply.github.com"},"message":"Upcoming Hearings - Available slots logic (#7743)\n\nResolves #7667 \r\n\r\n### Description\r\nFixed in back-end. Return to UI Scheduled Hearings that meet the following criteria:\r\n- Count CO hearings where folder_nr is not null.\r\n- Count Video child hearings where hearing disposition is neither postponed or cancelled.\r\n\r\nReturn the hearing day to the UI if and only if total slots for RO/CO is greater than the number of hearings counted with above logic.\r\n\r\nUI calculates the available slots by subtracting the total_slots value with the number of scheduled hearings it received (current logic, not changed).\r\n\r\n### Acceptance Criteria\r\n- [ ] Code compiles correctly\r\n- [ ] Additional tests pass\r\n\r\n### Testing Plan\r\n1. Set up test data in FACOLS for CO. Eleven slots. \r\n2. Have all slots with folder_nr not null.\r\n3. Confirm the date is not shown in UI\r\n4. Nullify folder_nr in a couple of rows.\r\n5. Confirm date does appear in UI and is available for scheduling.\r\n6. Confirm the available slots is equal to the number of rows you nullified.\r\n7. Add child video rows for any RO parent record\r\n8. Set hearing disposition to P or C\r\n9. Confirm only child rows with disposition other than P or C return to the UI.\r\n10. Confirm available slots calculation equals the total_slots for RO minus the number of hearings returned by back-end for Scheduled Hearings tab.","distinct":false,"url":"https://api.github.com/repos/department-of-veterans-affairs/caseflow/commits/6b0538d2702e591aaf8a1c99742b5eb407cfb7a7"},{"sha":"f2736b301658c56f5309728cc19482203bc1c694","author":{"name":"va-bot","email":"6642ce8fcfff535b2c207a486da7db8140cb3a2a@adhocteam.us"},"message":"Merge branch 'master' into amprokop-fix-idt-status","distinct":true,"url":"https://api.github.com/repos/department-of-veterans-affairs/caseflow/commits/f2736b301658c56f5309728cc19482203bc1c694"}]}
{"actor":{"display_login":"va-bot"}}