Template list additoins.
This commit is contained in:
@@ -169,6 +169,15 @@ export const TemplateList = (type, context) => {
|
||||
key: "invoice_customer_payable",
|
||||
disabled: false,
|
||||
},
|
||||
parts_order_history: {
|
||||
title: i18n.t("printcenter.jobs.parts_order_history"),
|
||||
description: "All Jobs Notes",
|
||||
subject: `${i18n.t("printcenter.jobs.parts_order_history")} - ${
|
||||
context && context.job && context.job.ro_number
|
||||
}`,
|
||||
key: "parts_order_history",
|
||||
disabled: false,
|
||||
},
|
||||
}
|
||||
: {}),
|
||||
...(!type || type === "job_special"
|
||||
@@ -212,10 +221,10 @@ export const TemplateList = (type, context) => {
|
||||
}`,
|
||||
disabled: false,
|
||||
},
|
||||
parts_return_confirmation: {
|
||||
title: i18n.t("printcenter.jobs.parts_return_confirmation"),
|
||||
parts_return_slip: {
|
||||
title: i18n.t("printcenter.jobs.parts_return_slip"),
|
||||
description: "Parts Return",
|
||||
key: "parts_return_confirmation",
|
||||
key: "parts_return_slip",
|
||||
disabled: false,
|
||||
},
|
||||
}
|
||||
@@ -251,6 +260,46 @@ export const TemplateList = (type, context) => {
|
||||
key: "payments_by_date_type",
|
||||
disabled: false,
|
||||
},
|
||||
purchases_by_date_range_detail: {
|
||||
title: i18n.t(
|
||||
"reportcenter.templates.purchases_by_date_range_detail"
|
||||
),
|
||||
description: "Est Detail",
|
||||
subject: `${i18n.t(
|
||||
"reportcenter.templates.purchases_by_date_range_detail"
|
||||
)} - ${context && context.job && context.job.ro_number}`,
|
||||
key: "purchases_by_date_range_detail",
|
||||
disabled: false,
|
||||
},
|
||||
purchases_by_date_range_summary: {
|
||||
title: i18n.t(
|
||||
"reportcenter.templates.purchases_by_date_range_summary"
|
||||
),
|
||||
description: "Est Detail",
|
||||
subject: `${i18n.t(
|
||||
"reportcenter.templates.purchases_by_date_range_summary"
|
||||
)} - ${context && context.job && context.job.ro_number}`,
|
||||
key: "purchases_by_date_range_summary",
|
||||
disabled: false,
|
||||
},
|
||||
schedule: {
|
||||
title: i18n.t("reportcenter.templates.schedule"),
|
||||
description: "Est Detail",
|
||||
subject: `${i18n.t("reportcenter.templates.schedule")} - ${
|
||||
context && context.job && context.job.ro_number
|
||||
}`,
|
||||
key: "schedule",
|
||||
disabled: false,
|
||||
},
|
||||
timetickets: {
|
||||
title: i18n.t("printcenter.timetickets.timetickets"),
|
||||
description: "Est Detail",
|
||||
subject: `${i18n.t("printcenter.timetickets.timetickets")} - ${
|
||||
context && context.job && context.job.ro_number
|
||||
}`,
|
||||
key: "timetickets",
|
||||
disabled: false,
|
||||
},
|
||||
}
|
||||
: {}),
|
||||
...(!type || type === "courtesycarcontract"
|
||||
@@ -277,5 +326,53 @@ export const TemplateList = (type, context) => {
|
||||
},
|
||||
}
|
||||
: {}),
|
||||
...(!type || type === "bill"
|
||||
? {
|
||||
inhouse_invoice: {
|
||||
title: i18n.t("printcenter.bills.inhouse_invoice"),
|
||||
description: "Est Detail",
|
||||
subject: `${i18n.t("printcenter.bills.inhouse_invoice")} - ${
|
||||
context && context.job && context.job.ro_number
|
||||
}`,
|
||||
key: "inhouse_invoice",
|
||||
disabled: false,
|
||||
},
|
||||
}
|
||||
: {}),
|
||||
...(!type || type === "timeticket"
|
||||
? {
|
||||
// timetickets: {
|
||||
// title: i18n.t("printcenter.timetickets.timetickets"),
|
||||
// description: "Est Detail",
|
||||
// subject: `${i18n.t("printcenter.timetickets.timetickets")} - ${
|
||||
// context && context.job && context.job.ro_number
|
||||
// }`,
|
||||
// key: "timetickets",
|
||||
// disabled: false,
|
||||
// },
|
||||
}
|
||||
: {}),
|
||||
...(!type || type === "vendor"
|
||||
? {
|
||||
purchases_by_vendor_detailed: {
|
||||
title: i18n.t("printcenter.vendors.purchases_by_vendor_detailed"),
|
||||
description: "Est Detail",
|
||||
subject: `${i18n.t(
|
||||
"printcenter.vendors.purchases_by_vendor_detailed"
|
||||
)} - ${context && context.job && context.job.ro_number}`,
|
||||
key: "purchases_by_vendor_detailed",
|
||||
disabled: false,
|
||||
},
|
||||
purchases_by_vendor_summary: {
|
||||
title: i18n.t("printcenter.vendors.purchases_by_vendor_summary"),
|
||||
description: "Est Detail",
|
||||
subject: `${i18n.t(
|
||||
"printcenter.vendors.purchases_by_vendor_summary"
|
||||
)} - ${context && context.job && context.job.ro_number}`,
|
||||
key: "purchases_by_vendor_summary",
|
||||
disabled: false,
|
||||
},
|
||||
}
|
||||
: {}),
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user