feat: order action per status change

This commit is contained in:
2026-04-16 14:19:27 +02:00
parent 7bce04e05a
commit 16f92e53ff
33 changed files with 748 additions and 61 deletions

View File

@@ -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)