fix: compilar agent/dist en builder stage y agregar módulos contabilidad/websms

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Lizandro Guarnizo
2026-06-20 10:13:17 -05:00
co-authored by Claude Sonnet 4.6
parent ca6a44f64e
commit e28e2823dc
18 changed files with 2889 additions and 0 deletions
+14
View File
@@ -91,6 +91,17 @@ func main() {
&models.Servidor{},
&models.ConxDb{},
&models.ProvServidor{},
// WebSMS (LabsMobile)
&models.WebSmsConfig{},
&models.WebSmsLog{},
&models.WebSmsWebhookLog{},
// Contabilidad
&models.Cuenta{},
&models.Entidad{},
&models.Transaccion{},
&models.CuentaCobro{},
&models.CuentaPagar{},
&models.ConsolidadoMensual{},
)
// Seed automático (idempotente) de módulos del sistema
migrations.SeedRenovaciones()
@@ -105,6 +116,9 @@ func main() {
migrations.SeedNotifDefaults()
migrations.SeedShield()
migrations.SeedPartnerRecursos()
models.SeedContabilidad()
migrations.SeedContabilidadMenu()
migrations.SeedWebSms()
// Iniciar cron de vencimientos
services.IniciarCron()
defer services.DetenerCron()