Resolve Conflicts
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
|
||||
INSERT INTO expiration_config (interval_days, type, created_date, updated_date)
|
||||
VALUES
|
||||
(5, 'AMENDMENT', '2024-12-03T11:00:51', '2024-12-03T11:00:51'),
|
||||
(2, 'AMENDMENT', '2024-12-03T11:00:51', '2024-12-03T11:00:51'),
|
||||
(0, 'AMENDMENT', '2024-12-03T11:00:51', '2024-12-03T11:00:51'),
|
||||
(5, 'EVALUATION', '2024-12-03T11:00:51', '2024-12-03T11:00:51'),
|
||||
(2, 'EVALUATION', '2024-12-03T11:00:51', '2024-12-03T11:00:51'),
|
||||
(0, 'EVALUATION', '2024-12-03T11:00:51', '2024-12-03T11:00:51');
|
||||
@@ -0,0 +1,60 @@
|
||||
INSERT INTO gepafin_schema.system_email_template
|
||||
(template_name, "type", html_content, subject, "json", "system", is_deleted, created_date, updated_date,email_scenario)
|
||||
VALUES
|
||||
(
|
||||
'Password Reset Link Email (Italian)',
|
||||
'PASSWORD_RESET',
|
||||
'<table border="0" style="background: #f5f5f5; text-align: center; width: 100%; max-width: 600px; padding: 20px;" align="center" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>
|
||||
<p style="font-weight: 600; color: #000; font-family: open sans; font-size: 26px; margin: 0; padding-bottom: 20px;">Richiesta di Reimpostazione Password</p>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody align="left">
|
||||
<tr>
|
||||
<td>
|
||||
<p style="margin: 8px 0px;">Gentile {{user_name}},</p>
|
||||
<p style="margin: 8px 0px;">Hai richiesto di reimpostare la tua password.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p style="margin: 8px 0px;">Cordiali saluti,</p>
|
||||
<p style="margin: 8px 0px;"><strong>{{email_signature}}</strong></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding-top: 20px;">
|
||||
<!-- Button added here -->
|
||||
<a href="{{reset_password_link}}" style="background-color: #007bff;
|
||||
color: #fff;
|
||||
font-family: open sans;
|
||||
border-radius: 5px;
|
||||
box-sizing: border-box;
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
width: 100%;
|
||||
max-width: 280px;
|
||||
padding: 12px 25px;">Reimposta la Password</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>',
|
||||
'Richiesta di Reimpostazione Password',
|
||||
NULL,
|
||||
true,
|
||||
false,
|
||||
CURRENT_TIMESTAMP,
|
||||
CURRENT_TIMESTAMP,
|
||||
'PASSWORD_RESET_REQUEST');
|
||||
@@ -0,0 +1,29 @@
|
||||
INSERT INTO gepafin_schema.system_email_template
|
||||
(template_name, "type", html_content, subject, "json", "system", is_deleted, created_date, updated_date, email_scenario)
|
||||
VALUES
|
||||
(
|
||||
'Welcome Email for New User',
|
||||
'USER_ONBOARDING',
|
||||
'<html>
|
||||
<body style="font-family: Arial, sans-serif; color: #000; line-height: 1.6;">
|
||||
<div style="padding: 20px; border: 1px solid #ddd; border-radius: 8px; max-width: 600px; margin: auto;">
|
||||
<p><strong>Benvenuto!</strong></p>
|
||||
<p>Ciao {{user_name}},</p>
|
||||
<p>Siamo lieti di averti con noi. Di seguito trovi alcune informazioni utili:</p>
|
||||
<ul>
|
||||
<li><strong>Nome Utente:</strong> {{user_email}}</li>
|
||||
</ul>
|
||||
<p>Per accedere, utilizza il tuo indirizzo email registrato. Se hai bisogno di supporto, non esitare a contattarci.</p>
|
||||
<p>Distinti saluti,</p>
|
||||
<p><strong>{{email_signature}}</strong></p>
|
||||
</div>
|
||||
</body>
|
||||
</html>',
|
||||
'Welcome - {{user_name}}',
|
||||
NULL,
|
||||
true,
|
||||
false,
|
||||
CURRENT_TIMESTAMP,
|
||||
CURRENT_TIMESTAMP,
|
||||
'USER_CREATION'
|
||||
);
|
||||
101
src/main/resources/db/dump/update_form_field_data_03_01_2025.sql
Normal file
101
src/main/resources/db/dump/update_form_field_data_03_01_2025.sql
Normal file
@@ -0,0 +1,101 @@
|
||||
INSERT INTO FORM_FIELD (SORT_ORDER, NAME, LABEL, DESCRIPTION, SETTINGS, VALIDATORS, CREATED_DATE, UPDATED_DATE)
|
||||
VALUES
|
||||
(1, 'textinput', 'Testo Breve', 'Per risposte concise (nomi, titoli, brevi descrizioni)',
|
||||
'[{"name": "label", "value": "Testo Breve"}, {"name": "placeholder", "value": ""}]',
|
||||
'{"isRequired": false, "minLength": null, "maxLength": null, "pattern": null, "custom": null}',
|
||||
CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
|
||||
|
||||
(2, 'textarea', 'Testo Lungo', 'Campo di testo esteso per paragrafi, descrizioni, proposte',
|
||||
'[{"name": "label", "value": "Testo Lungo"}, {"name": "placeholder", "value": ""}]',
|
||||
'{"isRequired": false, "minLength": null, "maxLength": null, "pattern": null, "custom": null}',
|
||||
CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
|
||||
|
||||
(3, 'wysiwyg', 'Campo di Testo Formattato', 'Editor avanzato per testo con formattazione',
|
||||
'[{"name": "label", "value": "Testo Formattato"}, {"name": "placeholder", "value": ""}]',
|
||||
'{"isRequired": false, "minLength": null, "maxLength": null, "pattern": null, "custom": null}',
|
||||
CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
|
||||
|
||||
(4, 'numberinput', 'Campo Numerico', 'Per l''inserimento di valori numerici (quantità, importi, percentuali)',
|
||||
'[{"name": "label", "value": "Numero"}, {"name": "placeholder", "value": "0"}, {"name": "step", "value": "0"},{"name": "isRequestedAmount","value": false}]',
|
||||
'{"isRequired": false, "min": null, "max": null, "pattern": null, "custom": null}',
|
||||
CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
|
||||
|
||||
(5, 'radio', 'Scelta Singola', 'Gruppo di opzioni per selezione singola',
|
||||
'[{"name": "label", "value": "Scelta Singola"}, {"name": "options", "value": []}]',
|
||||
'{"isRequired": false, "custom": null}',
|
||||
CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
|
||||
|
||||
(6, 'select', 'Menu a Tendina', 'Selezione da opzioni predefinite',
|
||||
'[{"name": "label", "value": "Menu a Tendina"}, {"name": "options", "value": []}]',
|
||||
'{"isRequired": false, "custom": null}',
|
||||
CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
|
||||
|
||||
(7, 'checkboxes', 'Scelta Multipla', 'Gruppo di opzioni per selezione singola o multipla',
|
||||
'[{"name": "label", "value": "Scelta Multipla"}, {"name": "options", "value": []}]',
|
||||
'{"isRequired": false, "min": null, "max": null, "custom": null}',
|
||||
CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
|
||||
|
||||
(8, 'switch', 'Casella di Spunta', 'Per selezioni binarie, accettazioni, conferme',
|
||||
'[{"name": "label", "value": "Casella di Spunta"}]',
|
||||
'{"isRequired": false}',
|
||||
CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
|
||||
|
||||
(9, 'datepicker', 'Data', 'Selezione di data',
|
||||
'[{"name": "label", "value": "Data"}]',
|
||||
'{"isRequired": false}',
|
||||
CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
|
||||
|
||||
(10, 'fileupload', 'Caricamento File', 'Per l''upload di documenti o immagini',
|
||||
'[{"name": "label", "value": "Caricamento File"}, {"name": "mime", "value": []}]',
|
||||
'{"isRequired": false, "maxSize": 100000}',
|
||||
CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
|
||||
|
||||
(11, 'textinput', 'Campo Partita IVA', 'Specifico per l''inserimento del numero di Partita IVA',
|
||||
'[{"name": "label", "value": "Partita IVA"}, {"name": "placeholder", "value": ""}]',
|
||||
'{"isRequired": true, "custom": "isPIVA"}',
|
||||
CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
|
||||
|
||||
(12, 'textinput', 'Campo Codice Fiscale','Specifico per l''inserimento del Codice Fiscale italiano per persone fisiche e giuridiche',
|
||||
'[{"name": "label", "value": "Codice Fiscale"}, {"name": "placeholder", "value": ""}]',
|
||||
'{"isRequired": true, "custom": "isCodiceFiscale"}',
|
||||
CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
|
||||
|
||||
(13, 'textinput', 'Campo CAP','Per l''inserimento del Codice di Avviamento Postale',
|
||||
'[{"name": "label", "value": "CAP"}, {"name": "placeholder", "value": ""}]',
|
||||
'{"isRequired": true, "custom": "isCAP"}',
|
||||
CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
|
||||
|
||||
(14, 'textinput', 'Campo IBAN', 'Per l''inserimento del codice IBAN',
|
||||
'[{"name": "label", "value": "IBAN"}, {"name": "placeholder", "value": ""}]',
|
||||
'{"isRequired": true, "custom": "isIBAN"}',
|
||||
CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
|
||||
|
||||
(15, 'textinput', 'Campo Email', 'Per l''inserimento di indirizzi email standard (non PEC)',
|
||||
'[{"name": "label", "value": "Campo Email"}, {"name": "placeholder", "value": "nome@esempio.it"}]',
|
||||
'{"isRequired": false, "custom": "isEmail"}',
|
||||
CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
|
||||
|
||||
(16, 'textinput', 'Campo PEC', 'Specifico per l''inserimento di un indirizzo di Posta Elettronica Certificata',
|
||||
'[{"name": "label", "value": "Campo PEC"}, {"name": "placeholder", "value": "nome@pec.it"}]',
|
||||
'{"isRequired": false, "custom": "isEmailPEC"}',
|
||||
CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
|
||||
|
||||
(17, 'textinput', 'Campo URL', 'Per l''inserimento di indirizzi web',
|
||||
'[{"name": "label", "value": "Indirizzo URL"}, {"name": "placeholder", "value": ""}]',
|
||||
'{"isRequired": false, "custom": "isUrl"}',
|
||||
CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
|
||||
|
||||
(18, 'textinput', 'Marca da bollo', 'Per inserire codice di marca da bollo',
|
||||
'[{"name": "label", "value": "Marca da bollo"}, {"name": "placeholder", "value": "Numero identificativo"}]',
|
||||
'{"isRequired": false, "custom": "isMarcaDaBollo"}',
|
||||
CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
|
||||
|
||||
(19, 'paragraph', 'Paragrafo', 'Semplice testo formattato',
|
||||
'[{"name": "text", "value": ""}]',
|
||||
'{}',
|
||||
CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
|
||||
|
||||
(20, 'table', 'Tabella', 'Tabella',
|
||||
'[{"name": "label", "value": "Tabella"}, {"name": "table_columns", "value": []}]',
|
||||
'{}',
|
||||
CURRENT_TIMESTAMP, CURRENT_TIMESTAMP);
|
||||
@@ -0,0 +1,3 @@
|
||||
INSERT INTO notification_type (notification_name,title, json_template,created_date,updated_date,is_deleted) VALUES
|
||||
('AMENDMENT_EXPIRATION_REMINDER','Lemendamento sta per scadere','Lemendamento per {{call_name}} - {{company_name}} scadrà tra {{days_before}} giorni. Assicurati che tutte le azioni necessarie siano completate prima della scadenza.','2025-01-03T10:16:26.472Z','2025-01-03T10:16:26.472Z','false'),
|
||||
('EVALUATION_EXPIRATION_REMINDER','La valutazione sta per scadere','Lemendamento per {{call_name}} - {{company_name}} scadrà tra {{days_before}} giorni. Assicurati che tutte le azioni necessarie siano completate prima della scadenza.','2025-01-03T10:16:26.472Z','2025-01-03T10:16:26.472Z','false');
|
||||
@@ -0,0 +1,62 @@
|
||||
UPDATE notification_type
|
||||
SET
|
||||
title = 'Un Nuovo Bando È Stato Pubblicato',
|
||||
json_template = 'Un nuovo bando intitolato {{call_name}} è stato pubblicato. Controllalo e invia le candidature prima della scadenza.'
|
||||
WHERE
|
||||
notification_name = 'CALL_CREATED';
|
||||
|
||||
UPDATE notification_type
|
||||
SET
|
||||
title = 'Richiesta Finanziamento Inviata con Successo per la Valutazione',
|
||||
json_template = 'La richiesta per {{call_name}} ai sensi del protocollo n. {{protocol_number}} è stata presentata con successo. È ora in fase di valutazione.'
|
||||
WHERE
|
||||
notification_name = 'APPLICATION_SUBMISSION';
|
||||
|
||||
UPDATE notification_type
|
||||
SET
|
||||
title = 'È Stato Creato un Soccorso Istruttorio per la Richiesta',
|
||||
json_template = 'È stato creato un soccorso istruttorio per la richiesta in {{call_name}} ai sensi del protocollo n. {{protocol_number}}. Esamina le richieste e procedi di conseguenza.'
|
||||
WHERE
|
||||
notification_name = 'AMENDMENT_CREATION';
|
||||
|
||||
UPDATE notification_type
|
||||
SET
|
||||
title = 'Il Risultato della Valutazione per la Richiesta È Disponibile',
|
||||
json_template = 'Il risultato della valutazione per la richiesta ai sensi del protocollo n. {{protocol_number}} è ora disponibile.'
|
||||
WHERE
|
||||
notification_name = 'EVALUATION_RESULT';
|
||||
|
||||
UPDATE notification_type
|
||||
SET
|
||||
title = 'Soccorso Scaduto',
|
||||
json_template = 'Il soccorso istruttorio per la richiesta in {{call_name}} ai sensi del protocollo n. {{protocol_number}} è scaduto.'
|
||||
WHERE
|
||||
notification_name = 'AMENDMENT_EXPIRED';
|
||||
|
||||
UPDATE notification_type
|
||||
SET
|
||||
title = 'Scorso Chiuso ed È Ora Inattivo',
|
||||
json_template = 'Il soccorso istruttorio per {{call_name}} ai sensi del protocollo n. {{protocol_number}} è stato chiuso ed è ora inattivo.'
|
||||
WHERE
|
||||
notification_name = 'AMENDMENT_CLOSED';
|
||||
|
||||
UPDATE notification_type
|
||||
SET
|
||||
title = 'NDG creato per la Richiesta',
|
||||
json_template = 'È stato generato un nuovo NDG per {{call_name}} ai sensi del protocollo n. {{protocol_number}}.'
|
||||
WHERE
|
||||
notification_name = 'NDG_GENERATION';
|
||||
|
||||
UPDATE notification_type
|
||||
SET
|
||||
title = 'La domanda è stata assegnata per la Valutazione',
|
||||
json_template = 'La richiesta in {{call_name}} ai sensi del protocollo n. {{protocol_number}} è stata assegnata alla fase di valutazione.'
|
||||
WHERE
|
||||
notification_name = 'EVALUATION_CREATION';
|
||||
|
||||
UPDATE notification_type
|
||||
SET
|
||||
title = 'La Valutazione per la Richiesta È Scaduta',
|
||||
json_template = 'La valutazione per la richiesta in {{call_name}} ai sensi del protocollo n. {{protocol_number}} è scaduta.'
|
||||
WHERE
|
||||
notification_name = 'EVALUATION_EXPIRED';
|
||||
Reference in New Issue
Block a user