Template additions.

This commit is contained in:
Patrick Fic
2021-04-15 14:22:24 -07:00
parent 42a1d3a9a7
commit 41bc4f00dc
5 changed files with 336 additions and 15 deletions

View File

@@ -221,7 +221,14 @@ export const TemplateList = (type, context) => {
disabled: false,
group: "financial",
},
job_costing_ro: {
title: i18n.t("printcenter.jobs.job_costing_ro"),
description: "All Jobs Notes",
subject: i18n.t("printcenter.jobs.job_costing_ro"),
key: "job_costing_ro",
disabled: false,
group: "financial",
},
filing_coversheet_portrait: {
title: i18n.t("printcenter.jobs.filing_coversheet_portrait"),
description: "All Jobs Notes",
@@ -256,6 +263,14 @@ export const TemplateList = (type, context) => {
disabled: false,
group: "post",
},
csi_invitation: {
title: i18n.t("printcenter.jobs.csi_invitation"),
description: "CSI invite",
key: "csi_invitation",
subject: i18n.t("printcenter.jobs.csi_invitation"),
disabled: false,
group: "post",
},
}
: {}),
...(!type || type === "job_special"
@@ -310,17 +325,7 @@ export const TemplateList = (type, context) => {
},
}
: {}),
...(!type || type === "csi"
? {
csi_invitation: {
title: i18n.t("printcenter.jobs.csi_invitation"),
description: "CSI invite",
key: "csi_invitation",
subject: i18n.t("printcenter.jobs.csi_invitation"),
disabled: false,
},
}
: {}),
...(!type || type === "csi" ? {} : {}),
...(!type || type === "report_center"
? {
payments_by_date_type: {
@@ -537,6 +542,82 @@ export const TemplateList = (type, context) => {
//idtype: "vendor",
disabled: false,
},
job_costing_ro_date_summary: {
title: i18n.t("reportcenter.templates.job_costing_ro_date_summary"),
description: "",
subject: i18n.t(
"reportcenter.templates.job_costing_ro_date_summary"
),
key: "job_costing_ro_date_summary",
//idtype: "vendor",
disabled: false,
},
job_costing_ro_source: {
title: i18n.t("reportcenter.templates.job_costing_ro_source"),
description: "",
subject: i18n.t("reportcenter.templates.job_costing_ro_source"),
key: "job_costing_ro_source",
//idtype: "vendor",
disabled: false,
},
job_costing_ro_date_detail: {
title: i18n.t("reportcenter.templates.job_costing_ro_date_detail"),
description: "",
subject: i18n.t(
"reportcenter.templates.job_costing_ro_date_detail"
),
key: "job_costing_ro_date_detail",
//idtype: "vendor",
disabled: false,
},
job_costing_estimator: {
title: i18n.t("reportcenter.templates.job_costing_estimator"),
description: "",
subject: i18n.t("reportcenter.templates.job_costing_estimator"),
key: "job_costing_estimator",
//idtype: "vendor",
disabled: false,
},
void_ros: {
title: i18n.t("reportcenter.templates.void_ros"),
description: "",
subject: i18n.t("reportcenter.templates.void_ros"),
key: "void_ros",
//idtype: "vendor",
disabled: false,
},
gsr_by_make: {
title: i18n.t("reportcenter.templates.gsr_by_make"),
description: "",
subject: i18n.t("reportcenter.templates.gsr_by_make"),
key: "gsr_by_make",
//idtype: "vendor",
disabled: false,
},
gsr_by_estimator: {
title: i18n.t("reportcenter.templates.gsr_by_estimator"),
description: "",
subject: i18n.t("reportcenter.templates.gsr_by_estimator"),
key: "gsr_by_estimator",
//idtype: "vendor",
disabled: false,
},
gsr_labor_only: {
title: i18n.t("reportcenter.templates.gsr_labor_only"),
description: "",
subject: i18n.t("reportcenter.templates.gsr_labor_only"),
key: "gsr_labor_only",
//idtype: "vendor",
disabled: false,
},
open_orders: {
title: i18n.t("reportcenter.templates.open_orders"),
description: "",
subject: i18n.t("reportcenter.templates.open_orders"),
key: "open_orders",
//idtype: "vendor",
disabled: false,
},
}
: {}),
...(!type || type === "courtesycarcontract"