wip
This commit is contained in:
@@ -65,6 +65,13 @@ func (a AuthInfo) IsPharmacist() bool {
|
||||
return *a.Employee_Position_Code == string(ero.EPCPha)
|
||||
}
|
||||
|
||||
func (a AuthInfo) IsScreener() bool { // MPP, petugas skrining
|
||||
if a.Employee_Position_Code == nil {
|
||||
return false
|
||||
}
|
||||
return *a.Employee_Position_Code == string(ero.EPCScr)
|
||||
}
|
||||
|
||||
// func (a AuthInfo) IsPayment() bool {
|
||||
// if a.Employee_Position_Code == nil {
|
||||
// return false
|
||||
|
||||
Reference in New Issue
Block a user