Added completed templates to template constants.
This commit is contained in:
@@ -15,9 +15,39 @@ export const TemplateList = (type, context) => {
|
||||
estimate_detail: {
|
||||
title: i18n.t("printcenter.jobs.estimate_detail"),
|
||||
description: "Est Detail",
|
||||
subject: `${i18n.t("printcenter.jobs.estimate_detail")} - ${
|
||||
context.job.ro_number
|
||||
}`,
|
||||
key: "estimate_detail",
|
||||
disabled: false,
|
||||
},
|
||||
casl_authorization: {
|
||||
title: i18n.t("printcenter.jobs.casl_authorization"),
|
||||
description: "CASL Authorization",
|
||||
subject: `${i18n.t("printcenter.jobs.casl_authorization")} - ${
|
||||
context.job.ro_number
|
||||
}`,
|
||||
key: "casl_authorization",
|
||||
disabled: false,
|
||||
},
|
||||
diagnostic_authorization: {
|
||||
title: i18n.t("printcenter.jobs.diagnostic_authorization"),
|
||||
description: "Diagnostic Authorization",
|
||||
subject: `${i18n.t(
|
||||
"printcenter.jobs.diagnostic_authorization"
|
||||
)} - ${context.job.ro_number}`,
|
||||
key: "diagnostic_authorization",
|
||||
disabled: false,
|
||||
},
|
||||
job_notes: {
|
||||
title: i18n.t("printcenter.jobs.job_notes"),
|
||||
description: "All Jobs Notes",
|
||||
subject: `${i18n.t("printcenter.jobs.job_notes")} - ${
|
||||
context.job.ro_number
|
||||
}`,
|
||||
key: "job_notes",
|
||||
disabled: false,
|
||||
},
|
||||
}
|
||||
: {}),
|
||||
...(!type || type === "appointment"
|
||||
@@ -25,8 +55,10 @@ export const TemplateList = (type, context) => {
|
||||
appointment_confirmation: {
|
||||
title: i18n.t("printcenter.appointments.appointment_confirmation"),
|
||||
description: "Appointment Confirmation",
|
||||
subject: `${i18n.t(
|
||||
"printcenter.appointments.appointment_confirmation"
|
||||
)} - ${context.job.ro_number}`,
|
||||
key: "appointment_confirmation",
|
||||
subject: "Appointment Confirmation",
|
||||
disabled: false,
|
||||
},
|
||||
}
|
||||
@@ -52,10 +84,10 @@ export const TemplateList = (type, context) => {
|
||||
: {}),
|
||||
...(!type || type === "payment"
|
||||
? {
|
||||
payment_confirmation: {
|
||||
title: i18n.t("printcenter.jobs.payment_confirmation"),
|
||||
description: "Est Detail",
|
||||
key: "payment_confirmation",
|
||||
payment_receipt: {
|
||||
title: i18n.t("printcenter.jobs.payment_receipt"),
|
||||
description: "Payment Receipt",
|
||||
key: "payment_receipt",
|
||||
disabled: false,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user