C2025-023 Electronic Procedures - Modifications to PROMS (Phase 1)

Change to not show open button if is an invalid step type
This commit is contained in:
2025-05-15 10:45:52 -04:00
parent 31f608a9ec
commit 04a2da4371
2 changed files with 8 additions and 5 deletions

View File

@@ -340,7 +340,7 @@ namespace Volian.Controls.Library
if ((_Annotations != null) && (dgAnnotations.Rows.Count > 0))
{
CurrentAnnotation = _Annotations[dgAnnotations.CurrentRow.Index];
if (CurrentAnnotation.MyAnnotationType.IsEPAnnotationType && CurrentItem.HasEPformat())
if (CurrentAnnotation.MyAnnotationType.IsEPAnnotationType && CurrentItem.HasEPformat(CurrentAnnotation.MyAnnotationType.TypeID))
btnEPAnnotation.Visible = true;
}
else