Added additioanl CSS Styles and templates.

This commit is contained in:
Patrick Fic
2020-09-14 10:01:48 -07:00
parent f7e74c5043
commit e3f108c567
3 changed files with 35 additions and 10 deletions

View File

@@ -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 {

View File

@@ -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)
);

View File

@@ -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",
},
};
};