Updated keys for templates.
This commit is contained in:
@@ -12,7 +12,7 @@ To Start Hasura CLI:
|
|||||||
npx hasura console --admin-secret Dev-BodyShopAppBySnaptSoftware!
|
npx hasura console --admin-secret Dev-BodyShopAppBySnaptSoftware!
|
||||||
|
|
||||||
Migrating to Staging:
|
Migrating to Staging:
|
||||||
npx hasura migrate apply --up 10 --endpoint https://db.imex.online/ --admin-secret Production-ImEXOnlineBySnaptSoftware!
|
npx hasura migrate apply --up 10 --endpoint https://db.imex.online/ --admin-secret Production-ImEXOnline!@#
|
||||||
|
|
||||||
NGROK TEsting:
|
NGROK TEsting:
|
||||||
|
|
||||||
|
|||||||
@@ -48,7 +48,9 @@ export function AllJobs({ setBreadcrumbs, setSelectedHeader }) {
|
|||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
document.title = t("titles.jobs-all");
|
document.title = t("titles.jobs-all");
|
||||||
setSelectedHeader("alljobs");
|
setSelectedHeader("alljobs");
|
||||||
setBreadcrumbs([{ link: "/manage/jobs", label: t("titles.bc.jobs-all") }]);
|
setBreadcrumbs([
|
||||||
|
{ link: "/manage/jobs/all", label: t("titles.bc.jobs-all") },
|
||||||
|
]);
|
||||||
}, [t, setBreadcrumbs, setSelectedHeader]);
|
}, [t, setBreadcrumbs, setSelectedHeader]);
|
||||||
|
|
||||||
if (error) return <AlertComponent message={error.message} type="error" />;
|
if (error) return <AlertComponent message={error.message} type="error" />;
|
||||||
|
|||||||
@@ -21,5 +21,17 @@ export const TemplateList = (type, object) => {
|
|||||||
drivingId: "job",
|
drivingId: "job",
|
||||||
key: "estimate_detail",
|
key: "estimate_detail",
|
||||||
},
|
},
|
||||||
|
parts_order_confirmation: {
|
||||||
|
title: i18n.t("printcenter.jobs.parts_order_confirmation"),
|
||||||
|
description: "Parts Order",
|
||||||
|
drivingId: "job",
|
||||||
|
key: "parts_order_confirmation",
|
||||||
|
},
|
||||||
|
parts_return_confirmation: {
|
||||||
|
title: i18n.t("printcenter.jobs.parts_return_confirmation"),
|
||||||
|
description: "Parts Return",
|
||||||
|
drivingId: "job",
|
||||||
|
key: "parts_return_confirmation",
|
||||||
|
},
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user