Project

General

Profile

Actions

Email Notification Model » History » Revision 1

Revision 1/2 | Next »
karnake ruengchaicharnkij, 04/09/2026 02:28 AM


Email Notification Model

package test

import (
"html/template"
)

// NotificationTableRow represents one row in the summary table.
type NotificationTableRow struct {
Label string
Value string
}

// NotificationTemplateData holds all variables used by notification.html.
type NotificationTemplateData struct {
Lang string
Subject string
HeaderTitle string
GreetingPrefix string
CustomerName string
Contents []template.HTML
TableRows []NotificationTableRow
WarningTitle string
WarningMessage string
ButtonText string
ActionURL string
Note string
FooterCompany string
FooterAddress string
FooterContact string
}

Updated by karnake ruengchaicharnkij 9 days ago · 2 revisions