Added additioanl CSS Styles and templates.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
body {
|
body {
|
||||||
/* font-family: "Open Sans", sans-serif; */
|
font-family: "Open Sans", sans-serif;
|
||||||
/* line-height: 1.25; */
|
line-height: 1.25;
|
||||||
/* padding: 10mm 10mm 10mm 10mm !important; */
|
padding: 10mm 10mm 10mm 10mm !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
@page {
|
@page {
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ export function ShopTemplateAddComponent({
|
|||||||
const [insertTemplate] = useMutation(INSERT_TEMPLATE);
|
const [insertTemplate] = useMutation(INSERT_TEMPLATE);
|
||||||
|
|
||||||
const shopTemplateKeys = shopTemplateList.map((template) => template.name);
|
const shopTemplateKeys = shopTemplateList.map((template) => template.name);
|
||||||
const availableTemplateKeys = Object.keys(TemplateList).filter(
|
const availableTemplateKeys = Object.keys(TemplateList()).filter(
|
||||||
(tkey) => !shopTemplateKeys.includes(tkey)
|
(tkey) => !shopTemplateKeys.includes(tkey)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -20,6 +20,37 @@ export const TemplateList = (type, object) => {
|
|||||||
drivingId: "job",
|
drivingId: "job",
|
||||||
key: "all_job_notes",
|
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
|
//Non Completed Items
|
||||||
appointment_reminder: {
|
appointment_reminder: {
|
||||||
@@ -73,11 +104,5 @@ export const TemplateList = (type, object) => {
|
|||||||
drivingId: "payment",
|
drivingId: "payment",
|
||||||
key: "payment_receipt",
|
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",
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user