- Created a new SQL migration for the sag_salgsvarer table to manage sales and purchase items. - Implemented a new HTML template for the Varekøb & Salg module, including summary cards and tables for sales and purchases. - Added JavaScript functions for loading and rendering order data dynamically. - Introduced a new backend search module for customers, contacts, hardware, and locations with autocomplete functionality. - Developed an email templates API for managing system and customer-specific email templates. - Created multiple migrations for Nextcloud instances, cache, audit logs, email templates, sag comments, hardware locations, and billing methods. - Enhanced the sag module with solutions, order lines, work types, and 2FA support for user authentication.
23 lines
838 B
SQL
23 lines
838 B
SQL
-- Migration: 080_nextcloud_user_email_template
|
||
-- Created: 2026-02-01
|
||
|
||
INSERT INTO settings (key, value, category, description, value_type, is_public)
|
||
VALUES
|
||
(
|
||
'nextcloud_user_welcome_subject',
|
||
'Velkommen til Nextcloud hos BMC Networks',
|
||
'email_templates',
|
||
'Nextcloud velkomstmail emne',
|
||
'string',
|
||
false
|
||
),
|
||
(
|
||
'nextcloud_user_welcome_body',
|
||
'Hej {{name}},\n\nDin Nextcloud-konto er oprettet.\n\nLogin URL: {{url}}\nBrugernavn: {{username}}\nPassword: {{password}}\n\nGuide – sådan logger du ind:\n1) Åbn linket\n2) Indtast brugernavn og password\n3) Skift gerne password ved første login\n\nVenlig hilsen\nBMC Networks',
|
||
'email_templates',
|
||
'Nextcloud velkomstmail skabelon',
|
||
'text',
|
||
false
|
||
)
|
||
ON CONFLICT (key) DO NOTHING;
|