diff --git a/client/src/utils/RenderTemplate.js b/client/src/utils/RenderTemplate.js index 6c5bbba31..5584b3aa4 100644 --- a/client/src/utils/RenderTemplate.js +++ b/client/src/utils/RenderTemplate.js @@ -256,8 +256,7 @@ export const GenerateDocument = async ( } else if (sendType === "x") { console.log("excel"); await RenderTemplate(template, bodyshop, false, true); - } else if (sendType === "x") { - console.log("text"); + } else if (sendType === "text") { await RenderTemplate(template, bodyshop, false, false, true); } else { await RenderTemplate(template, bodyshop);