<p>Terdapat pengajuan dokumen dengan No."+this.state.businessUnit+"-"+this.state.documentType+"-"+this.state.revisionCode+"-"+this.state.subject+" yang diajukan oleh "+this.state.creator_name+".<br /> Untuk proses approval, silahkan klik link berikut <a href='http://"+localStorage.getItem('host')+"' 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 "+this.state.creator_name+".<br /> Untuk proses approval, 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 /> \
...
...
@@ -675,7 +676,7 @@ class FormApprover extends Component {
@@ -842,11 +843,11 @@ class FormApprover extends Component {
if(dataComplianceOfficer.email!=""){
//Send Email Notification For Publish
letpostdataEmailPublish={
"subject":"Dokumen "+this.state.businessUnit+"-"+this.state.documentType+"-"+this.state.revisionCode+"-"+this.state.subject+" Siap Untuk Dipublish",
"subject":"Dokumen "+this.state.businessUnit+"."+this.state.documentType+"."+this.state.revisionCode+"-"+this.state.subject+" Siap Untuk Dipublish",
"emailcc":"",
"emailsend":dataComplianceOfficer.email,
"message":"<p>Dengan hormat,</p> \
<p>Pengajuan dokumen dengan No."+this.state.businessUnit+"-"+this.state.documentType+"-"+this.state.revisionCode+"-"+this.state.subject+" telah siap untuk dipublish.<br /> Untuk melakukan publish, silahkan klik link berikut ini <a href='http://"+localStorage.getItem('host')+"' target='_blank'>Link Dokumen</a></p> \
<p>Pengajuan dokumen dengan No."+this.state.businessUnit+"."+this.state.documentType+"."+this.state.revisionCode+"-"+this.state.subject+" telah siap untuk dipublish.<br /> Untuk melakukan publish, silahkan klik link berikut ini <a href='http://"+localStorage.getItem('host')+"' target='_blank'>Link Dokumen</a></p> \
<p>Terimakasih</p> \
<p>Regards,</p> \
<p>Admin</p><br /> \
...
...
@@ -898,7 +899,7 @@ class FormApprover extends Component {
@@ -980,11 +981,11 @@ class FormApprover extends Component {
if(this.state.creator_email!=""){
//Send Email Notification After Approve
letpostdataEmailAfterApprove={
"subject":"Approval Review dan Approval Dokumen "+this.state.businessUnit+"-"+this.state.documentType+"-"+this.state.revisionCode+"-"+this.state.subject,
"subject":"Approval Review dan Approval Dokumen "+this.state.businessUnit+"."+this.state.documentType+"."+this.state.revisionCode+"-"+this.state.subject,
"emailcc":"",
"emailsend":this.state.creator_email,
"message":"<p>Dengan hormat,</p> \
<p>Pengajuan dokumen dengan No."+this.state.businessUnit+"-"+this.state.documentType+"-"+this.state.revisionCode+"-"+this.state.subject+" telah diapprove oleh "+JSON.parse(localStorage.getItem("dataLogin")).user_name[0]+".<br /> Klik <a href='http://"+localStorage.getItem('host')+"' target='_blank'>Link Dokumen</a> untuk melihat dokumen.</p> \
<p>Pengajuan dokumen dengan No."+this.state.businessUnit+"."+this.state.documentType+"."+this.state.revisionCode+"-"+this.state.subject+" telah diapprove oleh "+JSON.parse(localStorage.getItem("dataLogin")).user_name[0]+".<br /> Klik <a href='http://"+localStorage.getItem('host')+"' target='_blank'>Link Dokumen</a> untuk melihat dokumen.</p> \
<p>Terimakasih</p> \
<p>Regards,</p> \
<p>Admin</p><br /> \
...
...
@@ -1006,11 +1007,11 @@ class FormApprover extends Component {
if(this.state.creator_email!=""){
//Send Email Notification After Approve
letpostdataEmailAfterApprove={
"subject":"Approval Review dan Approval Dokumen "+this.state.businessUnit+"-"+this.state.documentType+"-"+this.state.revisionCode+"-"+this.state.subject,
"subject":"Approval Review dan Approval Dokumen "+this.state.businessUnit+"."+this.state.documentType+"."+this.state.revisionCode+"-"+this.state.subject,
"emailcc":"",
"emailsend":this.state.creator_email,
"message":"<p>Dengan hormat,</p> \
<p>Pengajuan dokumen dengan No."+this.state.businessUnit+"-"+this.state.documentType+"-"+this.state.revisionCode+"-"+this.state.subject+" telah diapprove oleh "+JSON.parse(localStorage.getItem("dataLogin")).user_name[0]+".<br /> Klik <a href='http://"+localStorage.getItem('host')+"' target='_blank'>Link Dokumen</a> untuk melihat dokumen.</p> \
<p>Pengajuan dokumen dengan No."+this.state.businessUnit+"."+this.state.documentType+"."+this.state.revisionCode+"-"+this.state.subject+" telah diapprove oleh "+JSON.parse(localStorage.getItem("dataLogin")).user_name[0]+".<br /> Klik <a href='http://"+localStorage.getItem('host')+"' target='_blank'>Link Dokumen</a> untuk melihat dokumen.</p> \
<p>Terimakasih</p> \
<p>Regards,</p> \
<p>Admin</p><br /> \
...
...
@@ -1028,11 +1029,11 @@ class FormApprover extends Component {
if(this.state.creator_email!=""){
//Send Email Notification After Approve
letpostdataEmailAfterApprove={
"subject":"Approval Review dan Approval Dokumen "+this.state.businessUnit+"-"+this.state.documentType+"-"+this.state.revisionCode+"-"+this.state.subject,
"subject":"Approval Review dan Approval Dokumen "+this.state.businessUnit+"."+this.state.documentType+"."+this.state.revisionCode+"-"+this.state.subject,
"emailcc":"",
"emailsend":this.state.creator_email,
"message":"<p>Dengan hormat,</p> \
<p>Pengajuan dokumen dengan No."+this.state.businessUnit+"-"+this.state.documentType+"-"+this.state.revisionCode+"-"+this.state.subject+" telah diapprove oleh "+JSON.parse(localStorage.getItem("dataLogin")).user_name[0]+".<br /> Klik <a href='http://"+localStorage.getItem('host')+"' target='_blank'>Link Dokumen</a> untuk melihat dokumen.</p> \
<p>Pengajuan dokumen dengan No."+this.state.businessUnit+"."+this.state.documentType+"."+this.state.revisionCode+"-"+this.state.subject+" telah diapprove oleh "+JSON.parse(localStorage.getItem("dataLogin")).user_name[0]+".<br /> Klik <a href='http://"+localStorage.getItem('host')+"' target='_blank'>Link Dokumen</a> untuk melihat dokumen.</p> \
<p>Terimakasih</p> \
<p>Regards,</p> \
<p>Admin</p><br /> \
...
...
@@ -1049,11 +1050,11 @@ class FormApprover extends Component {
if(dataComplianceOfficer.email!=""){
//Send Email Notification For Publish
letpostdataEmailPublish={
"subject":"Dokumen "+this.state.businessUnit+"-"+this.state.documentType+"-"+this.state.revisionCode+"-"+this.state.subject+" Siap Untuk Dipublish",
"subject":"Dokumen "+this.state.businessUnit+"."+this.state.documentType+"."+this.state.revisionCode+"-"+this.state.subject+" Siap Untuk Dipublish",
"emailcc":"",
"emailsend":dataComplianceOfficer.email,
"message":"<p>Dengan hormat,</p> \
<p>Pengajuan dokumen dengan No."+this.state.businessUnit+"-"+this.state.documentType+"-"+this.state.revisionCode+"-"+this.state.subject+" telah siap untuk dipublish.<br /> Untuk melakukan publish, silahkan klik link berikut ini <a href='http://"+localStorage.getItem('host')+"' target='_blank'>Link Dokumen</a></p> \
<p>Pengajuan dokumen dengan No."+this.state.businessUnit+"."+this.state.documentType+"."+this.state.revisionCode+"-"+this.state.subject+" telah siap untuk dipublish.<br /> Untuk melakukan publish, silahkan klik link berikut ini <a href='http://"+localStorage.getItem('host')+"' target='_blank'>Link Dokumen</a></p> \
<p>Terimakasih</p> \
<p>Regards,</p> \
<p>Admin</p><br /> \
...
...
@@ -1070,11 +1071,11 @@ class FormApprover extends Component {
if(dataComplianceOfficer.email!=""){
//Send Email Notification For Add Additional Approver
letpostdataEmailAddAdditionalApprover={
"subject":"Penambahan Additional Approver Untuk Dokumen "+this.state.businessUnit+"-"+this.state.documentType+"-"+this.state.revisionCode+"-"+this.state.subject,
"subject":"Penambahan Additional Approver Untuk Dokumen "+this.state.businessUnit+"."+this.state.documentType+"."+this.state.revisionCode+"-"+this.state.subject,
"emailcc":"",
"emailsend":dataComplianceOfficer.email,
"message":"<p>Dengan hormat,</p> \
<p>Pengajuan dokumen dengan No."+this.state.businessUnit+"-"+this.state.documentType+"-"+this.state.revisionCode+"-"+this.state.subject+" mohon diperiksa untuk penambahan additional approver.<br /> Klik <a href='http://"+localStorage.getItem('host')+"' target='_blank'>Link Dokumen</a> untuk menambahkan additional approver.</p> \
<p>Pengajuan dokumen dengan No."+this.state.businessUnit+"."+this.state.documentType+"."+this.state.revisionCode+"-"+this.state.subject+" mohon diperiksa untuk penambahan additional approver.<br /> Klik <a href='http://"+localStorage.getItem('host')+"' target='_blank'>Link Dokumen</a> untuk menambahkan additional approver.</p> \
<p>Terimakasih</p> \
<p>Regards,</p> \
<p>Admin</p><br /> \
...
...
@@ -1115,7 +1116,7 @@ class FormApprover extends Component {
"subject":"Dokumen "+this.state.businessUnit+"-"+this.state.documentType+"-"+this.state.revisionCode+"-"+this.state.subject+" Direject dan Perlu Direvisi",
"subject":"Dokumen "+this.state.businessUnit+"."+this.state.documentType+"."+this.state.revisionCode+"-"+this.state.subject+" Direject dan Perlu Direvisi",
"emailcc":"",
"emailsend":this.state.creator_email,
"message":"<p>Dengan hormat,</p> \
<p>Pengajuan dokumen dengan No."+this.state.businessUnit+"-"+this.state.documentType+"-"+this.state.revisionCode+"-"+this.state.subject+" telah direject oleh "+JSON.parse(localStorage.getItem("dataLogin")).user_name[0]+".<br /> Klik <a href='http://"+localStorage.getItem('host')+"' target='_blank'>Link Dokumen</a> untuk melakukan revisi dokumen.</p> \
<p>Pengajuan dokumen dengan No."+this.state.businessUnit+"."+this.state.documentType+"."+this.state.revisionCode+"-"+this.state.subject+" telah direject oleh "+JSON.parse(localStorage.getItem("dataLogin")).user_name[0]+".<br /> Klik <a href='http://"+localStorage.getItem('host')+"' target='_blank'>Link Dokumen</a> untuk melakukan revisi dokumen.</p> \
<p>Terimakasih</p> \
<p>Regards,</p> \
<p>Admin</p><br /> \
...
...
@@ -1724,11 +1725,11 @@ class FormApprover extends Component {
if(this.state.creator_email!=""){
//Send Email Notification After Approve
letpostdataEmailAfterApprove={
"subject":"Approval Review dan Approval Dokumen "+this.state.businessUnit+"-"+this.state.documentType+"-"+this.state.revisionCode+"-"+this.state.subject,
"subject":"Approval Review dan Approval Dokumen "+this.state.businessUnit+"."+this.state.documentType+"."+this.state.revisionCode+"-"+this.state.subject,
"emailcc":"",
"emailsend":this.state.creator_email,
"message":"<p>Dengan hormat,</p> \
<p>Pengajuan dokumen dengan No."+this.state.businessUnit+"-"+this.state.documentType+"-"+this.state.revisionCode+"-"+this.state.subject+" telah diapprove oleh "+JSON.parse(localStorage.getItem("dataLogin")).user_name[0]+".<br /> Klik <a href='http://"+localStorage.getItem('host')+"' target='_blank'>Link Dokumen</a> untuk melihat dokumen.</p> \
<p>Pengajuan dokumen dengan No."+this.state.businessUnit+"."+this.state.documentType+"."+this.state.revisionCode+"-"+this.state.subject+" telah diapprove oleh "+JSON.parse(localStorage.getItem("dataLogin")).user_name[0]+".<br /> Klik <a href='http://"+localStorage.getItem('host')+"' target='_blank'>Link Dokumen</a> untuk melihat dokumen.</p> \
<p>Terimakasih</p> \
<p>Regards,</p> \
<p>Admin</p><br /> \
...
...
@@ -1750,11 +1751,11 @@ class FormApprover extends Component {
if(this.state.creator_email!=""){
//Send Email Notification After Approve
letpostdataEmailAfterApprove={
"subject":"Approval Review dan Approval Dokumen "+this.state.businessUnit+"-"+this.state.documentType+"-"+this.state.revisionCode+"-"+this.state.subject,
"subject":"Approval Review dan Approval Dokumen "+this.state.businessUnit+"."+this.state.documentType+"."+this.state.revisionCode+"-"+this.state.subject,
"emailcc":"",
"emailsend":this.state.creator_email,
"message":"<p>Dengan hormat,</p> \
<p>Pengajuan dokumen dengan No."+this.state.businessUnit+"-"+this.state.documentType+"-"+this.state.revisionCode+"-"+this.state.subject+" telah diapprove oleh "+JSON.parse(localStorage.getItem("dataLogin")).user_name[0]+".<br /> Klik <a href='http://"+localStorage.getItem('host')+"' target='_blank'>Link Dokumen</a> untuk melihat dokumen.</p> \
<p>Pengajuan dokumen dengan No."+this.state.businessUnit+"."+this.state.documentType+"."+this.state.revisionCode+"-"+this.state.subject+" telah diapprove oleh "+JSON.parse(localStorage.getItem("dataLogin")).user_name[0]+".<br /> Klik <a href='http://"+localStorage.getItem('host')+"' target='_blank'>Link Dokumen</a> untuk melihat dokumen.</p> \
<p>Terimakasih</p> \
<p>Regards,</p> \
<p>Admin</p><br /> \
...
...
@@ -1772,11 +1773,11 @@ class FormApprover extends Component {
if(this.state.creator_email!=""){
//Send Email Notification After Approve
letpostdataEmailAfterApprove={
"subject":"Approval Review dan Approval Dokumen "+this.state.businessUnit+"-"+this.state.documentType+"-"+this.state.revisionCode+"-"+this.state.subject,
"subject":"Approval Review dan Approval Dokumen "+this.state.businessUnit+"."+this.state.documentType+""+this.state.revisionCode+"-"+this.state.subject,
"emailcc":"",
"emailsend":this.state.creator_email,
"message":"<p>Dengan hormat,</p> \
<p>Pengajuan dokumen dengan No."+this.state.businessUnit+"-"+this.state.documentType+"-"+this.state.revisionCode+"-"+this.state.subject+" telah diapprove oleh "+JSON.parse(localStorage.getItem("dataLogin")).user_name[0]+".<br /> Klik <a href='http://"+localStorage.getItem('host')+"' target='_blank'>Link Dokumen</a> untuk melihat dokumen.</p> \
<p>Pengajuan dokumen dengan No."+this.state.businessUnit+"."+this.state.documentType+"."+this.state.revisionCode+"-"+this.state.subject+" telah diapprove oleh "+JSON.parse(localStorage.getItem("dataLogin")).user_name[0]+".<br /> Klik <a href='http://"+localStorage.getItem('host')+"' target='_blank'>Link Dokumen</a> untuk melihat dokumen.</p> \
<p>Terimakasih</p> \
<p>Regards,</p> \
<p>Admin</p><br /> \
...
...
@@ -1793,11 +1794,11 @@ class FormApprover extends Component {
if(dataComplianceOfficer.email!=""){
//Send Email Notification For Publish
letpostdataEmailPublish={
"subject":"Dokumen "+this.state.businessUnit+"-"+this.state.documentType+"-"+this.state.revisionCode+"-"+this.state.subject+" Siap Untuk Dipublish",
"subject":"Dokumen "+this.state.businessUnit+"."+this.state.documentType+"."+this.state.revisionCode+"-"+this.state.subject+" Siap Untuk Dipublish",
"emailcc":"",
"emailsend":dataComplianceOfficer.email,
"message":"<p>Dengan hormat,</p> \
<p>Pengajuan dokumen dengan No."+this.state.businessUnit+"-"+this.state.documentType+"-"+this.state.revisionCode+"-"+this.state.subject+" telah siap untuk dipublish.<br /> Untuk melakukan publish, silahkan klik link berikut ini <a href='http://"+localStorage.getItem('host')+"' target='_blank'>Link Dokumen</a></p> \
<p>Pengajuan dokumen dengan No."+this.state.businessUnit+"."+this.state.documentType+"."+this.state.revisionCode+"-"+this.state.subject+" telah siap untuk dipublish.<br /> Untuk melakukan publish, silahkan klik link berikut ini <a href='http://"+localStorage.getItem('host')+"' target='_blank'>Link Dokumen</a></p> \
<p>Terimakasih</p> \
<p>Regards,</p> \
<p>Admin</p><br /> \
...
...
@@ -1814,11 +1815,11 @@ class FormApprover extends Component {
if(dataComplianceOfficer.email!=""){
//Send Email Notification For Add Additional Approver
letpostdataEmailAddAdditionalApprover={
"subject":"Penambahan Additional Approver Untuk Dokumen "+this.state.businessUnit+"-"+this.state.documentType+"-"+this.state.revisionCode+"-"+this.state.subject,
"subject":"Penambahan Additional Approver Untuk Dokumen "+this.state.businessUnit+"."+this.state.documentType+"."+this.state.revisionCode+"-"+this.state.subject,
"emailcc":"",
"emailsend":dataComplianceOfficer.email,
"message":"<p>Dengan hormat,</p> \
<p>Pengajuan dokumen dengan No."+this.state.businessUnit+"-"+this.state.documentType+"-"+this.state.revisionCode+"-"+this.state.subject+" mohon diperiksa untuk penambahan additional approver.<br /> Klik <a href='http://"+localStorage.getItem('host')+"' target='_blank'>Link Dokumen</a> untuk menambahkan additional approver.</p> \
<p>Pengajuan dokumen dengan No."+this.state.businessUnit+"."+this.state.documentType+"."+this.state.revisionCode+"-"+this.state.subject+" mohon diperiksa untuk penambahan additional approver.<br /> Klik <a href='http://"+localStorage.getItem('host')+"' target='_blank'>Link Dokumen</a> untuk menambahkan additional approver.</p> \
<p>Terimakasih</p> \
<p>Regards,</p> \
<p>Admin</p><br /> \
...
...
@@ -1859,7 +1860,7 @@ class FormApprover extends Component {
<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>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>Terimakasih</p> \
<p>Regards,</p> \
<p>Admin</p><br /> \
...
...
@@ -1057,7 +1057,7 @@ class FormCreate extends Component {
<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>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 /> \
...
...
@@ -269,11 +270,11 @@ class FormPublish extends Component {
}
//Send Email Notification After UnPublish
letpostdataEmailAfterUnpublish={
"subject":"Dokumen "+this.state.businessUnit+"-"+this.state.documentType+"-"+this.state.revisionCode+"-"+this.state.subject+" Sudah Diunpublish",
"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>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 /> \
...
...
@@ -297,7 +298,7 @@ class FormPublish extends Component {
@@ -623,11 +624,11 @@ class FormRevision extends Component {
}
//Send Email Notification After Reviewed
letpostdataEmailAfterUnpublish={
"subject":"Dokumen "+this.state.businessUnit+"-"+this.state.documentType+"-"+this.state.revisionCode+"-"+this.state.subject+" Sudah Direview",
"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>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 /> \
...
...
@@ -1152,7 +1153,7 @@ class FormRevision extends Component {