upd
This commit is contained in:
@ -6,16 +6,27 @@ const RECIPIENT = 'rizki.rmdhn1304@gmail.com';
|
|||||||
function buildHtml(approverName, title, priorName, idxjustification) {
|
function buildHtml(approverName, title, priorName, idxjustification) {
|
||||||
const url = `https://e-portal.telkomcel.tl/app/ext/eproc/circulation/${idxjustification}`;
|
const url = `https://e-portal.telkomcel.tl/app/ext/eproc/circulation/${idxjustification}`;
|
||||||
return `<p>Dear ${approverName},</p>
|
return `<p>Dear ${approverName},</p>
|
||||||
|
|
||||||
<p>A new workflow task requires your review and approval. Please find the details regarding this justification below:</p>
|
<p>A new workflow task requires your review and approval. Please find the details regarding this justification below:</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><strong>Justification:</strong> ${title}</li>
|
<li><strong>Justification:</strong> ${title}</li>
|
||||||
<li><strong>Task Type:</strong> OPEN</li>
|
<li><strong>Task Type:</strong> OPEN</li>
|
||||||
<li><strong>Status:</strong> READY FOR APPROVAL</li>
|
<li><strong>Status:</strong> READY FOR APPROVAL</li>
|
||||||
<li><strong>Sent By:</strong> ${priorName}</li>
|
<li><strong>Sent By:</strong> ${priorName}</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p><strong>Action Required:</strong><br>
|
<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>
|
<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) {
|
function postEmail(approverName, title, priorName, idxjustification) {
|
||||||
|
|||||||
Reference in New Issue
Block a user