fix (encounter): missmatch position checking

This commit is contained in:
dpurbosakti
2025-11-14 10:37:21 +07:00
parent d4c3b0e31c
commit 07e3c3b707
2 changed files with 40 additions and 3 deletions

No files matched your search

+4
View File
@@ -92,3 +92,7 @@ func (a AuthInfo) IsNurseIntern() bool {
}
return *a.Intern_Position_Code == string(ero.IPCNurse)
}
func (a AuthInfo) HasEmployeePosition() bool {
return a.Employee_Position_Code != nil
}