Merge branch 'develop' of https://github.com/Kitzanos/GEPAFIN-BE into develop

This commit is contained in:
nisha
2025-01-03 13:16:23 +05:30
17 changed files with 352 additions and 61 deletions

View File

@@ -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');

View File

@@ -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'
);