Use CPONE user name for HIS LoginBuat
This commit is contained in:
@@ -12,8 +12,9 @@ import (
|
||||
)
|
||||
|
||||
type AddLabServicesParams struct {
|
||||
Layanan []RequestedLabService
|
||||
Channel string
|
||||
Layanan []RequestedLabService
|
||||
Channel string
|
||||
LoginBuat string
|
||||
}
|
||||
|
||||
type RequestedLabService struct {
|
||||
@@ -225,13 +226,13 @@ func addLabServicesInTransaction(ctx context.Context, tx *sql.Tx, regID string,
|
||||
registration.Registration.DepartemenID,
|
||||
doctorValue,
|
||||
classID,
|
||||
params.Channel,
|
||||
params.LoginBuat,
|
||||
now,
|
||||
); err != nil {
|
||||
return LabRegistrationOutcome{}, err
|
||||
}
|
||||
}
|
||||
if err := syncLabSpecimens(ctx, tx, transaction.Transaction.TrxDepartemenID, transaction.Transaction.TrxID, params.Channel, now); err != nil {
|
||||
if err := syncLabSpecimens(ctx, tx, transaction.Transaction.TrxDepartemenID, transaction.Transaction.TrxID, params.LoginBuat, now); err != nil {
|
||||
return LabRegistrationOutcome{}, err
|
||||
}
|
||||
if err := updateLabTransactionTotal(
|
||||
|
||||
Reference in New Issue
Block a user