diff --git a/pkg/models/plantilla_correo.go b/pkg/models/plantilla_correo.go index eb5ec2e..63fb4fa 100644 --- a/pkg/models/plantilla_correo.go +++ b/pkg/models/plantilla_correo.go @@ -10,7 +10,7 @@ type PlantillaCorreo struct { Nombre string `json:"nombre" gorm:"column:nombre"` Asunto string `json:"asunto" gorm:"column:asunto"` CuerpoHTML string `json:"cuerpo_html" gorm:"column:cuerpo_html;type:text"` - Tipo string `json:"tipo" gorm:"column:tipo;default:'renovacion'"` // renovacion | vencimiento | pago | personalizado + Tipo string `json:"tipo" gorm:"column:tipo;default:'renovacion'"` // bienvenida | renovacion | vencimiento | pago | personalizado } func (PlantillaCorreo) TableName() string { return "plantillas_correo" } diff --git a/resources/views/renovaciones/plantillas.html b/resources/views/renovaciones/plantillas.html index 7024b43..92303fe 100644 --- a/resources/views/renovaciones/plantillas.html +++ b/resources/views/renovaciones/plantillas.html @@ -96,6 +96,7 @@