mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-10-07 16:19:01 +00:00
24 lines
954 B
TypeScript
24 lines
954 B
TypeScript
|
|
/** Filled in on every generated document; shown read-only so authors don't retype them. */
|
||
|
|
export const AUTO_POPULATED_FIELDS = ["WO#", "Site Code", "Address", "Service Type"] as const;
|
||
|
|
|
||
|
|
export const COMPLETION_TEMPLATE_COPY = {
|
||
|
|
pageTitle: "Completion Docs",
|
||
|
|
searchPlaceholder: "Search document title…",
|
||
|
|
addTemplate: "Add Template",
|
||
|
|
saveChanges: "Save changes",
|
||
|
|
titleRequired: "Document Title is required",
|
||
|
|
noProcedureDetail: "No procedure defined yet",
|
||
|
|
noProcedurePreview: "No procedure added yet.",
|
||
|
|
untitledDocument: "UNTITLED COMPLETION DOCUMENT",
|
||
|
|
autoFilledSuffix: "— auto-filled per work order",
|
||
|
|
emptySearchTitle: "No templates found",
|
||
|
|
emptySearchHint: "Try a different search, or add a new template.",
|
||
|
|
added: "Template added",
|
||
|
|
updated: "Template updated",
|
||
|
|
deleted: "Template deleted",
|
||
|
|
} as const;
|
||
|
|
|
||
|
|
export function templateCountLabel(count: number): string {
|
||
|
|
return `${count} template${count === 1 ? "" : "s"}`;
|
||
|
|
}
|