Introduced JS report and refactored some doc generation. IO-585

This commit is contained in:
Patrick Fic
2021-01-06 17:56:46 -08:00
parent 1c967ece2e
commit 2d260dceb8
33 changed files with 311 additions and 676 deletions

View File

@@ -14,97 +14,5 @@ export const TemplateList = (type, object) => {
drivingId: "job",
key: "estimate_detail",
},
all_job_notes: {
title: i18n.t("printcenter.jobs.all_job_notes"),
description: "All jobs Notes including Private",
drivingId: "job",
key: "all_job_notes",
},
fippa_authorization: {
title: i18n.t("printcenter.jobs.fippa_authorization"),
description: "FIPPA Work Auth",
drivingId: "job",
key: "fippa_authorization",
},
casl_authorization: {
title: i18n.t("printcenter.jobs.casl_authorization"),
description: "CASL Auth",
drivingId: "job",
key: "casl_authorization",
},
window_tag: {
title: i18n.t("printcenter.jobs.window_tag"),
description: "Window Tag",
drivingId: "job",
key: "window_tag",
},
cover_sheet: {
title: i18n.t("printcenter.jobs.cover_sheet"),
description: "Cover Sheet",
drivingId: "job",
key: "cover_sheet",
},
time_tickets_by_employee: {
title: "Time Tickets by Employee",
description: "Time tickets for employee with date range",
drivingId: "employee",
key: "time_tickets_by_employee",
},
//Non Completed Items
appointment_reminder: {
title: "Appointment Reminder",
description:
"Sent to a customer as a reminder of an upcoming appointment.",
drivingId: "appointment",
key: "appointment_reminder",
subject: `Appointment Reminder`,
},
appointment_confirmation: {
title: "Appointment Confirmation",
description:
"Sent to a customer as a Confirmation of an upcoming appointment.",
drivingId: "appointment",
key: "appointment_confirmation",
},
parts_order_confirmation: {
title: "Parts Order Confirmation",
description: "Parts order template including part details",
drivingId: "partsorder",
key: "parts_order_confirmation",
subject: `Parts Order for ${object}`,
},
cover_sheet_landscape: {
title: "Cover Sheet - Landscape",
description: "Cover sheet landscape",
drivingId: "job",
key: "cover_sheet_landscape",
},
cover_sheet_portrait: {
title: "Cover Sheet - portrait",
description: "Cover sheet portrait",
drivingId: "job",
key: "cover_sheet_portrait",
},
parts_return_confirmation: {
title: "Parts Return Confirmation",
description: "Parts Return template including part details",
drivingId: "partsorder",
key: "parts_return_confirmation",
},
csi_invitation: {
title: "Customer Survey Invitation",
description: "Customer Survey Invitation",
drivingId: "csi",
key: "csi_invitation",
},
payment_receipt: {
title: "Payment Receipt",
description: "Receipt of payment for customer",
drivingId: "payment",
key: "payment_receipt",
},
};
};