feat: order action per status change
This commit is contained in:
@@ -122,7 +122,7 @@ func (s *EmailService) SendNewOrderPlacedNotification(userID uint) error {
|
||||
if s.config.AdminEmail == "" {
|
||||
return nil // No admin email configured
|
||||
}
|
||||
|
||||
fmt.Printf("userID: %v\n", userID)
|
||||
subject := "New Order Created"
|
||||
body := s.newOrderPlacedTemplate(userID)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user