Done ticket GEPAFINBE-210
This commit is contained in:
@@ -2746,4 +2746,23 @@
|
||||
<sqlFile dbms="postgresql"
|
||||
path="db/dump/update_system_email_template_28_04_2025.sql"/>
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="22-04-2025_PK_192400" author="Piyush Kag">
|
||||
<sqlFile dbms="postgresql"
|
||||
path="db/dump/update_json_template_for_notification_22_04_2025.sql"/>
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="24-04-2025_PK_121820" author="Piyush Kag">
|
||||
<addColumn tableName="email_log">
|
||||
<column name="user_action_id" type="INTEGER">
|
||||
<constraints foreignKeyName="fk_email_log_user_action" references="user_action(id)"/>
|
||||
</column>
|
||||
</addColumn>
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="30-04-2025_PK_125515" author="Piyush Kag">
|
||||
<sqlFile dbms="postgresql"
|
||||
path="db/dump/insert_system_email_template_for_application_submission_failure_30_04_2025.sql"/>
|
||||
</changeSet>
|
||||
|
||||
</databaseChangeLog>
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
INSERT INTO gepafin_schema.system_email_template (
|
||||
template_name,
|
||||
"type",
|
||||
html_content,
|
||||
subject,
|
||||
"json",
|
||||
"system",
|
||||
is_deleted,
|
||||
created_date,
|
||||
updated_date,
|
||||
email_scenario)
|
||||
VALUES (
|
||||
'Application submission failure notification',
|
||||
'APPLICATION_SUBMISSION_FAILURE_NOTIFICATION',
|
||||
'<html>
|
||||
<body style="font-family: Arial, sans-serif; color: #333; line-height: 1.6;">
|
||||
<div style="padding: 20px; border: 1px solid #ddd; border-radius: 8px; max-width: 650px; margin: auto;">
|
||||
<p>Buongiorno,</p>
|
||||
|
||||
<p>
|
||||
Si prega di notare che si è verificato un errore durante linvio dell email "{{scenario}}" per la chiamata: <strong>{{call_name}}</strong>. </p>
|
||||
<p>
|
||||
<strong>Dettagli:</strong><br/>
|
||||
- ID Applicazione: {{application_id}}<br/>
|
||||
- Nome Azienda: {{company_name}}<br/>
|
||||
- Numero Protocollo: {{protocol_number}}<br/>
|
||||
- ID Azione Utente: {{user_action_id}}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Si prega di effettuare i controlli appropriati e di adottare le misure correttive necessarie.
|
||||
</p>
|
||||
|
||||
<p>Cordiali saluti,</p>
|
||||
<p><strong>Gepafin S.p.a.</strong></p>
|
||||
</div>
|
||||
</body>
|
||||
</html>',
|
||||
'ERRORE INVIO EMAIL - BANDO {{call_name}}',
|
||||
NULL,
|
||||
true,
|
||||
false,
|
||||
CURRENT_TIMESTAMP,
|
||||
CURRENT_TIMESTAMP,
|
||||
'APPLICATION_SUBMISSION_FAILURE'
|
||||
);
|
||||
@@ -0,0 +1,9 @@
|
||||
INSERT INTO notification_type (notification_name, title, json_template, created_date, updated_date, is_deleted)
|
||||
VALUES
|
||||
('PEC_EMAIL_SENDING_FAILURE',
|
||||
'Invio Email Fallito',
|
||||
'Non è stato possibile inviare lemail per lo scenario: {{email_scenario}}.',
|
||||
'2025-01-03T10:16:26.472Z',
|
||||
'2025-01-03T10:16:26.472Z',
|
||||
'false'
|
||||
);
|
||||
Reference in New Issue
Block a user