@@ -212,6 +213,7 @@
+
+
+
+
+
+
+
diff --git a/client/src/components/email.vue b/client/src/components/email.vue
index fc12479..1f3e0c7 100644
--- a/client/src/components/email.vue
+++ b/client/src/components/email.vue
@@ -91,7 +91,7 @@ import schemaModel from '@/api/schema'
`
}
- this.tinyMCEcontent = this.sendDataEmail + this.btn
+ this.tinyMCEcontent = this.sendDataEmail.replace(/{{NextTargetButton}}/g, this.btn)
if (this.flag == false) {
let response = await schemaModel.get(this.emailSchemaId).catch(error => {
console.log(error)
@@ -256,21 +256,15 @@ import schemaModel from '@/api/schema'
let htmlContent;
if(this.GetHtmlOfEditor === ''){
htmlContent = this.sendDataEmail
+ htmlContent = this.sendDataEmail.replace(/{{NextTargetButton}}/g, this.btn)
} else {
htmlContent = this.GetHtmlOfEditor
}
-
if (this.flag == true) {
this.emailForm.html = `
Email Proof
-
` + htmlContent +`
-
Customer Proof:
- ${this.btn}
- Comment: ${this.emailForm.Comment}
- While we strongly you to take advantage of this time saving option,
- your proof may still be fixed back to company name at: Toll Free Fax: 800-238-0082
- Local Fax: 716-773-2332 `
+
Comment: ${this.emailForm.Comment}