This commit is contained in:
efrilm 2025-10-03 12:34:51 +07:00
parent 17c4092a83
commit ade75df6b3
2 changed files with 2 additions and 0 deletions

View File

@ -55,6 +55,7 @@ type CreateOutgoingLetterRequest struct {
IssueDate time.Time `json:"issue_date" validate:"required"`
Attachments []CreateOutgoingLetterAttachment `json:"attachments,omitempty"`
UserID uuid.UUID
ApprovalFlowID *uuid.UUID `json:"approval_flow_id,omitempty"`
}
type OutgoingLetterRecipientResponse struct {

View File

@ -103,6 +103,7 @@ func (s *LetterOutgoingServiceImpl) CreateOutgoingLetter(ctx context.Context, re
ReceiverName: req.ReceiverName,
IssueDate: req.IssueDate,
CreatedBy: userID,
ApprovalFlowID: req.ApprovalFlowID,
}
if req.ReferenceNumber != nil {