feat/things-munaja: adjust employee - person
This commit is contained in:
No files matched your search
@@ -65,19 +65,19 @@ func (a AuthInfo) IsPharmacist() bool {
|
||||
return *a.Employee_Position_Code == string(ero.EPCPha)
|
||||
}
|
||||
|
||||
func (a AuthInfo) IsPayment() bool {
|
||||
if a.Employee_Position_Code == nil {
|
||||
return false
|
||||
}
|
||||
return *a.Employee_Position_Code == string(ero.EPCPay)
|
||||
}
|
||||
// func (a AuthInfo) IsPayment() bool {
|
||||
// if a.Employee_Position_Code == nil {
|
||||
// return false
|
||||
// }
|
||||
// return *a.Employee_Position_Code == string(ero.EPCPay)
|
||||
// }
|
||||
|
||||
func (a AuthInfo) IsManagement() bool {
|
||||
if a.Employee_Position_Code == nil {
|
||||
return false
|
||||
}
|
||||
return *a.Employee_Position_Code == string(ero.EPCMan)
|
||||
}
|
||||
// func (a AuthInfo) IsManagement() bool {
|
||||
// if a.Employee_Position_Code == nil {
|
||||
// return false
|
||||
// }
|
||||
// return *a.Employee_Position_Code == string(ero.EPCMan)
|
||||
// }
|
||||
|
||||
func (a AuthInfo) IsSpecialistIntern() bool {
|
||||
if a.Intern_Position_Code == nil {
|
||||
|
||||
Reference in New Issue
Block a user