This commit is contained in:
Rizki
2026-04-10 15:03:41 +07:00
parent e920c8f67f
commit c33c961326

View File

@ -6,16 +6,27 @@ const RECIPIENT = 'rizki.rmdhn1304@gmail.com';
function buildHtml(approverName, title, priorName, idxjustification) {
const url = `https://e-portal.telkomcel.tl/app/ext/eproc/circulation/${idxjustification}`;
return `<p>Dear ${approverName},</p>
<p>A new workflow task requires your review and approval. Please find the details regarding this justification below:</p>
<ul>
<li><strong>Justification:</strong> ${title}</li>
<li><strong>Task Type:</strong> OPEN</li>
<li><strong>Status:</strong> READY FOR APPROVAL</li>
<li><strong>Sent By:</strong> ${priorName}</li>
</ul>
<p><strong>Action Required:</strong><br>
Please access the document and complete the approval via the E-Procurement Portal using the link below:<br>
<a href="${url}">${url}</a></p>
<p>Best regards,<br>E-Procurement</p>`;
<p>If you have any questions or require further clarification, please do not hesitate to contact the Procurement Division.</p>
<p>Thank you for your attention and cooperation.</p>
<p>Best regards,<br>
Procurement Division<br>
Finance Business Partner Unit</p>`;
}
function postEmail(approverName, title, priorName, idxjustification) {