Use CPONE user name for HIS LoginBuat
This commit is contained in:
@@ -77,8 +77,12 @@ func validateAddLabPackage(payload map[string]any) (repository.AddLabPackagePara
|
||||
if !present {
|
||||
channel = "CPONE"
|
||||
}
|
||||
loginBuat, message := requiredLoginBuat(payload)
|
||||
if message != "" {
|
||||
return repository.AddLabPackageParams{}, message
|
||||
}
|
||||
return repository.AddLabPackageParams{
|
||||
PackageID: packageID, Cito: cito, MarkupCito: markup,
|
||||
Notes: strings.TrimSpace(notes), Channel: strings.ToUpper(strings.TrimSpace(channel)),
|
||||
Notes: strings.TrimSpace(notes), Channel: strings.ToUpper(strings.TrimSpace(channel)), LoginBuat: loginBuat,
|
||||
}, ""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user