diff --git a/client/public/render-styles.css b/client/public/render-styles.css index f4232a02a..fbaa9e27f 100644 --- a/client/public/render-styles.css +++ b/client/public/render-styles.css @@ -1,7 +1,7 @@ body { - /* font-family: "Open Sans", sans-serif; */ - /* line-height: 1.25; */ - /* padding: 10mm 10mm 10mm 10mm !important; */ + font-family: "Open Sans", sans-serif; + line-height: 1.25; + padding: 10mm 10mm 10mm 10mm !important; } @page { diff --git a/client/src/components/shop-template-add/shop-template-add.component.jsx b/client/src/components/shop-template-add/shop-template-add.component.jsx index d4cca873f..d8d021a00 100644 --- a/client/src/components/shop-template-add/shop-template-add.component.jsx +++ b/client/src/components/shop-template-add/shop-template-add.component.jsx @@ -34,7 +34,7 @@ export function ShopTemplateAddComponent({ const [insertTemplate] = useMutation(INSERT_TEMPLATE); const shopTemplateKeys = shopTemplateList.map((template) => template.name); - const availableTemplateKeys = Object.keys(TemplateList).filter( + const availableTemplateKeys = Object.keys(TemplateList()).filter( (tkey) => !shopTemplateKeys.includes(tkey) ); diff --git a/client/src/utils/TemplateConstants.js b/client/src/utils/TemplateConstants.js index f9a6b66eb..e637c27b4 100644 --- a/client/src/utils/TemplateConstants.js +++ b/client/src/utils/TemplateConstants.js @@ -20,6 +20,37 @@ export const TemplateList = (type, object) => { 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: { @@ -73,11 +104,5 @@ export const TemplateList = (type, object) => { drivingId: "payment", key: "payment_receipt", }, - time_tickets_by_employee: { - title: "Time Tickets by Employee", - description: "Time tickets for employee with date range", - drivingId: "employee", - key: "time_tickets_by_employee", - }, }; };