Added working days to scheduling IO-153
This commit is contained in:
@@ -16,7 +16,7 @@ export const TemplateList = (type, context) => {
|
||||
title: i18n.t("printcenter.jobs.estimate_detail"),
|
||||
description: "Est Detail",
|
||||
subject: `${i18n.t("printcenter.jobs.estimate_detail")} - ${
|
||||
context.job.ro_number
|
||||
context && context.job && context.job.ro_number
|
||||
}`,
|
||||
key: "estimate_detail",
|
||||
disabled: false,
|
||||
@@ -25,7 +25,7 @@ export const TemplateList = (type, context) => {
|
||||
title: i18n.t("printcenter.jobs.casl_authorization"),
|
||||
description: "CASL Authorization",
|
||||
subject: `${i18n.t("printcenter.jobs.casl_authorization")} - ${
|
||||
context.job.ro_number
|
||||
context && context.job && context.job.ro_number
|
||||
}`,
|
||||
key: "casl_authorization",
|
||||
disabled: false,
|
||||
@@ -35,7 +35,7 @@ export const TemplateList = (type, context) => {
|
||||
description: "Diagnostic Authorization",
|
||||
subject: `${i18n.t(
|
||||
"printcenter.jobs.diagnostic_authorization"
|
||||
)} - ${context.job.ro_number}`,
|
||||
)} - ${context && context.job && context.job.ro_number}`,
|
||||
key: "diagnostic_authorization",
|
||||
disabled: false,
|
||||
},
|
||||
@@ -43,7 +43,7 @@ export const TemplateList = (type, context) => {
|
||||
title: i18n.t("printcenter.jobs.job_notes"),
|
||||
description: "All Jobs Notes",
|
||||
subject: `${i18n.t("printcenter.jobs.job_notes")} - ${
|
||||
context.job.ro_number
|
||||
context && context.job && context.job.ro_number
|
||||
}`,
|
||||
key: "job_notes",
|
||||
disabled: false,
|
||||
@@ -57,7 +57,7 @@ export const TemplateList = (type, context) => {
|
||||
description: "Appointment Confirmation",
|
||||
subject: `${i18n.t(
|
||||
"printcenter.appointments.appointment_confirmation"
|
||||
)} - ${context.job.ro_number}`,
|
||||
)} - ${context && context.job && context.job.ro_number}`,
|
||||
key: "appointment_confirmation",
|
||||
disabled: false,
|
||||
},
|
||||
@@ -70,7 +70,14 @@ export const TemplateList = (type, context) => {
|
||||
description: "Parts Order",
|
||||
key: "parts_order_confirmation",
|
||||
subject: `${bodyshop.shopname} Parts Order ${
|
||||
(context && context.job && context.job.ro_number) || ""
|
||||
(context &&
|
||||
context &&
|
||||
context.job &&
|
||||
context.job &&
|
||||
context &&
|
||||
context.job &&
|
||||
context.job.ro_number) ||
|
||||
""
|
||||
}`,
|
||||
disabled: false,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user