Resolve third party payer template issue.
This commit is contained in:
@@ -49,11 +49,11 @@ export function Jobd3RdPartyModal({ bodyshop, jobId }) {
|
||||
|
||||
GenerateDocument(
|
||||
{
|
||||
name: TemplateList("job_special").thirdpartypayer.key,
|
||||
name: TemplateList("job_special").special_thirdpartypayer.key,
|
||||
variables: { id: jobId },
|
||||
context: restVals,
|
||||
},
|
||||
{ subject: TemplateList("job_special").thirdpartypayer.subject },
|
||||
{ subject: TemplateList("job_special").special_thirdpartypayer.subject },
|
||||
sendtype
|
||||
);
|
||||
};
|
||||
|
||||
@@ -24,6 +24,7 @@ export default async function RenderTemplate(
|
||||
let { contextData, useShopSpecificTemplate } = await fetchContextData(
|
||||
templateObject
|
||||
);
|
||||
console.log(templateObject.name)
|
||||
const { ignoreCustomMargins } = Templates[templateObject.name];
|
||||
|
||||
let reportRequest = {
|
||||
|
||||
@@ -476,7 +476,7 @@ export const TemplateList = (type, context) => {
|
||||
: {}),
|
||||
...(!type || type === "job_special"
|
||||
? {
|
||||
thirdpartypayer: {
|
||||
special_thirdpartypayer: {
|
||||
title: i18n.t("printcenter.jobs.thirdpartypayer"),
|
||||
description: "CSI invite",
|
||||
key: "special_thirdpartypayer",
|
||||
|
||||
Reference in New Issue
Block a user