<p>Terdapat pengajuan dokumen dengan No."+this.state.businessUnit+"-"+this.state.documentType+"-"+this.state.revisionCode+" "+this.state.subject+" yang diajukan oleh "+JSON.parse(localStorage.getItem("dataLDAP"))["Full Name"]+".<br /> Untuk review dan approval silahkan klik link berikut ini <a href='http://10.10.86.48:3000' target='_blank'>Link Dokumen</a></p> \
<p>Terdapat pengajuan dokumen dengan No."+this.state.businessUnit+"-"+this.state.documentType+"-"+this.state.revisionCode+" "+this.state.subject+" yang diajukan oleh "+JSON.parse(localStorage.getItem("dataLDAP"))["Full Name"]+".<br /> Untuk review dan approval silahkan klik link berikut ini <a href='http://"+localStorage.getItem('host')+"' target='_blank'>Link Dokumen</a></p> \
<p>Dokumen dengan No."+this.state.businessUnit+"-"+this.state.documentType+"-"+this.state.revisionCode+" "+this.state.subject+" yang diajukan oleh "+this.state.creator_name+" telah dipublish.<br /> Untuk melihat dokumen, silahkan klik link berikut <a href='http://10.10.86.48:3000' target='_blank'>Link Dokumen</a></p> \
<p>Dokumen dengan No."+this.state.businessUnit+"-"+this.state.documentType+"-"+this.state.revisionCode+" "+this.state.subject+" yang diajukan oleh "+this.state.creator_name+" telah dipublish.<br /> Untuk melihat dokumen, silahkan klik link berikut <a href='http://"+localStorage.getItem('host')+"' target='_blank'>Link Dokumen</a></p> \
<p>Terimakasih</p> \
<p>Regards,</p> \
<p>Admin</p><br /> \
...
...
@@ -252,6 +258,32 @@ class FormPublish extends Component {
"subject":"Dokumen "+this.state.businessUnit+"-"+this.state.documentType+"-"+this.state.revisionCode+"-"+this.state.subject+" Sudah Diunpublish",
"emailcc":"",
"emailsend":sendEmailPublish,
"message":"<p>Dengan hormat,</p> \
<p>Dokumen dengan No."+this.state.businessUnit+"-"+this.state.documentType+"-"+this.state.revisionCode+" "+this.state.subject+" yang diajukan oleh "+this.state.creator_name+" telah diunpublish oleh "+JSON.parse(localStorage.getItem("dataLogin")).user_name[0]+".</p> \
<p>Terimakasih</p> \
<p>Regards,</p> \
<p>Admin</p><br /> \
<p><i>Ini adalah email otomatis, harap jangan me-reply ke alamat email ini</i></p>"
"subject":"Dokumen "+this.state.businessUnit+"-"+this.state.documentType+"-"+this.state.revisionCode+"-"+this.state.subject+" Sudah Direview",
"emailcc":"",
"emailsend":emailComplianceOfficer,
"message":"<p>Dengan hormat,</p> \
<p>Dokumen dengan No."+this.state.businessUnit+"-"+this.state.documentType+"-"+this.state.revisionCode+" "+this.state.subject+" yang diajukan oleh "+this.state.creator_name+" telah direview dan tidak perlu direvisi.<br /> Untuk melihat dokumen, silahkan klik link berikut <a href='http://"+localStorage.getItem('host')+"' target='_blank'>Link Dokumen</a></p> \
<p>Terimakasih</p> \
<p>Regards,</p> \
<p>Admin</p><br /> \
<p><i>Ini adalah email otomatis, harap jangan me-reply ke alamat email ini</i></p>"
if((dataRevision[dataRevision.length-1].status.includes("Waiting for Approval")||dataRevision[dataRevision.length-1].status.includes("Waiting for Approver")||dataRevision[dataRevision.length-1].status.includes("Additional Approver"))&&dataAllDocument[i].doc_status[0]=="New"){
...
...
@@ -106,6 +107,7 @@ class YourDocument extends Component {