Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

feat: external training as name-only assignments; written or PDF content

aashu1f0ec5240613
diff --git a/.ai/specs/2026-10-14-training-pdf-guides-and-external-certificates.md b/.ai/specs/2026-10-14-training-pdf-guides-and-external-certificates.md
index 875e72a2b4..f546c37019 100644
--- a/.ai/specs/2026-10-14-training-pdf-guides-and-external-certificates.md
+++ b/.ai/specs/2026-10-14-training-pdf-guides-and-external-certificates.md
@@ -44,7 +44,7 @@ Today a completion row stores only the employee, the assignment, the time and th
3. The employee wizard (`share+/training.$id.tsx`, `ContentStep`) shows the same viewer above the typed content.
4. The author can replace or remove the PDF while the training is Draft.
-### Part 2 — External training
+### Part 2 — External training (superseded by Part 4)
1. The author turns on **External** in the training properties panel.
2. For an External training, the employee wizard shows the reading step, then a certificate upload step. It shows no questions.
@@ -97,6 +97,40 @@ Heuristics checklist:
4. For an External training, the questions explorer explains why there is no quiz.
5. The shared editor loads the Color and Highlight extensions, so the color menu works in every editor.
+### Part 4 — External assignments (replaces Part 2)
+
+Product feedback after the first build: an external training happens in an outside system. Carbon has no content for it and must not send employees a link or a notification. An admin records who completed it.
+
+1. **No training for an external one.** The **New Assignment** form asks for **Internal** or **External**.
+ - Internal: pick a training, as today.
+ - External: type a **Name** (for example "Forklift license"). There is no training, no content and no frequency.
+2. **One-time.** An external assignment has no period. Each member is **"Pending"** until an admin marks them complete, then **"Completed"**. It is never **"Overdue"**.
+3. **Admin only.**
+ - Carbon sends no assignment notification and no weekly reminder for an external assignment.
+ - It does not appear in the employee's outstanding-trainings list.
+ - The employee completion page answers 404 for it.
+4. **Certificate optional.** On the assignment roster, **Mark Complete** opens a dialog with an optional certificate upload (PDF, PNG, JPG; HEIC converted to JPEG). The admin can complete without a file.
+5. **Remove the employee certificate flow.** The **External Certification** switch on a training, `training.isExternal`, the employee certificate step and its action are removed.
+6. **Content is either/or.** An internal training has written content **or** an uploaded PDF, not both. The Content card has a two-way switch, **Write** | **Upload PDF**. A training with a guide is a PDF training; the employee page shows only the chosen one. Choosing **Write** on a PDF training removes the PDF after a confirmation.
+7. **List and roster keyed by assignment.** The assignments list shows one row per assignment, with an **External** badge on external rows. The roster drawer opens by assignment id, not training id.
+
+Data model for Part 4:
+
+```sql
+ALTER TABLE "trainingAssignment"
+ ALTER COLUMN "trainingId" DROP NOT NULL,
+ ADD COLUMN "name" TEXT,
+ ADD CONSTRAINT "trainingAssignment_training_or_name"
+ CHECK (num_nonnulls("trainingId", "name") = 1);
+
+ALTER TABLE "training" DROP COLUMN "isExternal";
+```
+
+`get_training_assignment_status` and `get_training_assignment_summary` are dropped and recreated:
+- The status function left-joins `training`. It returns `COALESCE(t.name, ta.name)` as the name, `'Once'` as the frequency of an external row, and a new `isExternal` column. It keeps a row when its training is Active or when it has no training.
+- The summary groups by assignment and returns `trainingAssignmentId` and `isExternal`.
+- `recordTrainingCompletion` takes the assignment's training or, for an external assignment, treats it as Active and one-time. It validates a certificate only when one is posted.
+
## Data Model Changes
```sql
@@ -186,3 +220,4 @@ Every new string uses Lingui (`useLingui().t` or `<Trans>`).
- 2026-10-14: Certificate paths come from a new service, not from the status RPC. Removing a completion keeps the ability.
- 2026-10-14: Implemented. The server builds the certificate key. The employee wizard takes PDF, PNG and JPG; the manager modal also takes HEIC. Removing a completion needs `delete: resources`.
- 2026-10-14: Page layout (Part 3). Every completion goes through `recordTrainingCompletion`: it refuses a training that is not Active, works out the period on the server and removes an orphaned certificate. `isExternal` changes only while Draft. Guide keys are `{uploadId}/{file name}`.
+- 2026-10-14: Part 4. External trainings become name-only assignments that only an admin completes, with an optional certificate. Content is written or a PDF, not both.
diff --git a/apps/erp/app/modules/people/ui/Person/PersonTrainings.tsx b/apps/erp/app/modules/people/ui/Person/PersonTrainings.tsx
index d2a6a6dcfc..481f924c1a 100644
--- a/apps/erp/app/modules/people/ui/Person/PersonTrainings.tsx
+++ b/apps/erp/app/modules/people/ui/Person/PersonTrainings.tsx
@@ -81,7 +81,9 @@ const PersonTrainings = ({
<HStack spacing={2}>
<Link
className="font-medium"
- to={path.to.trainingAssignmentDetail(training.trainingId)}
+ to={path.to.trainingAssignmentDetail(
+ training.trainingAssignmentId
+ )}
>
{training.trainingName}
</Link>
diff --git a/apps/erp/app/modules/resources/AGENTS.md b/apps/erp/app/modules/resources/AGENTS.md
index 317e90039e..3665b06df0 100644
--- a/apps/erp/app/modules/resources/AGENTS.md
+++ b/apps/erp/app/modules/resources/AGENTS.md
@@ -13,7 +13,7 @@ Locations, work centers, processes, abilities (skills), partners, contractors, e
- **Maintenance Dispatch** — reactive or scheduled work order for equipment. Statuses: Open → Assigned → In Progress → Completed / Cancelled. Tracks time events, consumed parts, and affected work centers.
- **Maintenance Schedule** — preventive maintenance plan with frequency, priority, estimated duration, and required spare parts. `takesWorkCenterOffline` marks the PM as blocking the machine; the nightly generator (`packages/jobs/.../scheduled/dispatch.ts`) copies it onto each generated dispatch and sets `plannedEndTime = plannedStartTime + estimatedDuration` (so the offline window is bounded — the validator requires a duration when offline is on).
- **Failure Mode** — categorized failure type used by maintenance dispatches and quality NCRs.
-- **Training** — training programs with assignments, quiz questions, and frequency-based recertification. Completion tracked via `trainingCompletion`. **Status changes only from the header** (`TrainingHeader`): Draft shows Publish, Active shows Archive, and Reopen (back to Draft) is in the ⋯ menu — each through a `Confirm` posting `field=status` to `x+/training+/update.tsx`; Properties has no Status field. The name is edited in Properties (the content editor has no title block). The center pane is a card stack: **PDF Guide** (`TrainingGuide`) then **Content** (card-contained `Editor` with a flush toolbar). A training can carry one PDF guide (`training.guidePath`, key `{companyId}/training/{trainingId}/{uploadId}/{file name}`, checked by `isValidTrainingGuideKey`). An **External** training (`training.isExternal`) has no quiz: the questions explorer explains that instead of listing questions. `guidePath` and `isExternal` change only while Draft (`refuseUnlessDraft` in `update.tsx`). Every completion — the employee's quiz and certificate upload (`share/training.$id`) and a manager's Mark Complete (`assignments.complete`) — goes through `recordTrainingCompletion` (`resources.server.ts`): it refuses a training that is not Active, uploads and requires the certificate of an External training (`validateTrainingCertificate`: PDF/PNG/JPG, 10 MB; key `{companyId}/training-certificates/{assignmentId}/{employeeId}/…` built on the server), works out the period on the server, removes the uploaded file when the insert fails, treats a duplicate completion as already recorded, and restamps the scheduler for a granted ability. `assignments.uncomplete` (`delete: resources`) removes a wrong completion; the granted ability stays (the grant trigger only adds). The assignment status RPC does not return the certificate: read it with `getTrainingCertificatePaths` (one `.in()` query).
+- **Training** — training programs with assignments, quiz questions, and frequency-based recertification. Completion tracked via `trainingCompletion`. **Status changes only from the header** (`TrainingHeader`): Draft shows Publish, Active shows Archive, and Reopen (back to Draft) is in the ⋯ menu — each through a `Confirm` posting `field=status` to `x+/training+/update.tsx`; Properties has no Status field. The name is edited in Properties (the content editor has no title block). The **Content** card holds a **Write | Upload PDF** toggle: a training's content is written (`content`) OR one PDF (`training.guidePath`, key `{companyId}/training/{trainingId}/{uploadId}/{file name}`, checked by `isValidTrainingGuideKey`), never both — a training with a `guidePath` is a PDF training, and the employee page shows the PDF instead of the written content. Switching back to Write clears `guidePath`. `guidePath` changes only while Draft (`refuseUnlessDraft` in `update.tsx`). **External training is an assignment, not a training**: `trainingAssignment.trainingId` is nullable and an external assignment carries only `name` (CHECK `num_nonnulls("trainingId", "name") = 1`, `20261014164752_external-training-assignments.sql`). It is one-time (the status RPCs report frequency `Once`), sends no notifications or weekly reminders, and has no employee page (`share/training.$id` 404s it). The status and summary RPCs LEFT JOIN `training`, return `isExternal`, and the summary is one row per assignment; the assignments list and roster drawer (`assignments.$assignmentId.tsx`, `path.to.trainingAssignmentDetail(assignmentId)`) are keyed by assignment. Every completion — the employee's quiz (`share/training.$id`) and an admin's Mark Complete (`assignments.complete`) — goes through `recordTrainingCompletion` (`resources.server.ts`): it refuses an internal training that is not Active, uploads the OPTIONAL certificate of an external assignment (`validateTrainingCertificate`: PDF/PNG/JPG, 10 MB; key `{companyId}/training-certificates/{assignmentId}/{employeeId}/…` built on the server), works out the period on the server, removes the uploaded file when the insert fails, treats a duplicate completion as already recorded, and restamps the scheduler for a granted ability. `assignments.uncomplete` (`delete: resources`) removes a wrong completion; the granted ability stays (the grant trigger only adds). The assignment status RPC does not return the certificate: read it with `getTrainingCertificatePaths` (one `.in()` query).
## Safety
@@ -57,7 +57,7 @@ pnpm --filter @carbon/erp test -- --testPathPattern=resources
| `maintenanceDispatchWorkCenter` / `maintenanceDispatchItemTrackedEntity` | Affected work centers and tracked items |
| `maintenanceSchedule` / `maintenanceScheduleItem` | Preventive maintenance plans with spare parts; `takesWorkCenterOffline` + `estimatedDuration` flow into generated dispatches (offline flag + `plannedEndTime = plannedStartTime + estimatedDuration`) |
| `maintenanceFailureMode` | Failure categories shared with quality module |
-| `training` / `trainingAssignment` / `trainingQuestion` / `trainingCompletion` | Training programs with quizzes and completion tracking |
+| `training` / `trainingAssignment` / `trainingQuestion` / `trainingCompletion` | Training programs with quizzes and completion tracking; an external `trainingAssignment` has `name` and no `trainingId` |
| `suggestion` / `suggestions` (view) | Employee suggestions |
## Key Service Functions
diff --git a/apps/erp/app/modules/resources/resources.models.test.ts b/apps/erp/app/modules/resources/resources.models.test.ts
index d1bda91c7a..b3e28e3f85 100644
--- a/apps/erp/app/modules/resources/resources.models.test.ts
+++ b/apps/erp/app/modules/resources/resources.models.test.ts
@@ -125,3 +125,44 @@ describe("validateTrainingCertificate", async () => {
).toBe("The certificate must be 10 MB or smaller");
});
});
+
+// An external assignment has a name and no training; an internal one has a
+// training. Each must refuse the other's missing field.
+describe("trainingAssignmentValidator", async () => {
+ const { trainingAssignmentValidator } = await import("./resources.models");
+
+ it("accepts an internal assignment with a training", () => {
+ const parsed = trainingAssignmentValidator.safeParse({
+ isExternal: false,
+ trainingId: "trn_1",
+ groupIds: ["grp_1"]
+ });
+ expect(parsed.success).toBe(true);
+ });
+
+ it("refuses an internal assignment without a training", () => {
+ const parsed = trainingAssignmentValidator.safeParse({
+ isExternal: false,
+ groupIds: ["grp_1"]
+ });
+ expect(parsed.success).toBe(false);
+ });
+
+ it("accepts an external assignment with a name", () => {
+ const parsed = trainingAssignmentValidator.safeParse({
+ isExternal: true,
+ name: "Forklift Safety",
+ groupIds: ["grp_1"]
+ });
+ expect(parsed.success).toBe(true);
+ });
+
+ it("refuses an external assignment without a name", () => {
+ const parsed = trainingAssignmentValidator.safeParse({
+ isExternal: true,
+ name: " ",
+ groupIds: ["grp_1"]
+ });
+ expect(parsed.success).toBe(false);
+ });
+});
diff --git a/apps/erp/app/modules/resources/resources.models.ts b/apps/erp/app/modules/resources/resources.models.ts
index 6f867538fa..5dd30b8e8f 100644
--- a/apps/erp/app/modules/resources/resources.models.ts
+++ b/apps/erp/app/modules/resources/resources.models.ts
@@ -385,13 +385,34 @@ export const trainingAssignmentStatusOptions = [
"Not Required"
] as const;
-export const trainingAssignmentValidator = z.object({
- id: zfd.text(z.string().optional()),
- trainingId: z.string().min(1, { message: "Training is required" }),
- groupIds: z
- .array(z.string())
- .min(1, { message: "At least one group is required" })
-});
+// An internal assignment points at a training; an external one only has a
+// name, because the training happens in an outside system.
+export const trainingAssignmentValidator = z
+ .object({
+ id: zfd.text(z.string().optional()),
+ isExternal: zfd.checkbox(),
+ trainingId: zfd.text(z.string().optional()),
+ name: zfd.text(z.string().trim().optional()),
+ groupIds: z
+ .array(z.string())
+ .min(1, { message: "At least one group is required" })
+ })
+ .superRefine((value, ctx) => {
+ if (value.isExternal && !value.name) {
+ ctx.addIssue({
+ code: z.ZodIssueCode.custom,
+ path: ["name"],
+ message: "Name is required"
+ });
+ }
+ if (!value.isExternal && !value.trainingId) {
+ ctx.addIssue({
+ code: z.ZodIssueCode.custom,
+ path: ["trainingId"],
+ message: "Training is required"
+ });
+ }
+ });
export const trainingCompletionValidator = z.object({
trainingAssignmentId: z
diff --git a/apps/erp/app/modules/resources/resources.server.ts b/apps/erp/app/modules/resources/resources.server.ts
index 52a2ff1c65..b14ac99ca0 100644
--- a/apps/erp/app/modules/resources/resources.server.ts
+++ b/apps/erp/app/modules/resources/resources.server.ts
@@ -51,15 +51,18 @@ export async function postMaintenanceLabor(args: {
const trainingLogger = getLogger("erp", "training-completion");
-type TrainingForCompletion = {
- status: string;
- frequency: Database["public"]["Enums"]["trainingFrequency"];
- isExternal: boolean;
+// An external assignment (no training) is always open and one-time.
+type AssignmentForCompletion = {
+ trainingId: string | null;
+ training: {
+ status: string;
+ frequency: Database["public"]["Enums"]["trainingFrequency"];
+ } | null;
};
-// The only completion path (quiz, certificate upload, manager Mark Complete).
-// The server builds the certificate key, so a caller cannot point a completion
-// at another person's file.
+// The only completion path (quiz, manager Mark Complete). An external
+// assignment may carry a certificate; the server builds its key, so a caller
+// cannot point a completion at another person's file.
export async function recordTrainingCompletion(
client: SupabaseClient<Database>,
args: {
@@ -67,19 +70,22 @@ export async function recordTrainingCompletion(
trainingAssignmentId: string;
employeeId: string;
completedBy: string;
- training: TrainingForCompletion;
+ assignment: AssignmentForCompletion;
certificate?: FormDataEntryValue | null;
}
): Promise<{ error: null } | { error: string; status: 400 | 500 }> {
- const { companyId, trainingAssignmentId, employeeId, completedBy, training } =
- args;
+ const { companyId, trainingAssignmentId, employeeId, completedBy } = args;
+ const isExternal = args.assignment.trainingId === null;
+ const training = args.assignment.training;
- if (training.status !== "Active") {
+ if (!isExternal && training?.status !== "Active") {
return { error: "This training is not currently active", status: 400 };
}
let certificatePath: string | null = null;
- if (training.isExternal) {
+ const hasCertificate =
+ args.certificate instanceof File && args.certificate.size > 0;
+ if (isExternal && hasCertificate) {
const certificate = validateTrainingCertificate(args.certificate ?? null);
if (certificate.error !== null) {
return { error: certificate.error, status: 400 };
@@ -104,7 +110,7 @@ export async function recordTrainingCompletion(
}
const period = await client.rpc("get_current_training_period", {
- frequency: training.frequency
+ frequency: training?.frequency ?? "Once"
});
const completion = await insertTrainingCompletion(client, {
diff --git a/apps/erp/app/modules/resources/resources.service.ts b/apps/erp/app/modules/resources/resources.service.ts
index 79742b813c..b9f3becd97 100644
--- a/apps/erp/app/modules/resources/resources.service.ts
+++ b/apps/erp/app/modules/resources/resources.service.ts
@@ -752,11 +752,12 @@ export async function getOutstandingTrainingsForUser(
if (error) return { data: null, error };
- // Filter to this employee's pending/overdue trainings
+ // External assignments are completed by an admin, never by the employee.
const filteredData = (data ?? [])
.filter(
(d) =>
d.employeeId === employeeId &&
+ !d.isExternal &&
(d.status === "Pending" || d.status === "Overdue")
)
.sort((a, b) => {
@@ -948,7 +949,7 @@ export async function getTrainingAssignment(
) {
return client
.from("trainingAssignment")
- .select("*, training(id, name, frequency, type, status, isExternal)")
+ .select("*, training(id, name, frequency, type, status)")
.eq("id", assignmentId)
.single();
}
@@ -972,7 +973,6 @@ export async function getTrainingAssignmentForCompletion(
status,
estimatedDuration,
guidePath,
- isExternal,
trainingQuestion(*)
)`
)
@@ -1004,6 +1004,7 @@ export async function getTrainingAssignmentStatus(
companyId: string,
args?: {
trainingId?: string;
+ trainingAssignmentId?: string;
status?: "Completed" | "Pending" | "Overdue" | "Not Required";
search?: string;
} & GenericQueryFilters
@@ -1020,6 +1021,11 @@ export async function getTrainingAssignmentStatus(
if (args?.trainingId) {
filteredData = filteredData.filter((d) => d.trainingId === args.trainingId);
}
+ if (args?.trainingAssignmentId) {
+ filteredData = filteredData.filter(
+ (d) => d.trainingAssignmentId === args.trainingAssignmentId
+ );
+ }
if (args?.status) {
filteredData = filteredData.filter((d) => d.status === args.status);
}
@@ -2142,7 +2148,8 @@ export async function upsertTrainingAssignment(
client: SupabaseClient<Database>,
assignment: {
id?: string;
- trainingId: string;
+ trainingId?: string | null;
+ name?: string | null;
groupIds: string[];
companyId: string;
createdBy?: string;
@@ -2150,10 +2157,13 @@ export async function upsertTrainingAssignment(
}
) {
if (assignment.id) {
+ // Whether an assignment is internal or external is fixed at creation; only
+ // an external one's name can change.
return client
.from("trainingAssignment")
.update({
groupIds: assignment.groupIds,
+ ...(assignment.name ? { name: assignment.name } : {}),
updatedBy: assignment.updatedBy
})
.eq("id", assignment.id)
@@ -2163,7 +2173,8 @@ export async function upsertTrainingAssignment(
return client
.from("trainingAssignment")
.insert({
- trainingId: assignment.trainingId,
+ trainingId: assignment.trainingId ?? null,
+ name: assignment.trainingId ? null : (assignment.name ?? null),
groupIds: assignment.groupIds,
companyId: assignment.companyId,
createdBy: assignment.createdBy!
diff --git a/apps/erp/app/modules/resources/types.ts b/apps/erp/app/modules/resources/types.ts
index d646386beb..896c297216 100644
--- a/apps/erp/app/modules/resources/types.ts
+++ b/apps/erp/app/modules/resources/types.ts
@@ -95,10 +95,11 @@ export type TrainingQuestion = NonNullable<
export type TrainingAssignmentStatusItem = {
trainingAssignmentId: string;
- trainingId: string;
+ trainingId: string | null;
trainingName: string;
frequency: (typeof trainingFrequency)[number];
trainingType: "Mandatory" | "Optional";
+ isExternal: boolean;
employeeId: string;
employeeName: string | null;
avatarUrl: string | null;
@@ -111,9 +112,11 @@ export type TrainingAssignmentStatusItem = {
};
export type TrainingAssignmentSummaryItem = {
- trainingId: string;
+ trainingAssignmentId: string;
+ trainingId: string | null;
trainingName: string;
frequency: (typeof trainingFrequency)[number];
+ isExternal: boolean;
currentPeriod: string | null;
totalAssigned: number;
completed: number;
diff --git a/apps/erp/app/modules/resources/ui/Training/TrainingAssignmentForm.tsx b/apps/erp/app/modules/resources/ui/Training/TrainingAssignmentForm.tsx
index e30e818171..93f62349a2 100644
--- a/apps/erp/app/modules/resources/ui/Training/TrainingAssignmentForm.tsx
+++ b/apps/erp/app/modules/resources/ui/Training/TrainingAssignmentForm.tsx
@@ -6,6 +6,7 @@ import { Select, ValidatedForm } from "@carbon/form";
import {
Badge,
Button,
+ ChoiceCardGroup,
Count,
cn,
HStack,
@@ -37,7 +38,7 @@ import {
import { useFetcher } from "react-router";
import type { z } from "zod";
import { DateTime, EmployeeAvatar, Empty } from "~/components";
-import { Hidden, Submit, Users } from "~/components/Form";
+import { Input as FormInput, Hidden, Submit, Users } from "~/components/Form";
import { usePermissions } from "~/hooks";
import { trainingAssignmentValidator } from "~/modules/resources";
import type {
@@ -394,6 +395,7 @@ const TrainingAssignmentForm = ({
<AssignmentFormContent
trainings={trainings}
isEditing={isEditing}
+ defaultIsExternal={initialValues.isExternal}
/>
</TabsContent>
<TabsContent
@@ -418,6 +420,7 @@ const TrainingAssignmentForm = ({
<AssignmentFormContent
trainings={trainings}
isEditing={isEditing}
+ defaultIsExternal={initialValues.isExternal}
/>
)}
</ModalDrawerBody>
@@ -442,25 +445,60 @@ const TrainingAssignmentForm = ({
);
};
+type TrainingSource = "internal" | "external";
+
function AssignmentFormContent({
trainings,
- isEditing
+ isEditing,
+ defaultIsExternal
}: {
trainings: TrainingListItem[];
isEditing: boolean;
+ defaultIsExternal: boolean;
}) {
const { t } = useLingui();
+ const [source, setSource] = useState<TrainingSource>(
+ defaultIsExternal ? "external" : "internal"
+ );
+ const isExternal = source === "external";
+
return (
<VStack spacing={4}>
- <Select
- name="trainingId"
- label={t`Training`}
- isReadOnly={isEditing}
- options={trainings.map((training) => ({
- label: training.name ?? "",
- value: training.id ?? ""
- }))}
- />
+ {/* An assignment's source is fixed once it exists. */}
+ {!isEditing && (
+ <ChoiceCardGroup<TrainingSource>
+ label={t`Training`}
+ termId="external-training"
+ value={source}
+ onChange={setSource}
+ options={[
+ {
+ value: "internal",
+ title: t`Internal`,
+ description: t`Employees complete a training in Carbon`
+ },
+ {
+ value: "external",
+ title: t`External`,
+ description: t`Taken outside Carbon. You mark each employee complete.`
+ }
+ ]}
+ />
+ )}
+ {isExternal && <input type="hidden" name="isExternal" value="on" />}
+ {isExternal ? (
+ <FormInput name="name" label={t`Name`} isRequired />
+ ) : (
+ <Select
+ name="trainingId"
+ label={t`Training`}
+ isReadOnly={isEditing}
+ options={trainings.map((training) => ({
+ label: training.name ?? "",
+ value: training.id ?? ""
+ }))}
+ />
+ )}
<Users
name="groupIds"
label={t`Assign to Groups`}
diff --git a/apps/erp/app/modules/resources/ui/Training/TrainingCertificateStep.tsx b/apps/erp/app/modules/resources/ui/Training/TrainingCertificateStep.tsx
deleted file mode 100644
index bf958b27eb..0000000000
--- a/apps/erp/app/modules/resources/ui/Training/TrainingCertificateStep.tsx
+++ /dev/null
@@ -1,100 +0,0 @@
-// SPDX-License-Identifier: AGPL-3.0-only
-// Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
-// including ports, remain AGPLv3; serving them over a network requires releasing their source.
-
-import { Alert, AlertDescription, AlertTitle, cn, VStack } from "@carbon/react";
-import { Trans, useLingui } from "@lingui/react/macro";
-import { useState } from "react";
-import { useDropzone } from "react-dropzone";
-import { LuCircleX, LuCloudUpload, LuFileCheck } from "react-icons/lu";
-import {
- TRAINING_CERTIFICATE_MAX_BYTES,
- trainingCertificateAccept
-} from "../../resources.models";
-
-// The employee's certificate upload for an External training. It runs on the
-// share page, outside the app shell, so it cannot use FileDropzone (that needs
-// the signed-in storage client); the file is posted to the route action.
-export default function TrainingCertificateStep({
- file,
- onFileChange,
- error,
- isDisabled
-}: {
- file: File | null;
- onFileChange: (file: File | null) => void;
- error?: string;
- isDisabled: boolean;
-}) {
- const { t } = useLingui();
- const [rejection, setRejection] = useState<string | null>(null);
- const { getRootProps, getInputProps, isDragActive } = useDropzone({
- accept: trainingCertificateAccept,
- multiple: false,
- maxSize: TRAINING_CERTIFICATE_MAX_BYTES,
- disabled: isDisabled,
- onDrop: (accepted, rejected) => {
- if (rejected.length > 0) {
- setRejection(t`Upload one PDF, PNG or JPG file of 10 MB or less.`);
- return;
- }
- setRejection(null);
- onFileChange(accepted[0] ?? null);
- }
- });
-
- const message = rejection ?? error;
-
- return (
- <VStack spacing={4} className="w-full">
- <p className="text-muted-foreground">
- <Trans>
- Upload the certificate you received for this training. Uploading it
- marks the training as complete.
- </Trans>
- </p>
- <div
- {...getRootProps()}
- className={cn(
- "w-full border-2 border-dashed rounded-md p-8 text-center transition-colors",
- isDisabled
- ? "cursor-not-allowed opacity-60"
- : "cursor-pointer hover:border-primary hover:bg-primary/10",
- isDragActive ? "border-primary bg-primary/10" : "border-border"
- )}
- >
- <input {...getInputProps()} />
- {file ? (
- <div className="flex flex-col items-center gap-2">
- <LuFileCheck className="size-10 text-emerald-500" />
- <span className="font-medium break-all">{file.name}</span>
- <span className="text-xs text-muted-foreground">
- <Trans>Click or drop to choose a different file</Trans>
- </span>
- </div>
- ) : (
- <div className="flex flex-col items-center gap-2">
- <LuCloudUpload className="size-10 text-muted-foreground" />
- <span>
- <Trans>
- Drop your certificate here, or click to choose a file
- </Trans>
- </span>
- <span className="text-xs text-muted-foreground">
- <Trans>PDF, PNG or JPG, up to 10 MB</Trans>
- </span>
- </div>
- )}
- </div>
- {message && (
- <Alert variant="destructive">
- <LuCircleX className="h-4 w-4" />
- <AlertTitle>
- <Trans>Certificate not accepted</Trans>
- </AlertTitle>
- <AlertDescription>{message}</AlertDescription>
- </Alert>
- )}
- </VStack>
- );
-}
diff --git a/apps/erp/app/modules/resources/ui/Training/TrainingExplorer.tsx b/apps/erp/app/modules/resources/ui/Training/TrainingExplorer.tsx
index f8e0153bf7..4871d25085 100644
--- a/apps/erp/app/modules/resources/ui/Training/TrainingExplorer.tsx
+++ b/apps/erp/app/modules/resources/ui/Training/TrainingExplorer.tsx
@@ -114,9 +114,7 @@ export default function TrainingExplorer() {
tolerance: selectedQuestion?.tolerance ?? undefined
};
- // External trainings have no quiz; the panel explains why instead of hiding.
- const isExternal = trainingData?.training?.isExternal ?? false;
- const isDisabled = trainingData?.training?.status !== "Draft" || isExternal;
+ const isDisabled = trainingData?.training?.status !== "Draft";
const [sortOrder, setSortOrder] = useState<string[]>(
Array.isArray(questions)
@@ -205,19 +203,7 @@ export default function TrainingExplorer() {
className="w-full flex-1 overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent"
spacing={0}
>
- {isExternal ? (
- <Empty
- className="px-4 text-center"
- title={<Trans>No quiz for external certifications</Trans>}
- description={
- <Trans>
- Employees complete this training by uploading their
- certificate. Turn off External Certification in Properties to
- use questions.
- </Trans>
- }
- />
- ) : questions && questions.length > 0 ? (
+ {questions && questions.length > 0 ? (
<Reorder.Group
axis="y"
values={sortOrder}
diff --git a/apps/erp/app/modules/resources/ui/Training/TrainingGuide.tsx b/apps/erp/app/modules/resources/ui/Training/TrainingGuide.tsx
index 9511655c6c..29da42790c 100644
--- a/apps/erp/app/modules/resources/ui/Training/TrainingGuide.tsx
+++ b/apps/erp/app/modules/resources/ui/Training/TrainingGuide.tsx
@@ -5,26 +5,13 @@
import { useCarbon } from "@carbon/auth";
import { safeStorageFileName, storage } from "@carbon/files";
import { useAction } from "@carbon/query";
-import {
- Button,
- Card,
- CardAction,
- CardContent,
- CardDescription,
- CardHeader,
- CardTitle,
- File as FileButton,
- HStack,
- Skeleton,
- toast
-} from "@carbon/react";
+import { File as FileButton, HStack, Skeleton, toast } from "@carbon/react";
import { Trans, useLingui } from "@lingui/react/macro";
import { nanoid } from "nanoid";
import type { ChangeEvent } from "react";
import { lazy, Suspense, useState } from "react";
-import { LuFileText, LuTrash, LuUpload } from "react-icons/lu";
+import { LuFileText, LuUpload } from "react-icons/lu";
import { FileDropzone } from "~/components";
-import { Confirm } from "~/components/Modals";
import { useUser } from "~/hooks";
import type { action } from "~/routes/x+/training+/update";
import { getPrivateUrl, path } from "~/utils/path";
@@ -34,12 +21,6 @@ const PdfViewer = lazy(
() => import("~/modules/documents/ui/Documents/PdfViewer")
);
-type TrainingGuideProps = {
- trainingId: string;
- guidePath: string | null;
- canEdit: boolean;
-};
-
export function TrainingGuideViewer({ guidePath }: { guidePath: string }) {
return (
<div className="w-full overflow-x-auto rounded-lg border border-border bg-background">
@@ -50,16 +31,20 @@ export function TrainingGuideViewer({ guidePath }: { guidePath: string }) {
);
}
+// The PDF side of a training's content: upload, replace and view the guide.
const TrainingGuide = ({
trainingId,
guidePath,
canEdit
-}: TrainingGuideProps) => {
+}: {
+ trainingId: string;
+ guidePath: string | null;
+ canEdit: boolean;
+}) => {
const { t } = useLingui();
const { carbon } = useCarbon();
const { company } = useUser();
const [isUploading, setIsUploading] = useState(false);
- const [isRemoveOpen, setIsRemoveOpen] = useState(false);
const fetcher = useAction<typeof action>({
onError: (data) => {
@@ -94,84 +79,43 @@ const TrainingGuide = ({
});
};
- const fileName = guidePath?.split("/").pop();
+ if (!guidePath) {
+ return canEdit ? (
+ <FileDropzone
+ onDrop={(files) => upload(files[0])}
+ accept={{ "application/pdf": [".pdf"] }}
+ multiple={false}
+ disabled={isBusy}
+ className="mt-0"
+ />
+ ) : (
+ <p className="text-sm text-muted-foreground">
+ <Trans>No PDF uploaded</Trans>
+ </p>
+ );
+ }
return (
- <Card>
- <HStack className="w-full justify-between items-start">
- <CardHeader>
- <CardTitle>
- <Trans>PDF Guide</Trans>
- </CardTitle>
- <CardDescription>
- <Trans>Employees read it before the questions</Trans>
- </CardDescription>
- </CardHeader>
- {guidePath && (
- <CardAction>
- <HStack spacing={2}>
- <FileButton
- accept="application/pdf"
- variant="secondary"
- leftIcon={<LuUpload />}
- isDisabled={!canEdit || isBusy}
- onChange={async (e: ChangeEvent<HTMLInputElement>) => {
- await upload(e.target.files?.[0]);
- }}
- >
- <Trans>Replace</Trans>
- </FileButton>
- <Button
- variant="secondary"
- leftIcon={<LuTrash />}
- isDisabled={!canEdit || isBusy}
- onClick={() => setIsRemoveOpen(true)}
- >
- <Trans>Remove</Trans>
- </Button>
- </HStack>
- </CardAction>
- )}
- </HStack>
- <CardContent>
- {guidePath ? (
- <div className="flex flex-col gap-3 w-full">
- <HStack spacing={2} className="text-sm min-w-0">
- <LuFileText className="shrink-0 text-muted-foreground" />
- <span className="truncate">{fileName}</span>
- </HStack>
- <TrainingGuideViewer guidePath={guidePath} />
- </div>
- ) : canEdit ? (
- <FileDropzone
- onDrop={(files) => upload(files[0])}
- accept={{ "application/pdf": [".pdf"] }}
- multiple={false}
- disabled={isBusy}
- className="mt-0"
- />
- ) : (
- <p className="text-sm text-muted-foreground">
- <Trans>No PDF guide</Trans>
- </p>
- )}
- </CardContent>
- {isRemoveOpen && (
- <Confirm
- action={path.to.bulkUpdateTraining}
- title={t`Remove PDF Guide`}
- text={t`Employees will no longer see this PDF. You can upload a new one while the training is Draft.`}
- confirmText={t`Remove`}
- confirmVariant="destructive"
- onCancel={() => setIsRemoveOpen(false)}
- onSubmit={() => setIsRemoveOpen(false)}
+ <div className="flex flex-col gap-3 w-full">
+ <HStack className="w-full justify-between">
+ <HStack spacing={2} className="text-sm min-w-0">
+ <LuFileText className="shrink-0 text-muted-foreground" />
+ <span className="truncate">{guidePath.split("/").pop()}</span>
+ </HStack>
+ <FileButton
+ accept="application/pdf"
+ variant="secondary"
+ leftIcon={<LuUpload />}
+ isDisabled={!canEdit || isBusy}
+ onChange={async (e: ChangeEvent<HTMLInputElement>) => {
+ await upload(e.target.files?.[0]);
+ }}
>
- <input type="hidden" name="ids" value={trainingId} />
- <input type="hidden" name="field" value="guidePath" />
- <input type="hidden" name="value" value="" />
- </Confirm>
- )}
- </Card>
+ <Trans>Replace</Trans>
+ </FileButton>
+ </HStack>
+ <TrainingGuideViewer guidePath={guidePath} />
+ </div>
);
};
diff --git a/apps/erp/app/modules/resources/ui/Training/TrainingProperties.tsx b/apps/erp/app/modules/resources/ui/Training/TrainingProperties.tsx
index f3f929737f..f335a26bc5 100644
--- a/apps/erp/app/modules/resources/ui/Training/TrainingProperties.tsx
+++ b/apps/erp/app/modules/resources/ui/Training/TrainingProperties.tsx
@@ -23,7 +23,7 @@ import { useParams } from "react-router";
import { z } from "zod";
import Assignee, { useOptimisticAssignment } from "~/components/Assignee";
import { Enumerable } from "~/components/Enumerable";
-import { Ability, Boolean, InputControlled, Tags } from "~/components/Form";
+import { Ability, InputControlled, Tags } from "~/components/Form";
import { usePermissions, useRouteData } from "~/hooks";
import { useTags } from "~/hooks/useTags";
import type { Training } from "~/modules/resources";
@@ -59,8 +59,7 @@ const TrainingProperties = () => {
| "frequency"
| "estimatedDuration"
| "description"
- | "grantsAbilityId"
- | "isExternal",
+ | "grantsAbilityId",
value: string | null
) => {
const formData = new FormData();
@@ -250,31 +249,6 @@ const TrainingProperties = () => {
</span>
</ValidatedForm>
- <ValidatedForm
- defaultValues={{
- isExternal: routeData?.training?.isExternal ?? false
- }}
- validator={z.object({
- isExternal: z.boolean()
- })}
- className="w-full"
- // Changes how employees take the training: Draft only, like the content.
- isReadOnly={
- !permissions.can("update", "people") ||
- routeData?.training?.status !== "Draft"
- }
- >
- <Boolean
- label={t`External Certification`}
- termId="external-certification"
- name="isExternal"
- variant="small"
- onChange={(value) => {
- onUpdate("isExternal", value ? "on" : "off");
- }}
- />
- </ValidatedForm>
-
<ValidatedForm
defaultValues={{
estimatedDuration: routeData?.training?.estimatedDuration ?? undefined
diff --git a/apps/erp/app/modules/resources/ui/Training/index.ts b/apps/erp/app/modules/resources/ui/Training/index.ts
index ef860b47cb..26671b5207 100644
--- a/apps/erp/app/modules/resources/ui/Training/index.ts
+++ b/apps/erp/app/modules/resources/ui/Training/index.ts
@@ -3,7 +3,6 @@
// including ports, remain AGPLv3; serving them over a network requires releasing their source.
export { default as TrainingAssignmentForm } from "./TrainingAssignmentForm";
-export { default as TrainingCertificateStep } from "./TrainingCertificateStep";
export { default as TrainingExplorer } from "./TrainingExplorer";
export { default as TrainingForm } from "./TrainingForm";
export {
diff --git a/apps/erp/app/routes/api+/mcp+/lib/tool-manifest.digest.json b/apps/erp/app/routes/api+/mcp+/lib/tool-manifest.digest.json
index 76fa99c869..7fbbe81fc6 100644
--- a/apps/erp/app/routes/api+/mcp+/lib/tool-manifest.digest.json
+++ b/apps/erp/app/routes/api+/mcp+/lib/tool-manifest.digest.json
@@ -1121,7 +1121,7 @@
{"name":"resources_getMaintenanceScheduleItems","classification":"READ","paramCount":1,"schema":"c61245800a33","response":"6e7c564b202a","injectAuth":"companyId","permission":"resources:view","paginates":false},
{"name":"resources_getMaintenanceSchedules","classification":"READ","paramCount":4,"schema":"d55eeae51beb","response":"69ee71e3d5a8","injectAuth":"companyId","permission":"resources:view","paginates":true,"defaults":"always"},
{"name":"resources_getMaintenanceSchedulesByLocation","classification":"READ","paramCount":2,"schema":"68aa9154c497","response":"71889eb4641f","injectAuth":"companyId","permission":"resources:view","paginates":true,"defaults":"always"},
- {"name":"resources_getOutstandingTrainingsForUser","classification":"READ","paramCount":1,"schema":"3d90cb5d0437","response":"2b901764b425","injectAuth":"companyId","permission":"resources:view","paginates":false},
+ {"name":"resources_getOutstandingTrainingsForUser","classification":"READ","paramCount":1,"schema":"3d90cb5d0437","response":"6cec1c458c55","injectAuth":"companyId","permission":"resources:view","paginates":false},
{"name":"resources_getPartner","classification":"READ","paramCount":2,"schema":"7a4efbb751fd","response":"690aa589fb9c","injectAuth":"companyId","permission":"resources:view","paginates":false},
{"name":"resources_getPartnerBySupplierId","classification":"READ","paramCount":1,"schema":"74d289586b4f","response":"690aa589fb9c","injectAuth":"companyId","permission":"resources:view","paginates":false},
{"name":"resources_getPartners","classification":"READ","paramCount":3,"schema":"c61cae75d189","response":"f1a7446bd053","injectAuth":"companyId","permission":"resources:view","paginates":true,"defaults":"always"},
@@ -1131,13 +1131,13 @@
{"name":"resources_getProcessesWithoutAbility","classification":"READ","paramCount":0,"schema":"efddc7bd8bbc","response":"ce08332e0ce6","injectAuth":"companyId","permission":"resources:view","paginates":false},
{"name":"resources_getSuggestion","classification":"READ","paramCount":1,"schema":"3a7f44ccb395","response":"77bb66a1249a","injectAuth":"companyId","permission":"resources:view","paginates":false},
{"name":"resources_getSuggestions","classification":"READ","paramCount":3,"schema":"c61cae75d189","response":"9e90aae0404b","injectAuth":"companyId","permission":"resources:view","paginates":true,"defaults":"always"},
- {"name":"resources_getTraining","classification":"READ","paramCount":1,"schema":"3797626bd17e","response":"df1853257bb5","injectAuth":"companyId","permission":"resources:view","paginates":false},
- {"name":"resources_getTrainingAssignment","classification":"READ","paramCount":1,"schema":"7d3fe60cc8ed","response":"6f232f75558d","injectAuth":"companyId","permission":"resources:view","paginates":false},
- {"name":"resources_getTrainingAssignmentForCompletion","classification":"READ","paramCount":1,"schema":"7d3fe60cc8ed","response":"cbe5832eecbc","injectAuth":"companyId","permission":"resources:view","paginates":false},
- {"name":"resources_getTrainingAssignments","classification":"READ","paramCount":1,"schema":"d541f0a7e11f","response":"bb328cb9e34a","injectAuth":"companyId","permission":"resources:view","paginates":false},
- {"name":"resources_getTrainingAssignmentStatus","classification":"READ","paramCount":3,"schema":"4b28f853e5b7","response":"2b901764b425","injectAuth":"companyId","permission":"resources:view","paginates":false},
- {"name":"resources_getTrainingAssignmentStatusForEmployee","classification":"READ","paramCount":1,"schema":"3d90cb5d0437","response":"2b901764b425","injectAuth":"companyId","permission":"resources:view","paginates":false},
- {"name":"resources_getTrainingAssignmentSummary","classification":"READ","paramCount":0,"schema":"efddc7bd8bbc","response":"c3f55a28a4ac","injectAuth":"companyId","permission":"resources:view","paginates":false},
+ {"name":"resources_getTraining","classification":"READ","paramCount":1,"schema":"3797626bd17e","response":"7339291fb8fa","injectAuth":"companyId","permission":"resources:view","paginates":false},
+ {"name":"resources_getTrainingAssignment","classification":"READ","paramCount":1,"schema":"7d3fe60cc8ed","response":"c9862a5e4a1f","injectAuth":"companyId","permission":"resources:view","paginates":false},
+ {"name":"resources_getTrainingAssignmentForCompletion","classification":"READ","paramCount":1,"schema":"7d3fe60cc8ed","response":"099b764ee26c","injectAuth":"companyId","permission":"resources:view","paginates":false},
+ {"name":"resources_getTrainingAssignments","classification":"READ","paramCount":1,"schema":"d541f0a7e11f","response":"5afd387c50a2","injectAuth":"companyId","permission":"resources:view","paginates":false},
+ {"name":"resources_getTrainingAssignmentStatus","classification":"READ","paramCount":4,"schema":"12f3ccba8f51","response":"6cec1c458c55","injectAuth":"companyId","permission":"resources:view","paginates":false},
+ {"name":"resources_getTrainingAssignmentStatusForEmployee","classification":"READ","paramCount":1,"schema":"3d90cb5d0437","response":"6cec1c458c55","injectAuth":"companyId","permission":"resources:view","paginates":false},
+ {"name":"resources_getTrainingAssignmentSummary","classification":"READ","paramCount":0,"schema":"efddc7bd8bbc","response":"9528aa75cdb8","injectAuth":"companyId","permission":"resources:view","paginates":false},
{"name":"resources_getTrainingCertificatePaths","classification":"READ","paramCount":1,"schema":"2cc02431606f","response":"3f161562db4a","injectAuth":"companyId","permission":"resources:view","paginates":false},
{"name":"resources_getTrainingGrantedAbilityId","classification":"READ","paramCount":1,"schema":"fbebd108a3c4","response":"174e29b899b9","injectAuth":"companyId","permission":"resources:view","paginates":false},
{"name":"resources_getTrainingQuestions","classification":"READ","paramCount":1,"schema":"3f6f0a410b0f","response":"cbc84076fe3b","injectAuth":"companyId","permission":"resources:view","paginates":false},
@@ -1166,7 +1166,7 @@
{"name":"resources_upsertPartner","classification":"WRITE","paramCount":3,"schema":"bcf9a7c682d9","response":"bcde375ebd4c","injectAuth":"companyId+createdBy+updatedBy","permission":"resources:create+update","paginates":false,"upsert":"partner(id)"},
{"name":"resources_upsertProcess","classification":"DESTRUCTIVE","paramCount":17,"schema":"bfa604f1eeb7","response":"3797626bd17e","injectAuth":"companyId+createdBy+updatedBy","permission":"resources:create+update","paginates":false,"upsert":"id","defaults":"create"},
{"name":"resources_upsertTraining","classification":"WRITE","paramCount":4,"schema":"385fb9c5d8d1","response":"3797626bd17e","injectAuth":"companyId+createdBy+updatedBy","permission":"resources:create+update","paginates":false,"upsert":"id"},
- {"name":"resources_upsertTrainingAssignment","classification":"WRITE","paramCount":3,"schema":"9f8996544bb7","response":"3797626bd17e","injectAuth":"companyId+createdBy+updatedBy","permission":"resources:create+update","paginates":false},
+ {"name":"resources_upsertTrainingAssignment","classification":"WRITE","paramCount":4,"schema":"33b78ee5baf0","response":"3797626bd17e","injectAuth":"companyId+createdBy+updatedBy","permission":"resources:create+update","paginates":false},
{"name":"resources_upsertTrainingQuestion","classification":"WRITE","paramCount":12,"schema":"1c336cac9dc8","response":"3797626bd17e","injectAuth":"companyId+createdBy+updatedBy","permission":"resources:create+update","paginates":false,"upsert":"id"},
{"name":"resources_upsertWorkCenter","classification":"DESTRUCTIVE","paramCount":15,"schema":"cbbc99da1ba7","response":"3797626bd17e","injectAuth":"companyId+createdBy+updatedBy","permission":"resources:create+update","paginates":false,"upsert":"id"},
{"name":"sales_buildMakeToOrderPriceRows","classification":"WRITE","paramCount":4,"schema":"9ca94f5219fe","response":"10ba10c1ac60","injectAuth":"companyId","permission":"sales:update","paginates":false},
diff --git a/apps/erp/app/routes/share+/training.$id.tsx b/apps/erp/app/routes/share+/training.$id.tsx
index 9507ded56e..6cf8427d8c 100644
--- a/apps/erp/app/routes/share+/training.$id.tsx
+++ b/apps/erp/app/routes/share+/training.$id.tsx
@@ -41,7 +41,6 @@ import {
LuCircleCheck,
LuCircleX,
LuClock,
- LuFileCheck,
LuFlag,
LuHouse,
LuRefreshCcw
@@ -52,12 +51,10 @@ import {
Link,
useActionData,
useLoaderData,
- useNavigation,
useSubmit
} from "react-router";
import {
getTrainingAssignmentForCompletion,
- TrainingCertificateStep,
TrainingGuideViewer
} from "~/modules/resources";
import { recordTrainingCompletion } from "~/modules/resources/resources.server";
@@ -68,8 +65,6 @@ const logger = getLogger("erp", "share", "training");
const PASSING_THRESHOLD = 0.8;
interface ActionData {
- /** Set when an External training was completed by certificate upload. */
- certificate?: boolean;
error?: string;
passed: boolean;
score: number;
@@ -100,7 +95,9 @@ async function getAuthorizedAssignment(
serviceRole,
assignmentId
);
- if (assignment.error || !assignment.data) {
+ // An external assignment (no training) is completed by an admin; the
+ // employee never opens it.
+ if (assignment.error || !assignment.data || !assignment.data.trainingId) {
throw new Response("Training assignment not found", { status: 404 });
}
@@ -139,10 +136,7 @@ export async function loader({ params, request }: LoaderFunctionArgs) {
});
}
- // An External training is completed by certificate upload, not by quiz.
- const questions = training.isExternal
- ? []
- : ((training.trainingQuestion ?? []) as TrainingQuestion[]);
+ const questions = (training.trainingQuestion ?? []) as TrainingQuestion[];
const sortedQuestions = questions.sort((a, b) => a.sortOrder - b.sortOrder);
return {
@@ -155,8 +149,7 @@ export async function loader({ params, request }: LoaderFunctionArgs) {
frequency: training.frequency,
type: training.type,
estimatedDuration: training.estimatedDuration,
- guidePath: training.guidePath,
- isExternal: training.isExternal
+ guidePath: training.guidePath
},
questions: sortedQuestions,
userId,
@@ -181,14 +174,6 @@ export async function action({ request, params }: ActionFunctionArgs) {
return null;
}
- if (formData.get("intent") === "certificate") {
- return completeWithCertificate({
- assignmentId: id,
- userId,
- file: formData.get("certificate")
- });
- }
-
const answersJson = formData.get("answers") as string;
if (!answersJson) {
@@ -212,13 +197,6 @@ export async function action({ request, params }: ActionFunctionArgs) {
return data({ error: "Training not found" }, { status: 404 });
}
- if (training.isExternal) {
- return data(
- { error: "This training is completed by uploading a certificate" },
- { status: 400 }
- );
- }
-
const questions = (training.trainingQuestion ?? []) as TrainingQuestion[];
let correctAnswers = 0;
@@ -300,7 +278,7 @@ export async function action({ request, params }: ActionFunctionArgs) {
trainingAssignmentId: id,
employeeId: userId,
completedBy: userId,
- training
+ assignment: { trainingId: assignment.trainingId, training }
});
if (recorded.error !== null) {
return data({ error: recorded.error }, { status: recorded.status });
@@ -316,75 +294,17 @@ export async function action({ request, params }: ActionFunctionArgs) {
};
}
-async function completeWithCertificate({
- assignmentId,
- userId,
- file
-}: {
- assignmentId: string;
- userId: string;
- file: FormDataEntryValue | null;
-}) {
- const serviceRole = getCarbonServiceRole();
- const assignment = await getAuthorizedAssignment(
- serviceRole,
- assignmentId,
- userId
- );
-
- const training = assignment.training;
- if (!training || Array.isArray(training)) {
- logger.error("Training not found for assignment", {
- companyId: assignment.companyId,
- trainingAssignmentId: assignmentId
- });
- return data({ error: "Training not found" }, { status: 404 });
- }
- if (!training.isExternal) {
- return data(
- { error: "This training is completed by answering its questions" },
- { status: 400 }
- );
- }
-
- const recorded = await recordTrainingCompletion(serviceRole, {
- companyId: assignment.companyId,
- trainingAssignmentId: assignmentId,
- employeeId: userId,
- completedBy: userId,
- training,
- certificate: file
- });
- if (recorded.error !== null) {
- return data({ error: recorded.error }, { status: recorded.status });
- }
-
- return {
- certificate: true,
- passed: true,
- score: 1,
- totalQuestions: 0,
- userAnswers: {},
- correctAnswers: 0
- } satisfies ActionData;
-}
-
export default function TrainingWizard() {
const { training, questions } = useLoaderData<typeof loader>();
const actionData = useActionData<ActionData>();
const submit = useSubmit();
const audioRef = useRef<HTMLAudioElement | null>(null);
- const navigation = useNavigation();
- const isSubmitting = navigation.state === "submitting";
-
const [currentStep, setCurrentStep] = useState(0);
const [answers, setAnswers] = useState<Record<string, UserAnswer>>({});
const [isSubmitted, setIsSubmitted] = useState(false);
- const [certificate, setCertificate] = useState<File | null>(null);
- const isExternal = training.isExternal;
- const totalSteps = isExternal ? 2 : questions.length + 1;
+ const totalSteps = questions.length + 1;
const isContentStep = currentStep === 0;
const currentQuestionIndex = currentStep - 1;
const currentQuestion = questions[currentQuestionIndex];
@@ -427,14 +347,6 @@ export default function TrainingWizard() {
submit(formData, { method: "post" });
};
- const handleSubmitCertificate = () => {
- if (!certificate) return;
- const formData = new FormData();
- formData.append("intent", "certificate");
- formData.append("certificate", certificate);
- submit(formData, { method: "post", encType: "multipart/form-data" });
- };
-
const handleRetry = () => {
setIsSubmitted(false);
setAnswers({});
@@ -532,13 +444,6 @@ export default function TrainingWizard() {
<CardContent>
{isContentStep ? (
<ContentStep training={training} />
- ) : isExternal ? (
- <TrainingCertificateStep
- file={certificate}
- onFileChange={setCertificate}
- error={actionData?.error}
- isDisabled={isSubmitting}
- />
) : (
<QuestionStep
question={currentQuestion}
@@ -551,7 +456,7 @@ export default function TrainingWizard() {
</CardContent>
</Card>
- {actionData?.error && !isExternal && (
+ {actionData?.error && (
<Alert variant="destructive">
<LuCircleX className="h-4 w-4" />
<AlertTitle>
@@ -573,31 +478,7 @@ export default function TrainingWizard() {
Previous
</Button>
- {isExternal ? (
- isContentStep ? (
- <Button
- isRound
- variant="primary"
- size="lg"
- rightIcon={<LuChevronRight />}
- onClick={handleNext}
- >
- <Trans>Upload Certificate</Trans>
- </Button>
- ) : (
- <Button
- isRound
- variant="primary"
- size="lg"
- rightIcon={<LuCircleCheck />}
- onClick={handleSubmitCertificate}
- isDisabled={!certificate || isSubmitting}
- isLoading={isSubmitting}
- >
- <Trans>Submit Certificate</Trans>
- </Button>
- )
- ) : isLastStep && questions.length > 0 ? (
+ {isLastStep && questions.length > 0 ? (
<Button
isRound
variant="primary"
@@ -650,7 +531,6 @@ function ContentStep({
content: unknown;
estimatedDuration: string | null;
guidePath: string | null;
- isExternal: boolean;
};
}) {
const hasContent =
@@ -679,21 +559,16 @@ function ContentStep({
</div>
)}
- {training.guidePath && (
+ {/* A training's content is either its PDF guide or written text. */}
+ {training.guidePath ? (
<TrainingGuideViewer guidePath={training.guidePath} />
- )}
-
- {htmlContent ? (
+ ) : htmlContent ? (
<div
className="prose dark:prose-invert max-w-none w-full"
dangerouslySetInnerHTML={{
__html: htmlContent
}}
/>
- ) : training.guidePath ? null : training.isExternal ? (
- <p className="text-muted-foreground italic">
- <Trans>Upload your certificate on the next step.</Trans>
- </p>
) : (
<p className="text-muted-foreground italic">
No training content available. Please proceed to the questions.
@@ -920,40 +795,31 @@ function ResultsView({
</CardHeader>
<CardContent>
<div className="grid grid-cols-1 md:grid-cols-2 gap-8">
- {actionData.certificate ? (
- <div className="flex flex-col items-center justify-center gap-2">
- <LuFileCheck className="size-16 text-emerald-500" />
- <span className="text-xl uppercase font-mono font-semibold tracking-tight text-emerald-500">
- <Trans>Certificate Submitted</Trans>
- </span>
- </div>
- ) : (
- <div className="flex flex-col items-center justify-center gap-2">
- <span
- className={cn(
- "text-xl uppercase font-mono font-semibold tracking-tight",
- actionData.passed ? "text-emerald-500" : "text-red-500"
- )}
- >
- {actionData.passed ? "Passed" : "Failed"}
- </span>
- <div
- className={cn(
- "text-6xl font-mono font-semibold",
- actionData.passed ? "text-emerald-500" : "text-red-500"
- )}
- >
- {scorePercent}%
- </div>
- <p className="text-sm text-muted-foreground">
- {actionData.correctAnswers} of {actionData.totalQuestions}{" "}
- correct
- </p>
- <p className="text-sm text-muted-foreground">
- (Passing score: {Math.round(PASSING_THRESHOLD * 100)}%)
- </p>
+ <div className="flex flex-col items-center justify-center gap-2">
+ <span
+ className={cn(
+ "text-xl uppercase font-mono font-semibold tracking-tight",
+ actionData.passed ? "text-emerald-500" : "text-red-500"
+ )}
+ >
+ {actionData.passed ? "Passed" : "Failed"}
+ </span>
+ <div
+ className={cn(
+ "text-6xl font-mono font-semibold",
+ actionData.passed ? "text-emerald-500" : "text-red-500"
+ )}
+ >
+ {scorePercent}%
</div>
- )}
+ <p className="text-sm text-muted-foreground">
+ {actionData.correctAnswers} of {actionData.totalQuestions}{" "}
+ correct
+ </p>
+ <p className="text-sm text-muted-foreground">
+ (Passing score: {Math.round(PASSING_THRESHOLD * 100)}%)
+ </p>
+ </div>
<div className="flex flex-col gap-4">
{actionData.passed ? (
diff --git a/apps/erp/app/routes/x+/resources+/assignments.$trainingId.tsx b/apps/erp/app/routes/x+/resources+/assignments.$assignmentId.tsx
similarity index 94%
rename from apps/erp/app/routes/x+/resources+/assignments.$trainingId.tsx
rename to apps/erp/app/routes/x+/resources+/assignments.$assignmentId.tsx
index a9ae735460..87324cc099 100644
--- a/apps/erp/app/routes/x+/resources+/assignments.$trainingId.tsx
+++ b/apps/erp/app/routes/x+/resources+/assignments.$assignmentId.tsx
@@ -49,7 +49,7 @@ import { DateTime, EmployeeAvatar, Empty, FileDropzone } from "~/components";
import { Confirm } from "~/components/Modals";
import { usePermissions } from "~/hooks";
import {
- getTraining,
+ getTrainingAssignment,
getTrainingAssignmentStatus,
getTrainingCertificatePaths,
trainingCertificateAccept
@@ -72,18 +72,18 @@ export async function loader({ request, params }: LoaderFunctionArgs) {
role: "employee"
});
- const { trainingId } = params;
- if (!trainingId) {
+ const { assignmentId } = params;
+ if (!assignmentId) {
throw redirect(
path.to.trainingAssignments,
- await flash(request, error(null, "Training ID is required"))
+ await flash(request, error(null, "Assignment ID is required"))
);
}
- const [training, assignmentStatus] = await Promise.all([
- getTraining(client, trainingId),
+ const [assignment, assignmentStatus] = await Promise.all([
+ getTrainingAssignment(client, assignmentId),
getTrainingAssignmentStatus(client, companyId, {
- trainingId,
+ trainingAssignmentId: assignmentId,
status: undefined,
search: undefined,
limit: 10000,
@@ -93,10 +93,13 @@ export async function loader({ request, params }: LoaderFunctionArgs) {
})
]);
- if (training.error) {
+ if (assignment.error || assignment.data.companyId !== companyId) {
throw redirect(
path.to.trainingAssignments,
- await flash(request, error(training.error, "Error loading training"))
+ await flash(
+ request,
+ error(assignment.error, "Error loading training assignment")
+ )
);
}
@@ -128,7 +131,8 @@ export async function loader({ request, params }: LoaderFunctionArgs) {
}
return {
- training: training.data,
+ name: assignment.data.training?.name ?? assignment.data.name ?? "",
+ isExternal: assignment.data.trainingId === null,
assignments,
certificatePaths: certificatePaths.data ?? {}
};
@@ -190,11 +194,10 @@ function CertificateCompleteModal({
const [file, setFile] = useState<File | null>(null);
const onSubmit = () => {
- if (!file) return;
const formData = new FormData();
formData.append("trainingAssignmentId", assignment.trainingAssignmentId);
formData.append("employeeId", assignment.employeeId);
- formData.append("certificate", file);
+ if (file) formData.append("certificate", file);
fetcher.submit(formData, {
method: "post",
action: path.to.markTrainingComplete,
@@ -212,15 +215,14 @@ function CertificateCompleteModal({
<ModalOverlay />
<ModalContent>
<ModalHeader>
- <ModalTitle>{t`Upload Certificate`}</ModalTitle>
+ <ModalTitle>{t`Mark Complete`}</ModalTitle>
</ModalHeader>
<ModalBody>
<VStack spacing={4}>
<p className="text-sm text-muted-foreground">
<Trans>
- This training is external. Upload{" "}
- {assignment.employeeName?.trim()}'s certificate to mark it
- complete.
+ Mark {assignment.employeeName?.trim()} complete. Attach their
+ certificate if you have one.
</Trans>
</p>
<FileDropzone
@@ -247,7 +249,7 @@ function CertificateCompleteModal({
</Button>
<Button
onClick={onSubmit}
- isDisabled={!file || isSubmitting}
+ isDisabled={isSubmitting}
isLoading={isSubmitting}
leftIcon={<LuCircleCheck />}
>
@@ -406,7 +408,7 @@ function AssignmentListItem({
export default function TrainingAssignmentDetailRoute() {
const { t } = useLingui();
- const { training, assignments, certificatePaths } =
+ const { name, isExternal, assignments, certificatePaths } =
useLoaderData<typeof loader>();
const permissions = usePermissions();
const navigate = useNavigate();
@@ -448,7 +450,7 @@ export default function TrainingAssignmentDetailRoute() {
<DrawerHeader>
<HStack className="justify-between w-full pr-8">
<HStack spacing={2}>
- <DrawerTitle>{training?.name}</DrawerTitle>
+ <DrawerTitle>{name}</DrawerTitle>
{currentPeriod && (
<Badge variant="secondary">{currentPeriod}</Badge>
)}
@@ -534,7 +536,7 @@ export default function TrainingAssignmentDetailRoute() {
? (certificatePaths[assignment.completionId] ?? null)
: null
}
- isExternal={training.isExternal}
+ isExternal={isExternal}
canRemove={permissions.can("delete", "resources")}
disabled={!permissions.can("update", "resources")}
isLast={index === filteredAssignments.length - 1}
diff --git a/apps/erp/app/routes/x+/resources+/assignments.assignment.$assignmentId.tsx b/apps/erp/app/routes/x+/resources+/assignments.assignment.$assignmentId.tsx
index 7a142526cf..f5adfce9de 100644
--- a/apps/erp/app/routes/x+/resources+/assignments.assignment.$assignmentId.tsx
+++ b/apps/erp/app/routes/x+/resources+/assignments.assignment.$assignmentId.tsx
@@ -108,11 +108,12 @@ export async function action({ request, params }: ActionFunctionArgs) {
return validationError(validation.error);
}
- const { trainingId, groupIds } = validation.data;
+ const { isExternal, trainingId, name, groupIds } = validation.data;
const result = await upsertTrainingAssignment(client, {
id: assignmentId,
trainingId,
+ name: isExternal ? name : null,
groupIds,
companyId: "", // not used for updates
updatedBy: userId
@@ -132,22 +133,24 @@ export async function action({ request, params }: ActionFunctionArgs) {
);
}
- // Send notifications to all users in the assigned groups
- try {
- await trigger("notify", {
- companyId,
- documentId: assignmentId,
- event: NotificationEvent.TrainingAssignment,
- recipient: {
- type: "group",
- groupIds
- },
- from: userId
- });
- } catch (err) {
- logger.error("Failed to send training assignment notifications", {
- error: err
- });
+ // An external training happens in an outside system, which notifies people.
+ if (!isExternal) {
+ try {
+ await trigger("notify", {
+ companyId,
+ documentId: assignmentId,
+ event: NotificationEvent.TrainingAssignment,
+ recipient: {
+ type: "group",
+ groupIds
+ },
+ from: userId
+ });
+ } catch (err) {
+ logger.error("Failed to send training assignment notifications", {
+ error: err
+ });
+ }
}
throw redirect(
@@ -164,7 +167,9 @@ export default function EditTrainingAssignmentRoute() {
const initialValues = {
id: params.assignmentId!,
+ isExternal: !assignment?.trainingId,
trainingId: assignment?.trainingId ?? "",
+ name: assignment?.name ?? "",
groupIds: assignment?.groupIds ?? []
};
diff --git a/apps/erp/app/routes/x+/resources+/assignments.complete.tsx b/apps/erp/app/routes/x+/resources+/assignments.complete.tsx
index 6354805f73..337fed399a 100644
--- a/apps/erp/app/routes/x+/resources+/assignments.complete.tsx
+++ b/apps/erp/app/routes/x+/resources+/assignments.complete.tsx
@@ -59,28 +59,12 @@ export async function action({ request }: ActionFunctionArgs) {
);
}
- const training = assignment.data.training;
- if (!training || Array.isArray(training)) {
- logger.error("Training not found for assignment", {
- companyId,
- trainingAssignmentId: trainingAssignmentId.toString()
- });
- return data(
- { error: "Training not found" },
- {
- status: 404,
- // @ts-expect-error TS2322 - TODO: fix type
- headers: await flash(request, error(null, "Training not found"))
- }
- );
- }
-
const recorded = await recordTrainingCompletion(client, {
companyId,
trainingAssignmentId: trainingAssignmentId.toString(),
employeeId: employeeId.toString(),
completedBy: userId,
- training,
+ assignment: assignment.data,
certificate: formData.get("certificate")
});
if (recorded.error !== null) {
diff --git a/apps/erp/app/routes/x+/resources+/assignments.new.tsx b/apps/erp/app/routes/x+/resources+/assignments.new.tsx
index 16a57dabd4..846fa53a3c 100644
--- a/apps/erp/app/routes/x+/resources+/assignments.new.tsx
+++ b/apps/erp/app/routes/x+/resources+/assignments.new.tsx
@@ -66,11 +66,14 @@ export async function action({ request }: ActionFunctionArgs) {
return validationError(validation.error);
}
- const { trainingId, groupIds } = validation.data;
+ const { isExternal, trainingId, name, groupIds } = validation.data;
// One assignment per training — duplicates double every employee in the status views
- const existing = await getTrainingAssignments(client, companyId, trainingId);
- if (existing.data && existing.data.length > 0) {
+ const existing =
+ !isExternal && trainingId
+ ? await getTrainingAssignments(client, companyId, trainingId)
+ : null;
+ if (existing?.data && existing.data.length > 0) {
// 200 on purpose: a 4xx response skips revalidation and the toast never shows
return data(
{ error: "This training is already assigned" },
@@ -85,7 +88,8 @@ export async function action({ request }: ActionFunctionArgs) {
}
const result = await upsertTrainingAssignment(client, {
- trainingId,
+ trainingId: isExternal ? null : trainingId,
+ name: isExternal ? name : null,
groupIds,
companyId,
createdBy: userId
@@ -105,8 +109,8 @@ export async function action({ request }: ActionFunctionArgs) {
);
}
- // Send notifications to all users in the assigned groups
- if (result.data?.id) {
+ // An external training happens in an outside system, which notifies people.
+ if (result.data?.id && !isExternal) {
try {
await trigger("notify", {
companyId,
@@ -137,7 +141,9 @@ export default function NewTrainingAssignmentRoute() {
const initialValues = {
id: undefined,
+ isExternal: false,
trainingId: "",
+ name: "",
groupIds: [] as string[]
};
diff --git a/apps/erp/app/routes/x+/resources+/assignments.tsx b/apps/erp/app/routes/x+/resources+/assignments.tsx
index 97b511f902..9831c82a2d 100644
--- a/apps/erp/app/routes/x+/resources+/assignments.tsx
+++ b/apps/erp/app/routes/x+/resources+/assignments.tsx
@@ -36,10 +36,7 @@ import type { LoaderFunctionArgs } from "react-router";
import { Link, useFetcher, useLoaderData } from "react-router";
import { Hyperlink, New, Table } from "~/components";
import { usePermissions } from "~/hooks";
-import {
- getTrainingAssignmentSummary,
- getTrainingAssignments
-} from "~/modules/resources";
+import { getTrainingAssignmentSummary } from "~/modules/resources";
import type { TrainingAssignmentSummaryItem } from "~/modules/resources/types";
import type { Handle } from "~/utils/handle";
import { path } from "~/utils/path";
@@ -55,10 +52,7 @@ export async function loader({ request }: LoaderFunctionArgs) {
role: "employee"
});
- const [summary, assignments] = await Promise.all([
- getTrainingAssignmentSummary(client, companyId),
- getTrainingAssignments(client, companyId)
- ]);
+ const summary = await getTrainingAssignmentSummary(client, companyId);
if (summary.error) {
throw redirect(
@@ -70,32 +64,13 @@ export async function loader({ request }: LoaderFunctionArgs) {
);
}
- // Create a map of trainingId to assignment id for edit/delete links
- const assignmentsByTraining = (assignments.data ?? []).reduce(
- (acc, assignment) => {
- if (!acc[assignment.trainingId]) {
- acc[assignment.trainingId] = [];
- }
- acc[assignment.trainingId].push(assignment.id);
- return acc;
- },
- {} as Record<string, string[]>
- );
-
return {
- summary: (summary.data ?? []) as TrainingAssignmentSummaryItem[],
- assignmentsByTraining
+ summary: (summary.data ?? []) as TrainingAssignmentSummaryItem[]
};
}
const TrainingAssignmentsTable = memo(
- ({
- data,
- assignmentsByTraining
- }: {
- data: TrainingAssignmentSummaryItem[];
- assignmentsByTraining: Record<string, string[]>;
- }) => {
+ ({ data }: { data: TrainingAssignmentSummaryItem[] }) => {
const { t } = useLingui();
const permissions = usePermissions();
const fetcher = useFetcher();
@@ -105,11 +80,20 @@ const TrainingAssignmentsTable = memo(
accessorKey: "trainingName",
header: t`Training`,
cell: ({ row }) => (
- <Hyperlink
- to={path.to.trainingAssignmentDetail(row.original.trainingId)}
- >
- {row.original.trainingName}
- </Hyperlink>
+ <HStack spacing={2}>
+ <Hyperlink
+ to={path.to.trainingAssignmentDetail(
+ row.original.trainingAssignmentId
+ )}
+ >
+ {row.original.trainingName}
+ </Hyperlink>
+ {row.original.isExternal && (
+ <Badge variant="outline">
+ <Trans>External</Trans>
+ </Badge>
+ )}
+ </HStack>
),
meta: {
mobile: "P1",
@@ -215,17 +199,12 @@ const TrainingAssignmentsTable = memo(
const renderContextMenu = useMemo(() => {
return (row: TrainingAssignmentSummaryItem) => {
- const assignmentIds = assignmentsByTraining[row.trainingId] ?? [];
- // If there are multiple assignments for this training, we need a different approach
- // For now, we'll use the first one (or show nothing if no assignments)
- const assignmentId = assignmentIds[0];
-
- if (!assignmentId) return null;
+ const assignmentId = row.trainingAssignmentId;
return (
<>
<MenuItem shortcut={MENU_ITEM_SHORTCUTS.view} asChild>
- <Link to={path.to.trainingAssignmentDetail(row.trainingId)}>
+ <Link to={path.to.trainingAssignmentDetail(assignmentId)}>
<MenuIcon icon={<LuEye />} />
<Trans>View Status</Trans>
</Link>
@@ -254,7 +233,7 @@ const TrainingAssignmentsTable = memo(
</>
);
};
- }, [assignmentsByTraining, permissions, fetcher]);
+ }, [permissions, fetcher]);
return (
<Table<TrainingAssignmentSummaryItem>
@@ -277,14 +256,11 @@ const TrainingAssignmentsTable = memo(
TrainingAssignmentsTable.displayName = "TrainingAssignmentsTable";
export default function TrainingAssignmentsRoute() {
- const { summary, assignmentsByTraining } = useLoaderData<typeof loader>();
+ const { summary } = useLoaderData<typeof loader>();
return (
<VStack spacing={0} className="h-full">
- <TrainingAssignmentsTable
- data={summary}
- assignmentsByTraining={assignmentsByTraining}
- />
+ <TrainingAssignmentsTable data={summary} />
<RecordOutlet />
</VStack>
);
diff --git a/apps/erp/app/routes/x+/training+/$id.tsx b/apps/erp/app/routes/x+/training+/$id.tsx
index 94c1ee339b..47e7841d1c 100644
--- a/apps/erp/app/routes/x+/training+/$id.tsx
+++ b/apps/erp/app/routes/x+/training+/$id.tsx
@@ -9,13 +9,17 @@ import { getLogger } from "@carbon/logger";
import type { JSONContent } from "@carbon/react";
import {
Card,
+ CardAction,
CardContent,
CardDescription,
CardHeader,
CardTitle,
+ HStack,
isRichTextEmpty,
RecordOutlet,
RichTextView,
+ ToggleGroup,
+ ToggleGroupItem,
useDebounce,
VStack
} from "@carbon/react";
@@ -28,6 +32,7 @@ import { useState } from "react";
import type { LoaderFunctionArgs } from "react-router";
import { useLoaderData, useParams } from "react-router";
import { PanelProvider, ResizablePanels } from "~/components/Layout/Panels";
+import { Confirm } from "~/components/Modals";
import { useImageUpload, usePermissions, useUser } from "~/hooks";
import {
getTraining,
@@ -92,11 +97,6 @@ export default function TrainingRoute() {
const { id } = useParams();
if (!id) throw new Error("Could not find id");
- const { training } = useLoaderData<typeof loader>();
- const permissions = usePermissions();
- const canEditGuide =
- permissions.can("update", "people") && training.status === "Draft";
-
return (
<PanelProvider key={id}>
<div className="flex flex-col h-[calc(100dvh-var(--topbar-height)-var(--content-inset))] overflow-hidden w-full">
@@ -109,12 +109,6 @@ export default function TrainingRoute() {
content={
<div className="bg-card h-[calc(100dvh-var(--topbar-height)-var(--header-height)-var(--content-inset))] overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent w-full">
<VStack spacing={4} className="p-4">
- <TrainingGuide
- key={`guide-${id}`}
- trainingId={id}
- guidePath={training.guidePath}
- canEdit={canEditGuide}
- />
<TrainingContent key={`content-${id}`} />
<RecordOutlet />
</VStack>
@@ -133,6 +127,7 @@ function TrainingContent() {
const { id } = useParams();
if (!id) throw new Error("Could not find id");
+ const { t } = useLingui();
const permissions = usePermissions();
const loaderData = useLoaderData<typeof loader>();
@@ -164,18 +159,58 @@ function TrainingContent() {
permissions.can("update", "people") &&
loaderData?.training?.status === "Draft";
+ const guidePath = loaderData?.training?.guidePath ?? null;
+ // Content is written text or a PDF, never both. A training with a guide is a
+ // PDF training; the toggle only remembers "PDF" before the first upload.
+ const [pdfChosen, setPdfChosen] = useState(false);
+ const [isRemovePdfOpen, setIsRemovePdfOpen] = useState(false);
+ const contentType = guidePath || pdfChosen ? "pdf" : "write";
+
return (
<Card>
- <CardHeader>
- <CardTitle>
- <Trans>Content</Trans>
- </CardTitle>
- <CardDescription>
- <Trans>Shown to employees below the PDF guide</Trans>
- </CardDescription>
- </CardHeader>
- <CardContent className={canEdit ? "p-0 overflow-hidden" : undefined}>
- {canEdit ? (
+ <HStack className="w-full justify-between items-start">
+ <CardHeader>
+ <CardTitle>
+ <Trans>Content</Trans>
+ </CardTitle>
+ <CardDescription>
+ <Trans>What employees read before the questions</Trans>
+ </CardDescription>
+ </CardHeader>
+ <CardAction>
+ <ToggleGroup
+ type="single"
+ value={contentType}
+ disabled={!canEdit}
+ onValueChange={(value) => {
+ if (value === "pdf") setPdfChosen(true);
+ if (value === "write") {
+ if (guidePath) setIsRemovePdfOpen(true);
+ else setPdfChosen(false);
+ }
+ }}
+ >
+ <ToggleGroupItem size="sm" value="write">
+ <Trans>Write</Trans>
+ </ToggleGroupItem>
+ <ToggleGroupItem size="sm" value="pdf">
+ <Trans>Upload PDF</Trans>
+ </ToggleGroupItem>
+ </ToggleGroup>
+ </CardAction>
+ </HStack>
+ <CardContent
+ className={
+ canEdit && contentType === "write" ? "p-0 overflow-hidden" : undefined
+ }
+ >
+ {contentType === "pdf" ? (
+ <TrainingGuide
+ trainingId={id}
+ guidePath={guidePath}
+ canEdit={canEdit}
+ />
+ ) : canEdit ? (
// Flush toolbar: pad the text, not the panel.
<Editor
toolbar
@@ -201,6 +236,24 @@ function TrainingContent() {
/>
)}
</CardContent>
+ {isRemovePdfOpen && (
+ <Confirm
+ action={path.to.bulkUpdateTraining}
+ title={t`Switch to Written Content`}
+ text={t`This removes the PDF. Employees will see the written content instead.`}
+ confirmText={t`Remove PDF`}
+ confirmVariant="destructive"
+ onCancel={() => setIsRemovePdfOpen(false)}
+ onSubmit={() => {
+ setIsRemovePdfOpen(false);
+ setPdfChosen(false);
+ }}
+ >
+ <input type="hidden" name="ids" value={id} />
+ <input type="hidden" name="field" value="guidePath" />
+ <input type="hidden" name="value" value="" />
+ </Confirm>
+ )}
</Card>
);
}
diff --git a/apps/erp/app/routes/x+/training+/update.tsx b/apps/erp/app/routes/x+/training+/update.tsx
index d75587d16a..bcf3de945c 100644
--- a/apps/erp/app/routes/x+/training+/update.tsx
+++ b/apps/erp/app/routes/x+/training+/update.tsx
@@ -53,24 +53,11 @@ export async function action({ request }: ActionFunctionArgs) {
updatedAt: new Date().toISOString()
})
.in("id", ids as string[]);
- case "isExternal":
case "guidePath": {
- // These change how employees take the training, so Draft only.
+ // The guide is the training's content, so it changes only while Draft.
const refusal = await refuseUnlessDraft(client, companyId, ids);
if (refusal) return refusal;
- if (field === "isExternal") {
- return await client
- .from("training")
- .update({
- isExternal: value === "on",
- updatedBy: userId,
- updatedAt: new Date().toISOString()
- })
- .in("id", ids as string[])
- .eq("companyId", companyId);
- }
-
const trainingId = ids[0] as string;
if (
ids.length !== 1 ||
@@ -122,7 +109,9 @@ async function refuseUnlessDraft(
}
if (trainings.data.some((training) => training.status !== "Draft")) {
return {
- error: { message: "This can only change while the training is Draft" },
+ error: {
+ message: "The guide can only change while the training is Draft"
+ },
data: null
};
}
diff --git a/apps/erp/app/utils/path.ts b/apps/erp/app/utils/path.ts
index 9f7437a172..de9d057317 100644
--- a/apps/erp/app/utils/path.ts
+++ b/apps/erp/app/utils/path.ts
@@ -2572,8 +2572,8 @@ export const path = {
trainingAssignment: (assignmentId: string) =>
generatePath(`${x}/resources/assignments/assignment/${assignmentId}`),
- trainingAssignmentDetail: (trainingId: string) =>
- generatePath(`${x}/resources/assignments/${trainingId}`),
+ trainingAssignmentDetail: (assignmentId: string) =>
+ generatePath(`${x}/resources/assignments/${assignmentId}`),
trainingAssignments: `${x}/resources/assignments`,
trainingQuestion: (id: string, questionId: string) =>
generatePath(`${x}/training/${id}/questions/${questionId}`),
diff --git a/docs/content/docs/reference/training.mdx b/docs/content/docs/reference/training.mdx
index e3a2227149..1a94349959 100644
--- a/docs/content/docs/reference/training.mdx
+++ b/docs/content/docs/reference/training.mdx
@@ -1,9 +1,9 @@
---
title: Training
-description: Training programs, PDF guides, quiz questions, external certifications, group assignments, per-period completion tracking, and the weekly reminder digest.
+description: Training programs, written or PDF content, quiz questions, group assignments, external training, per-period completion tracking, and the weekly reminder digest.
---
-**Training** manages required courses, employee-group assignments, and completion records. A training program contains rich content, an optional PDF guide, and either a quiz or, for training taken outside Carbon, a certificate upload. Carbon tracks completion for each employee and period, sends weekly reminders for outstanding assignments, and allows managers to record manual completion. Training belongs to the [resources](/docs/reference/work-centers) area and uses the `resources` permission.
+**Training** manages required courses, employee-group assignments, and completion records. A training program contains written content or a PDF, and a quiz. Training taken outside Carbon is an external assignment with only a name, which an admin marks complete. Carbon tracks completion for each employee and period, sends weekly reminders for outstanding assignments, and allows managers to record manual completion. Training belongs to the [resources](/docs/reference/work-centers) area and uses the `resources` permission.
For example, create a "Lockout/Tagout" training with type **"Mandatory"** and frequency **"Annual"**, then assign it to the "Machinists" group. Each group member remains **"Pending"** for the current year until completion and receives a Sunday reminder while outstanding.
@@ -11,16 +11,15 @@ For example, create a "Lockout/Tagout" training with type **"Mandatory"** and fr
Each training is a row in the `training` table (`packages/database/supabase/migrations/20251205021915_training.sql:18`). The create form requires only a **Name** (`apps/erp/app/modules/resources/ui/Training/TrainingForm.tsx:76`). Configure the remaining fields in the **Properties** panel (`apps/erp/app/modules/resources/ui/Training/TrainingProperties.tsx`), which saves each change through a bulk-update action.
-<Screenshot label="Training detail page: the Questions list on the left, the PDF Guide and Content cards in the middle, and the Properties panel on the right with the External Certification switch" caption="Questions on the left, the guide and content in the middle, properties on the right." />
+<Screenshot label="Training detail page: the Questions list on the left, the Content card with its Write | Upload PDF toggle in the middle, and the Properties panel on the right" caption="Questions on the left, the content in the middle, properties on the right." />
<FieldTable>
<Field name="name" required>The training's title.</Field>
<Field name="type" type="Mandatory | Optional">Whether completion is required. Drives the badge on the list and, for mandatory trainings, the sense of "you must finish this."</Field>
<Field name="frequency" type="Once | Quarterly | Annual">How often the training must be re-taken. **"Once"** means complete it a single time, forever. **"Quarterly"** and **"Annual"** are *recurring* — completion is tracked per period and resets when a new period begins.</Field>
<Field name="status" type="Draft | Active | Archived">Lifecycle of the training itself, changed from the page header. See below.</Field>
-<Field name="content">The training material, stored as rich JSON (`content`). This is the body an employee reads, below the PDF guide.</Field>
-<Field name="guidePath">One optional PDF guide, uploaded in the **PDF Guide** card. Employees read it before the questions.</Field>
-<Field name="isExternal" type="boolean">**External Certification**. When on, employees complete the training by uploading a certificate instead of answering a quiz.</Field>
+<Field name="content">The written training material, stored as rich JSON (`content`). Employees read it before the questions.</Field>
+<Field name="guidePath">The uploaded PDF. A training with a PDF shows the PDF to employees instead of the written content.</Field>
<Field name="estimatedDuration">A free-text estimate of how long the training takes.</Field>
<Field name="tags">Free-form tags for filtering the catalog.</Field>
<Field name="assignee">The person responsible for the training.</Field>
@@ -37,22 +36,17 @@ Change the status from the page header: a Draft training shows **Publish**, an A
</StatusFlow>
<Callout type="note" title="Only a Draft training can change">
-The content, the PDF guide, the questions, and the **External Certification** switch are editable only while the training is **"Draft"**; the server refuses the guide and the switch on any other status (`apps/erp/app/routes/x+/training+/update.tsx`). Employees can open and complete only an **"Active"** training. To change a published training, **Reopen** it first.
+The content, the PDF, and the questions are editable only while the training is **"Draft"**; the server refuses a PDF change on any other status (`apps/erp/app/routes/x+/training+/update.tsx`). Employees can open and complete only an **"Active"** training. To change a published training, **Reopen** it first.
</Callout>
-## PDF guide
+## Written content or a PDF
-A training can carry one PDF guide, for shops that already have their training material as a document. Drop the PDF into the **PDF Guide** card while the training is Draft; **Replace** swaps it and **Remove** takes it off after a confirmation (`apps/erp/app/modules/resources/ui/Training/TrainingGuide.tsx`). Employees see the guide in a viewer on the first step of their training, above the typed content.
+A training's content is one of two kinds, chosen with the **Write | Upload PDF** toggle on the **Content** card:
-## External certifications
+- **Write:** type the material in the editor.
+- **Upload PDF:** drop one PDF, for shops that already have their training material as a document. **Replace** swaps it (`apps/erp/app/modules/resources/ui/Training/TrainingGuide.tsx`).
-Some training happens outside Carbon, such as a forklift course from an outside provider. Turn on **External Certification** in Properties and the training has no quiz: the Questions panel explains this instead of listing questions, and employees complete it by uploading the certificate they received.
-
-- **Employee:** on the training page, **Upload Certificate**, then drop one PDF, PNG or JPG file of 10 MB or less and **Submit Certificate**. The training is complete at once (`apps/erp/app/modules/resources/resources.server.ts`).
-- **Manager:** on the assignment's roster, **Mark Complete** asks for the employee's certificate. A phone photo in HEIC format is converted to JPEG on upload.
-- **Proof:** a completed row shows **View Certificate** on the assignment roster and on the person's Trainings card.
-
-Carbon does not check what the file contains. If a certificate is wrong, a manager removes the completion (below) and the employee uploads again.
+Employees see the PDF in a viewer when the training has one, and the written content when it does not. To go back to written content, choose **Write**; Carbon asks before it removes the PDF. Both change only while the training is Draft.
## Quiz questions
@@ -72,11 +66,23 @@ Questions are authored on the training detail page and can be reordered. The sto
Trainings are assigned to **groups**, not individual employees. A `trainingAssignment` (`20251205021915_training.sql:93`) links one `trainingId` to an array of `groupIds`. Every employee in those groups receives the assignment.
+A new assignment is **Internal** or **External**. An internal assignment picks a training from the catalog. An external assignment has only a **Name**, as below.
+
<Callout type="note" title="Assignments target groups, then expand to people">
The assignment stores `groupIds`, not employee ids. Carbon expands the groups to their members when it computes who owes the training, so adding a person to a group automatically enrolls them — you don't re-assign.
</Callout>
-Open an existing assignment and switch to the **Status** tab to see the per-employee roster: each member with their current status, a completion date if they've finished, and a **"Mark Complete"** button (`apps/erp/app/modules/resources/ui/Training/TrainingAssignmentForm.tsx`). Assigning also fires a notification to the newly-covered employees (see [notifications](/docs/reference/notifications)).
+Open an existing assignment and switch to the **Status** tab to see the per-employee roster: each member with their current status, a completion date if they've finished, and a **"Mark Complete"** button (`apps/erp/app/modules/resources/ui/Training/TrainingAssignmentForm.tsx`). Assigning an internal training also fires a notification to the newly-covered employees (see [notifications](/docs/reference/notifications)).
+
+## External training
+
+Some training happens outside Carbon, such as a forklift course from an outside provider. Create an **External** assignment with the course's **Name** and its groups. Carbon stores no training for it (`trainingAssignment.name`, `20261014164752_external-training-assignments.sql`), so it has no content, no quiz and no frequency. It is one-time: each employee is **"Pending"** or **"Completed"**.
+
+- **No employee page and no notifications.** Employees are not notified or reminded, and they cannot open it.
+- **Admin completes it:** on the roster, **Mark Complete** can attach the employee's certificate (one PDF, PNG or JPG of 10 MB or less). The certificate is optional. A phone photo in HEIC format is converted to JPEG on upload.
+- **Proof:** a completed row with a certificate shows **View Certificate** on the roster and on the person's Trainings card.
+
+The assignments list shows an **External** badge on these rows.
## Completion and status
@@ -139,8 +145,8 @@ Training is one way to grant an ability; a manager can also add it by hand on th
Exact strings and preconditions for training assignment, completion, and reminders.
-### "Training is required"
-The assignment form was submitted without picking a training (`apps/erp/app/modules/resources/resources.models.ts:325`). Select a training in the **Training** field before saving. The field is read-only when editing an existing assignment, so this only bites on create.
+### "Training is required" / "Name is required"
+An internal assignment needs a training, and an external one needs a name (`trainingAssignmentValidator`, `apps/erp/app/modules/resources/resources.models.ts`). The training is read-only when editing an existing assignment, so "Training is required" only bites on create.
### "At least one group is required"
An assignment must target at least one group; the `groupIds` array was empty. Add one or more groups in **"Assign to Groups"** before saving.
@@ -161,11 +167,11 @@ The action is gated by the `resources` permission — `resources_update` to mark
### "This training is not currently active"
The employee or manager tried to complete a training that is **"Draft"** or **"Archived"**. Publish it (or **Reopen** and publish) first.
-### "Upload a certificate file" / "The certificate must be a PDF, PNG or JPG" / "The certificate must be 10 MB or smaller"
-An **External Certification** training needs one certificate file of an accepted type and size (`validateTrainingCertificate`, `apps/erp/app/modules/resources/resources.models.ts`). The employee page does not accept HEIC; the manager's **Mark Complete** dialog converts HEIC to JPEG.
+### "The certificate must be a PDF, PNG or JPG" / "The certificate must be 10 MB or smaller"
+A certificate attached to an external assignment's **Mark Complete** must be of an accepted type and size (`validateTrainingCertificate`, `apps/erp/app/modules/resources/resources.models.ts`). The dialog converts HEIC to JPEG.
-### "This can only change while the training is Draft"
-The PDF guide or the **External Certification** switch was changed on an Active or Archived training. **Reopen** it first.
+### "The guide can only change while the training is Draft"
+The PDF was changed on an Active or Archived training. **Reopen** it first.
### "A completed training re-appeared as Pending"
Expected for recurring frequencies. A **"Quarterly"** or **"Annual"** training tracks completion per period; when the new period starts (a new `Q?-YYYY` or `YYYY`), a fresh completion is required and the employee resets to **"Pending"** (`20251206000000_training_assignments.sql`). Only **"Once"** trainings stay completed forever.
diff --git a/docs/content/src/glossary/terms.ts b/docs/content/src/glossary/terms.ts
index d07022ca6c..abe93a0859 100644
--- a/docs/content/src/glossary/terms.ts
+++ b/docs/content/src/glossary/terms.ts
@@ -2318,8 +2318,8 @@ export const terms = {
term: msg`SWIFT / BIC`,
definition: msg`The code that identifies a bank internationally, 8 or 11 characters. A cross-border payment will not route without it, while a domestic transfer usually travels on the local routing code instead.`
},
- "external-certification": {
- term: msg`External certification`,
- definition: msg`Training taken outside Carbon, such as a vendor course. Employees complete it by uploading the certificate they received instead of answering a quiz.`
+ "external-training": {
+ term: msg`External training`,
+ definition: msg`Training taken outside Carbon, such as a vendor course. The assignment has only a name. An admin marks each employee complete and can attach their certificate.`
}
} as const satisfies Record<string, GlossaryEntry>;
diff --git a/packages/database/src/datasets/wipe.ts b/packages/database/src/datasets/wipe.ts
index 8f8c91b911..b9674bab6a 100644
--- a/packages/database/src/datasets/wipe.ts
+++ b/packages/database/src/datasets/wipe.ts
@@ -103,7 +103,9 @@ const MODEL_SLIDE_TABLES = [
// with a CHECK like that goes here (see .claude/rules/onboarding-company-templates.md).
const PARENT_CHECK_TABLES = [
// customerContractInvoiceLine_parent_check: an invoice OR a credit memo
- "customerContractInvoiceLine"
+ "customerContractInvoiceLine",
+ // trainingAssignment_training_or_name: a training OR an external name
+ "trainingAssignment"
];
type ForeignKey = {
diff --git a/packages/database/src/swagger-docs-schema.ts b/packages/database/src/swagger-docs-schema.ts
index 9e32315b0f..b6d77dc365 100644
--- a/packages/database/src/swagger-docs-schema.ts
+++ b/packages/database/src/swagger-docs-schema.ts
@@ -63420,6 +63420,9 @@ export default {
{
$ref: "#/parameters/rowFilter.trainingAssignment.updatedBy"
},
+ {
+ $ref: "#/parameters/rowFilter.trainingAssignment.name"
+ },
{
$ref: "#/parameters/select"
},
@@ -63503,6 +63506,9 @@ export default {
{
$ref: "#/parameters/rowFilter.trainingAssignment.updatedBy"
},
+ {
+ $ref: "#/parameters/rowFilter.trainingAssignment.name"
+ },
{
$ref: "#/parameters/preferReturn"
}
@@ -63540,6 +63546,9 @@ export default {
{
$ref: "#/parameters/rowFilter.trainingAssignment.updatedBy"
},
+ {
+ $ref: "#/parameters/rowFilter.trainingAssignment.name"
+ },
{
$ref: "#/parameters/body.trainingAssignment"
},
@@ -96780,9 +96789,6 @@ export default {
{
$ref: "#/parameters/rowFilter.training.guidePath"
},
- {
- $ref: "#/parameters/rowFilter.training.isExternal"
- },
{
$ref: "#/parameters/select"
},
@@ -96899,9 +96905,6 @@ export default {
{
$ref: "#/parameters/rowFilter.training.guidePath"
},
- {
- $ref: "#/parameters/rowFilter.training.isExternal"
- },
{
$ref: "#/parameters/preferReturn"
}
@@ -96972,9 +96975,6 @@ export default {
{
$ref: "#/parameters/rowFilter.training.guidePath"
},
- {
- $ref: "#/parameters/rowFilter.training.isExternal"
- },
{
$ref: "#/parameters/body.training"
},
@@ -147757,7 +147757,7 @@ export default {
type: "object"
},
trainingAssignment: {
- required: ["id", "trainingId", "companyId", "createdAt", "createdBy"],
+ required: ["id", "companyId", "createdAt", "createdBy"],
properties: {
id: {
default: "public.id('ta'::text)",
@@ -147804,6 +147804,10 @@ export default {
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
format: "text",
type: "string"
+ },
+ name: {
+ format: "text",
+ type: "string"
}
},
type: "object"
@@ -164110,8 +164114,7 @@ export default {
"frequency",
"type",
"createdAt",
- "createdBy",
- "isExternal"
+ "createdBy"
],
properties: {
id: {
@@ -164213,11 +164216,6 @@ export default {
guidePath: {
format: "text",
type: "string"
- },
- isExternal: {
- default: false,
- format: "boolean",
- type: "boolean"
}
},
type: "object"
@@ -201162,6 +201160,12 @@ export default {
in: "query",
type: "string"
},
+ "rowFilter.trainingAssignment.name": {
+ name: "name",
+ required: false,
+ in: "query",
+ type: "string"
+ },
"body.configurationRule": {
name: "configurationRule",
description: "configurationRule",
@@ -219548,12 +219552,6 @@ export default {
in: "query",
type: "string"
},
- "rowFilter.training.isExternal": {
- name: "isExternal",
- required: false,
- in: "query",
- type: "string"
- },
"body.gauge": {
name: "gauge",
description: "gauge",
diff --git a/packages/database/src/types.ts b/packages/database/src/types.ts
index 5d5085b537..0e351681ce 100644
--- a/packages/database/src/types.ts
+++ b/packages/database/src/types.ts
@@ -69351,7 +69351,6 @@ export type Database = {
grantsAbilityId: string | null
guidePath: string | null
id: string
- isExternal: boolean
name: string
processId: string | null
status: Database["public"]["Enums"]["trainingStatus"]
@@ -69373,7 +69372,6 @@ export type Database = {
grantsAbilityId?: string | null
guidePath?: string | null
id?: string
- isExternal?: boolean
name: string
processId?: string | null
status?: Database["public"]["Enums"]["trainingStatus"]
@@ -69395,7 +69393,6 @@ export type Database = {
grantsAbilityId?: string | null
guidePath?: string | null
id?: string
- isExternal?: boolean
name?: string
processId?: string | null
status?: Database["public"]["Enums"]["trainingStatus"]
@@ -69576,7 +69573,8 @@ export type Database = {
createdBy: string
groupIds: string[] | null
id: string
- trainingId: string
+ name: string | null
+ trainingId: string | null
updatedAt: string | null
updatedBy: string | null
}
@@ -69586,7 +69584,8 @@ export type Database = {
createdBy: string
groupIds?: string[] | null
id?: string
- trainingId: string
+ name?: string | null
+ trainingId?: string | null
updatedAt?: string | null
updatedBy?: string | null
}
@@ -69596,7 +69595,8 @@ export type Database = {
createdBy?: string
groupIds?: string[] | null
id?: string
- trainingId?: string
+ name?: string | null
+ trainingId?: string | null
updatedAt?: string | null
updatedBy?: string | null
}
@@ -93991,6 +93991,7 @@ export type Database = {
employeeName: string
employeeStartDate: string
frequency: Database["public"]["Enums"]["trainingFrequency"]
+ isExternal: boolean
status: string
trainingAssignmentId: string
trainingId: string
@@ -94005,9 +94006,11 @@ export type Database = {
completionPercent: number
currentPeriod: string
frequency: Database["public"]["Enums"]["trainingFrequency"]
+ isExternal: boolean
overdue: number
pending: number
totalAssigned: number
+ trainingAssignmentId: string
trainingId: string
trainingName: string
}[]
diff --git a/packages/database/supabase/migrations/20261014164752_external-training-assignments.sql b/packages/database/supabase/migrations/20261014164752_external-training-assignments.sql
new file mode 100644
index 0000000000..7701fcbfa4
--- /dev/null
+++ b/packages/database/supabase/migrations/20261014164752_external-training-assignments.sql
@@ -0,0 +1,121 @@
+-- An external training happens outside Carbon: the assignment carries only a
+-- name, has no training, and is completed by an admin. It is one-time.
+ALTER TABLE "trainingAssignment"
+ ALTER COLUMN "trainingId" DROP NOT NULL,
+ ADD COLUMN "name" TEXT,
+ ADD CONSTRAINT "trainingAssignment_training_or_name"
+ CHECK (num_nonnulls("trainingId", "name") = 1);
+
+-- Replaced by external assignments.
+ALTER TABLE "training" DROP COLUMN "isExternal";
+
+-- Both return types change, and the summary reads the status function.
+DROP FUNCTION IF EXISTS public.get_training_assignment_summary(text);
+DROP FUNCTION IF EXISTS public.get_training_assignment_status(text, text);
+
+CREATE FUNCTION public.get_training_assignment_status(p_company_id text, p_employee_id text DEFAULT NULL::text)
+ RETURNS TABLE("trainingAssignmentId" text, "trainingId" text, "trainingName" text, frequency "trainingFrequency", "trainingType" "trainingType", "isExternal" boolean, "employeeId" text, "employeeName" text, "avatarUrl" text, "employeeStartDate" date, "companyId" text, "currentPeriod" text, "completionId" integer, "completedAt" timestamp with time zone, status text)
+ LANGUAGE plpgsql
+ SECURITY DEFINER
+AS $function$
+BEGIN
+ PERFORM assert_company_access(p_company_id);
+
+ RETURN QUERY
+ WITH group_users AS (
+ SELECT DISTINCT
+ ta.id AS assignment_id,
+ jsonb_array_elements_text(users_for_groups(ta."groupIds")) AS user_id
+ FROM "trainingAssignment" ta
+ WHERE ta."companyId" = p_company_id
+ ),
+ assigned_employees AS (
+ SELECT DISTINCT
+ ta.id AS "trainingAssignmentId",
+ ta."trainingId" AS "trainingId",
+ COALESCE(t."name", ta."name") AS "trainingName",
+ -- An external assignment is one-time.
+ COALESCE(t."frequency", 'Once'::"trainingFrequency") AS "frequency",
+ COALESCE(t."type", 'Mandatory'::"trainingType") AS "trainingType",
+ (ta."trainingId" IS NULL) AS "isExternal",
+ u.id AS "employeeId",
+ u."fullName" AS "employeeName",
+ u."avatarUrl" AS "avatarUrl",
+ ej."startDate" AS "employeeStartDate",
+ ta."companyId" AS "companyId"
+ FROM "trainingAssignment" ta
+ LEFT JOIN "training" t ON t.id = ta."trainingId"
+ JOIN group_users gu ON gu.assignment_id = ta.id
+ JOIN "user" u ON u.id = gu.user_id AND u.active = TRUE
+ JOIN "employee" e ON e.id = u.id AND e."companyId" = ta."companyId"
+ LEFT JOIN "employeeJob" ej ON ej.id = u.id AND ej."companyId" = ta."companyId"
+ WHERE ta."companyId" = p_company_id
+ AND (ta."trainingId" IS NULL OR t."status" = 'Active')
+ AND (p_employee_id IS NULL OR u.id = p_employee_id)
+ ),
+ with_period AS (
+ SELECT ae.*, get_current_training_period(ae."frequency") AS "currentPeriod"
+ FROM assigned_employees ae
+ )
+ SELECT
+ wp."trainingAssignmentId",
+ wp."trainingId",
+ wp."trainingName",
+ wp."frequency",
+ wp."trainingType",
+ wp."isExternal",
+ wp."employeeId",
+ wp."employeeName",
+ wp."avatarUrl",
+ wp."employeeStartDate",
+ wp."companyId",
+ wp."currentPeriod",
+ tc.id AS "completionId",
+ tc."completedAt" AS "completedAt",
+ CASE
+ WHEN wp."frequency" = 'Once' THEN
+ CASE WHEN tc.id IS NOT NULL THEN 'Completed' ELSE 'Pending' END
+ WHEN tc.id IS NOT NULL THEN 'Completed'
+ WHEN NOT employee_requires_period(wp."employeeStartDate", wp."currentPeriod") THEN 'Not Required'
+ WHEN get_period_end_date(wp."currentPeriod") < CURRENT_DATE THEN 'Overdue'
+ ELSE 'Pending'
+ END AS status
+ FROM with_period wp
+ LEFT JOIN "trainingCompletion" tc ON
+ tc."trainingAssignmentId" = wp."trainingAssignmentId"
+ AND tc."employeeId" = wp."employeeId"
+ AND ((wp."frequency" = 'Once' AND tc."period" IS NULL) OR tc."period" = wp."currentPeriod");
+END;
+$function$;
+
+-- One row per assignment: an external assignment has no training to group by.
+CREATE FUNCTION public.get_training_assignment_summary(p_company_id text)
+ RETURNS TABLE("trainingAssignmentId" text, "trainingId" text, "trainingName" text, frequency "trainingFrequency", "isExternal" boolean, "currentPeriod" text, "totalAssigned" bigint, completed bigint, pending bigint, overdue bigint, "completionPercent" numeric)
+ LANGUAGE plpgsql
+ SECURITY DEFINER
+AS $function$
+BEGIN
+ PERFORM assert_company_access(p_company_id);
+
+ RETURN QUERY
+ SELECT
+ tas."trainingAssignmentId",
+ tas."trainingId",
+ tas."trainingName",
+ tas.frequency,
+ tas."isExternal",
+ tas."currentPeriod",
+ COUNT(*) FILTER (WHERE tas.status != 'Not Required'),
+ COUNT(*) FILTER (WHERE tas.status = 'Completed'),
+ COUNT(*) FILTER (WHERE tas.status = 'Pending'),
+ COUNT(*) FILTER (WHERE tas.status = 'Overdue'),
+ CASE
+ WHEN COUNT(*) FILTER (WHERE tas.status != 'Not Required') = 0 THEN 100
+ ELSE ROUND(COUNT(*) FILTER (WHERE tas.status = 'Completed')::NUMERIC * 100 /
+ NULLIF(COUNT(*) FILTER (WHERE tas.status != 'Not Required'), 0), 1)
+ END
+ FROM get_training_assignment_status(p_company_id) tas
+ GROUP BY tas."trainingAssignmentId", tas."trainingId", tas."trainingName",
+ tas.frequency, tas."isExternal", tas."currentPeriod";
+END;
+$function$;
diff --git a/packages/jobs/manifests/schema.json b/packages/jobs/manifests/schema.json
index 8101a98588..47b2d695be 100644
--- a/packages/jobs/manifests/schema.json
+++ b/packages/jobs/manifests/schema.json
@@ -1,11 +1,11 @@
{
"kind": "carbon-company-backup",
"version": 1,
- "schemaVersion": "20261014085812",
+ "schemaVersion": "20261014164752",
"sourceCompanyId": "schema-baseline",
"sourceCompanyGroupId": null,
"sourceCompanyName": null,
- "exportedAt": "2026-10-14T16:04:53.034Z",
+ "exportedAt": "2026-10-14T17:06:25.796Z",
"exportedBy": "schema-baseline",
"label": "schema baseline",
"includeStorage": "none",
@@ -2442,8 +2442,7 @@
"updatedAt",
"updatedBy",
"grantsAbilityId",
- "guidePath",
- "isExternal"
+ "guidePath"
]
},
{
@@ -2457,7 +2456,8 @@
"createdAt",
"createdBy",
"updatedAt",
- "updatedBy"
+ "updatedBy",
+ "name"
]
},
{
diff --git a/packages/jobs/src/inngest/functions/scheduled/weekly.ts b/packages/jobs/src/inngest/functions/scheduled/weekly.ts
index a6ce92359c..3ef5e5663b 100644
--- a/packages/jobs/src/inngest/functions/scheduled/weekly.ts
+++ b/packages/jobs/src/inngest/functions/scheduled/weekly.ts
@@ -394,8 +394,10 @@ export const weeklyFunction = inngest.createFunction(
}
// Filter to outstanding and dedupe by employee+assignment
- const outstandingTrainings = (trainingStatus ?? []).filter((t) =>
- isReminderItemStatus(t.status)
+ // An external assignment is completed by an admin; its outside
+ // system reminds people, so Carbon does not.
+ const outstandingTrainings = (trainingStatus ?? []).filter(
+ (t) => !t.isExternal && isReminderItemStatus(t.status)
);
// Group by trainingAssignmentId to send one notification per assignment per employee
diff --git a/packages/locale/locales/de/erp.po b/packages/locale/locales/de/erp.po
index 8a520ee303..57819e37c7 100644
--- a/packages/locale/locales/de/erp.po
+++ b/packages/locale/locales/de/erp.po
@@ -4655,15 +4655,9 @@ msgstr "Zentrale Abrechnung ist aktiviert"
msgid "Cert Version"
msgstr "Zertifikat-Version"
-msgid "Certificate not accepted"
-msgstr "Zertifikat nicht angenommen"
-
msgid "Certificate Number"
msgstr "Zertifikatnummer"
-msgid "Certificate Submitted"
-msgstr "Zertifikat eingereicht"
-
msgid "Certificate uploaded"
msgstr "Zertifikat hochgeladen"
@@ -4967,9 +4961,6 @@ msgstr "Klicken Sie erneut, um die Verbindung zu trennen"
msgid "Click components in the viewer to add them. Shift-click adds several."
msgstr "Klicken Sie im Viewer auf Komponenten und Sie können diese hinzufügen. Mit Umschalt-Klick können Sie mehrere hinzufügen."
-msgid "Click or drop to choose a different file"
-msgstr "Klicken oder ziehen Sie eine andere Datei"
-
msgid "Click to rename"
msgstr "Klicken Sie zum Umbenennen"
@@ -8076,9 +8067,6 @@ msgstr "Direktlieferungs-Status"
msgid "Drop whole pages or sections a customer doesn't need."
msgstr "Ganze Seiten oder Abschnitte entfernen, die ein Kunde nicht benötigt."
-msgid "Drop your certificate here, or click to choose a file"
-msgstr "Ziehen Sie Ihr Zertifikat hierher, oder klicken Sie, um eine Datei auszuwählen"
-
msgid "Drop your file here, or click to browse."
msgstr "Datei hier ablegen oder zum Durchsuchen klicken."
@@ -8763,14 +8751,8 @@ msgstr "Mitarbeiter, die dieser Schulung zugewiesen sind, können sie öffnen. D
msgid "Employees can no longer open this training."
msgstr "Mitarbeiter können diese Schulung nicht mehr öffnen."
-msgid "Employees complete this training by uploading their certificate. Turn off External Certification in Properties to use questions."
-msgstr "Mitarbeiter schließen diese Schulung ab, indem sie ihr Zertifikat hochladen. Deaktivieren Sie die externe Zertifizierung in den Eigenschaften, um Fragen zu verwenden."
-
-msgid "Employees read it before the questions"
-msgstr "Mitarbeiter lesen es vor den Fragen"
-
-msgid "Employees will no longer see this PDF. You can upload a new one while the training is Draft."
-msgstr "Mitarbeiter sehen diese PDF nicht mehr. Sie können eine neue hochladen, während die Schulung im Entwurfsstadium ist."
+msgid "Employees complete a training in Carbon"
+msgstr ""
msgid "Empty"
msgstr "Leer"
@@ -9489,12 +9471,6 @@ msgstr "Erweiterte Preis"
msgid "External"
msgstr "Extern"
-msgid "External certification"
-msgstr "Externe Zertifizierung"
-
-msgid "External Certification"
-msgstr "Externe Zertifizierung"
-
msgid "External Delta"
msgstr "Externe Differenz"
@@ -9519,6 +9495,9 @@ msgstr "Externe Ref."
msgid "External Reference"
msgstr "Externe Referenz"
+msgid "External training"
+msgstr ""
+
msgid "Extra fields to capture data Carbon doesn't track by default"
msgstr "Zusätzliche Felder zum Erfassen von Daten, die Carbon standardmäßig nicht verfolgt"
@@ -13057,6 +13036,10 @@ msgstr "Zugeordnete Werte"
msgid "Mark \"{0}\" as passed?"
msgstr "Markiere „{0}\" als bestanden?"
+#. placeholder {0}: assignment.employeeName?.trim()
+msgid "Mark {0} complete. Attach their certificate if you have one."
+msgstr ""
+
msgid "Mark absent"
msgstr "Als abwesend markieren"
@@ -14737,8 +14720,8 @@ msgstr "Keine Zahlungspositionen."
msgid "No payments yet."
msgstr "Noch keine Zahlungen."
-msgid "No PDF guide"
-msgstr "Keine PDF-Anleitung"
+msgid "No PDF uploaded"
+msgstr ""
msgid "No planned invoices are removed."
msgstr "Es werden keine geplanten Rechnungen entfernt."
@@ -14782,9 +14765,6 @@ msgstr "Noch keine Produktion aufgezeichnet."
msgid "No purchases in this period"
msgstr "Keine Käufe in diesem Zeitraum"
-msgid "No quiz for external certifications"
-msgstr "Kein Quiz für externe Zertifizierungen"
-
msgid "No Quote"
msgstr "Kein Angebot"
@@ -16293,9 +16273,6 @@ msgstr "PDF (Dokument)"
msgid "PDF downloaded"
msgstr "PDF heruntergeladen"
-msgid "PDF Guide"
-msgstr "PDF-Anleitung"
-
msgid "PDF pages"
msgstr "PDF-Seiten"
@@ -16305,9 +16282,6 @@ msgstr "PDF-Vorschau"
msgid "PDF Watermark"
msgstr "PDF-Wasserzeichen"
-msgid "PDF, PNG or JPG, up to 10 MB"
-msgstr "PDF, PNG oder JPG, bis zu 10 MB"
-
msgid "Pending"
msgstr "Ausstehend"
@@ -18346,8 +18320,8 @@ msgstr "Teil entfernen"
msgid "Remove path"
msgstr "Pfad entfernen"
-msgid "Remove PDF Guide"
-msgstr "PDF-Anleitung entfernen"
+msgid "Remove PDF"
+msgstr ""
msgid "Remove row"
msgstr "Zeile entfernen"
@@ -20733,9 +20707,6 @@ msgstr "Die Top 1.000 Gruppen nach Betrag werden angezeigt"
msgid "Shown as a faint background behind every page of generated PDFs"
msgstr "Wird als schwacher Hintergrund hinter jeder Seite generierter PDFs angezeigt"
-msgid "Shown to employees below the PDF guide"
-msgstr "Wird Mitarbeitern unter der PDF-Anleitung angezeigt"
-
msgid "Shown to the customer on the invoice"
msgstr "Dem Kunden auf der Rechnung angezeigt"
@@ -21410,9 +21381,6 @@ msgstr "Nebenbuch"
msgid "Submit anonymously"
msgstr "Anonym einreichen"
-msgid "Submit Certificate"
-msgstr "Zertifikat einreichen"
-
msgid "Submit for approval"
msgstr "Zur Genehmigung einreichen"
@@ -21757,6 +21725,9 @@ msgstr "Zum Schwenkmodus wechseln"
msgid "Switch to select mode"
msgstr "Zum Auswahlmodus wechseln"
+msgid "Switch to Written Content"
+msgstr ""
+
msgid "Switch users over and confirm access"
msgstr "Benutzer wechseln und Zugriff bestätigen"
@@ -21821,6 +21792,9 @@ msgstr "Berücksichtigen Sie die kürzeste verbleibende Haltbarkeit der verbrauc
msgid "taken"
msgstr "genommen"
+msgid "Taken outside Carbon. You mark each employee complete."
+msgstr ""
+
msgid "Takes Effect"
msgstr "Wird wirksam"
@@ -23480,6 +23454,9 @@ msgstr "diese Bestellung"
msgid "This Quarter"
msgstr "Dieses Quartal"
+msgid "This removes the PDF. Employees will see the written content instead."
+msgstr ""
+
msgid "This removes their authenticator app, so their next sign-in only needs a magic link. Use this when they have lost access to their authenticator. It affects their sign-in for every company they belong to."
msgstr "Dies entfernt ihre Authentifizierungs-App, daher benötigt ihre nächste Anmeldung nur einen Magic Link. Verwenden Sie dies, wenn sie den Zugriff auf ihre Authentifizierungs-App verloren haben. Dies wirkt sich auf ihre Anmeldung bei jedem Unternehmen aus, zu dem sie gehören."
@@ -23538,10 +23515,6 @@ msgstr "Dies entfernt {employeeName} für den Tag von der Tafel. Speichern Sie e
msgid "This tool is activated when change notice {activationLockId} is released."
msgstr "Dieses Werkzeug wird aktiviert, wenn die Änderungsmitteilung {activationLockId} freigegeben wird."
-#. placeholder {0}: assignment.employeeName?.trim()
-msgid "This training is external. Upload {0}'s certificate to mark it complete."
-msgstr "Diese Schulung ist extern. Laden Sie das Zertifikat von {0} hoch, um es als abgeschlossen zu markieren."
-
msgid "This unit has no cost in inventory"
msgstr "Diese Einheit hat keine Kosten im Bestand"
@@ -24083,8 +24056,8 @@ msgstr "Schulung nicht aufgezeichnet"
msgid "Training Plan"
msgstr "Schulungsplan"
-msgid "Training taken outside Carbon, such as a vendor course. Employees complete it by uploading the certificate they received instead of answering a quiz."
-msgstr "Schulung außerhalb von Carbon absolviert, z. B. ein Herstellerkurs. Mitarbeiter schließen sie ab, indem sie das erhaltene Zertifikat hochladen, anstatt ein Quiz zu beantworten."
+msgid "Training taken outside Carbon, such as a vendor course. The assignment has only a name. An admin marks each employee complete and can attach their certificate."
+msgstr ""
msgid "Training your team via the Academy and in-app guides"
msgstr "Schulung Ihres Teams über die Academy und In-App-Leitfäden"
@@ -24625,9 +24598,6 @@ msgstr "Hochladen"
msgid "Upload a PDF first"
msgstr "Laden Sie zuerst eine PDF hoch"
-msgid "Upload Certificate"
-msgstr "Zertifikat hochladen"
-
msgid "Upload chart"
msgstr "Kontenplan hochladen"
@@ -24646,14 +24616,8 @@ msgstr "Hochladen fehlgeschlagen. Bitte versuchen Sie es erneut."
msgid "Upload new backup…"
msgstr "Neue Sicherung hochladen…"
-msgid "Upload one PDF, PNG or JPG file of 10 MB or less."
-msgstr "Laden Sie eine PDF-, PNG- oder JPG-Datei von 10 MB oder weniger hoch."
-
-msgid "Upload the certificate you received for this training. Uploading it marks the training as complete."
-msgstr "Laden Sie das Zertifikat hoch, das Sie für diese Schulung erhalten haben. Das Hochladen markiert die Schulung als abgeschlossen."
-
-msgid "Upload your certificate on the next step."
-msgstr "Laden Sie Ihr Zertifikat im nächsten Schritt hoch."
+msgid "Upload PDF"
+msgstr ""
msgid "Uploaded model"
msgstr "Modell hochgeladen"
@@ -25424,6 +25388,9 @@ msgstr "Wie viel jedes Anlagegut wert ist, wie lange es dauert und was damit am
msgid "What each period's payment is for this asset in the first year"
msgstr "Welche Zahlung jeder Periode für dieses Anlagegut im ersten Jahr ist"
+msgid "What employees read before the questions"
+msgstr ""
+
msgid "What happens to an invoice once it is created"
msgstr "Was mit einer Rechnung geschieht, nachdem sie erstellt wird"
@@ -25963,6 +25930,9 @@ msgstr "Arbeitssitzungen zu Konfiguration und Daten"
msgid "Worst Performing Machines"
msgstr "Schlechteste Maschinen"
+msgid "Write"
+msgstr ""
+
msgid "Write a note…"
msgstr "Notiz schreiben…"
diff --git a/packages/locale/locales/en/erp.po b/packages/locale/locales/en/erp.po
index 8e9d0770c0..c406b31e7b 100644
--- a/packages/locale/locales/en/erp.po
+++ b/packages/locale/locales/en/erp.po
@@ -4655,15 +4655,9 @@ msgstr "Centralized billing is enabled"
msgid "Cert Version"
msgstr "Cert Version"
-msgid "Certificate not accepted"
-msgstr "Certificate not accepted"
-
msgid "Certificate Number"
msgstr "Certificate Number"
-msgid "Certificate Submitted"
-msgstr "Certificate Submitted"
-
msgid "Certificate uploaded"
msgstr "Certificate uploaded"
@@ -4967,9 +4961,6 @@ msgstr "Click again to disconnect"
msgid "Click components in the viewer to add them. Shift-click adds several."
msgstr "Click components in the viewer to add them. Shift-click adds several."
-msgid "Click or drop to choose a different file"
-msgstr "Click or drop to choose a different file"
-
msgid "Click to rename"
msgstr "Click to rename"
@@ -8076,9 +8067,6 @@ msgstr "Drop Shipment Statuses"
msgid "Drop whole pages or sections a customer doesn't need."
msgstr "Drop whole pages or sections a customer doesn't need."
-msgid "Drop your certificate here, or click to choose a file"
-msgstr "Drop your certificate here, or click to choose a file"
-
msgid "Drop your file here, or click to browse."
msgstr "Drop your file here, or click to browse."
@@ -8763,14 +8751,8 @@ msgstr "Employees assigned to this training can open it. The content, guide and
msgid "Employees can no longer open this training."
msgstr "Employees can no longer open this training."
-msgid "Employees complete this training by uploading their certificate. Turn off External Certification in Properties to use questions."
-msgstr "Employees complete this training by uploading their certificate. Turn off External Certification in Properties to use questions."
-
-msgid "Employees read it before the questions"
-msgstr "Employees read it before the questions"
-
-msgid "Employees will no longer see this PDF. You can upload a new one while the training is Draft."
-msgstr "Employees will no longer see this PDF. You can upload a new one while the training is Draft."
+msgid "Employees complete a training in Carbon"
+msgstr "Employees complete a training in Carbon"
msgid "Empty"
msgstr "Empty"
@@ -9489,12 +9471,6 @@ msgstr "Extended Price"
msgid "External"
msgstr "External"
-msgid "External certification"
-msgstr "External certification"
-
-msgid "External Certification"
-msgstr "External Certification"
-
msgid "External Delta"
msgstr "External Delta"
@@ -9519,6 +9495,9 @@ msgstr "External Ref."
msgid "External Reference"
msgstr "External Reference"
+msgid "External training"
+msgstr "External training"
+
msgid "Extra fields to capture data Carbon doesn't track by default"
msgstr "Extra fields to capture data Carbon doesn't track by default"
@@ -13057,6 +13036,10 @@ msgstr "Mapped values"
msgid "Mark \"{0}\" as passed?"
msgstr "Mark \"{0}\" as passed?"
+#. placeholder {0}: assignment.employeeName?.trim()
+msgid "Mark {0} complete. Attach their certificate if you have one."
+msgstr "Mark {0} complete. Attach their certificate if you have one."
+
msgid "Mark absent"
msgstr "Mark absent"
@@ -14737,8 +14720,8 @@ msgstr "No payment rows."
msgid "No payments yet."
msgstr "No payments yet."
-msgid "No PDF guide"
-msgstr "No PDF guide"
+msgid "No PDF uploaded"
+msgstr "No PDF uploaded"
msgid "No planned invoices are removed."
msgstr "No planned invoices are removed."
@@ -14782,9 +14765,6 @@ msgstr "No production recorded yet."
msgid "No purchases in this period"
msgstr "No purchases in this period"
-msgid "No quiz for external certifications"
-msgstr "No quiz for external certifications"
-
msgid "No Quote"
msgstr "No Quote"
@@ -16293,9 +16273,6 @@ msgstr "PDF (Document)"
msgid "PDF downloaded"
msgstr "PDF downloaded"
-msgid "PDF Guide"
-msgstr "PDF Guide"
-
msgid "PDF pages"
msgstr "PDF pages"
@@ -16305,9 +16282,6 @@ msgstr "PDF Preview"
msgid "PDF Watermark"
msgstr "PDF Watermark"
-msgid "PDF, PNG or JPG, up to 10 MB"
-msgstr "PDF, PNG or JPG, up to 10 MB"
-
msgid "Pending"
msgstr "Pending"
@@ -18346,8 +18320,8 @@ msgstr "Remove part"
msgid "Remove path"
msgstr "Remove path"
-msgid "Remove PDF Guide"
-msgstr "Remove PDF Guide"
+msgid "Remove PDF"
+msgstr "Remove PDF"
msgid "Remove row"
msgstr "Remove row"
@@ -20733,9 +20707,6 @@ msgstr "Showing the top 1,000 groups by amount"
msgid "Shown as a faint background behind every page of generated PDFs"
msgstr "Shown as a faint background behind every page of generated PDFs"
-msgid "Shown to employees below the PDF guide"
-msgstr "Shown to employees below the PDF guide"
-
msgid "Shown to the customer on the invoice"
msgstr "Shown to the customer on the invoice"
@@ -21410,9 +21381,6 @@ msgstr "Subledger"
msgid "Submit anonymously"
msgstr "Submit anonymously"
-msgid "Submit Certificate"
-msgstr "Submit Certificate"
-
msgid "Submit for approval"
msgstr "Submit for approval"
@@ -21757,6 +21725,9 @@ msgstr "Switch to pan mode"
msgid "Switch to select mode"
msgstr "Switch to select mode"
+msgid "Switch to Written Content"
+msgstr "Switch to Written Content"
+
msgid "Switch users over and confirm access"
msgstr "Switch users over and confirm access"
@@ -21821,6 +21792,9 @@ msgstr "Take the shortest remaining shelf life across the materials consumed to
msgid "taken"
msgstr "taken"
+msgid "Taken outside Carbon. You mark each employee complete."
+msgstr "Taken outside Carbon. You mark each employee complete."
+
msgid "Takes Effect"
msgstr "Takes Effect"
@@ -23480,6 +23454,9 @@ msgstr "this purchase order"
msgid "This Quarter"
msgstr "This Quarter"
+msgid "This removes the PDF. Employees will see the written content instead."
+msgstr "This removes the PDF. Employees will see the written content instead."
+
msgid "This removes their authenticator app, so their next sign-in only needs a magic link. Use this when they have lost access to their authenticator. It affects their sign-in for every company they belong to."
msgstr "This removes their authenticator app, so their next sign-in only needs a magic link. Use this when they have lost access to their authenticator. It affects their sign-in for every company they belong to."
@@ -23538,10 +23515,6 @@ msgstr "This takes {employeeName} off the board for the day. Save again to confi
msgid "This tool is activated when change notice {activationLockId} is released."
msgstr "This tool is activated when change notice {activationLockId} is released."
-#. placeholder {0}: assignment.employeeName?.trim()
-msgid "This training is external. Upload {0}'s certificate to mark it complete."
-msgstr "This training is external. Upload {0}'s certificate to mark it complete."
-
msgid "This unit has no cost in inventory"
msgstr "This unit has no cost in inventory"
@@ -24083,8 +24056,8 @@ msgstr "Training not recorded"
msgid "Training Plan"
msgstr "Training Plan"
-msgid "Training taken outside Carbon, such as a vendor course. Employees complete it by uploading the certificate they received instead of answering a quiz."
-msgstr "Training taken outside Carbon, such as a vendor course. Employees complete it by uploading the certificate they received instead of answering a quiz."
+msgid "Training taken outside Carbon, such as a vendor course. The assignment has only a name. An admin marks each employee complete and can attach their certificate."
+msgstr "Training taken outside Carbon, such as a vendor course. The assignment has only a name. An admin marks each employee complete and can attach their certificate."
msgid "Training your team via the Academy and in-app guides"
msgstr "Training your team via the Academy and in-app guides"
@@ -24625,9 +24598,6 @@ msgstr "Upload"
msgid "Upload a PDF first"
msgstr "Upload a PDF first"
-msgid "Upload Certificate"
-msgstr "Upload Certificate"
-
msgid "Upload chart"
msgstr "Upload chart"
@@ -24646,14 +24616,8 @@ msgstr "Upload failed. Please try again."
msgid "Upload new backup…"
msgstr "Upload new backup…"
-msgid "Upload one PDF, PNG or JPG file of 10 MB or less."
-msgstr "Upload one PDF, PNG or JPG file of 10 MB or less."
-
-msgid "Upload the certificate you received for this training. Uploading it marks the training as complete."
-msgstr "Upload the certificate you received for this training. Uploading it marks the training as complete."
-
-msgid "Upload your certificate on the next step."
-msgstr "Upload your certificate on the next step."
+msgid "Upload PDF"
+msgstr "Upload PDF"
msgid "Uploaded model"
msgstr "Uploaded model"
@@ -25424,6 +25388,9 @@ msgstr "What each asset is worth, how long it lasts, and what happens to it at t
msgid "What each period's payment is for this asset in the first year"
msgstr "What each period's payment is for this asset in the first year"
+msgid "What employees read before the questions"
+msgstr "What employees read before the questions"
+
msgid "What happens to an invoice once it is created"
msgstr "What happens to an invoice once it is created"
@@ -25963,6 +25930,9 @@ msgstr "Working sessions on configuration and data"
msgid "Worst Performing Machines"
msgstr "Worst Performing Machines"
+msgid "Write"
+msgstr "Write"
+
msgid "Write a note…"
msgstr "Write a note…"
diff --git a/packages/locale/locales/es/erp.po b/packages/locale/locales/es/erp.po
index df8a81c192..8eab7d6e03 100644
--- a/packages/locale/locales/es/erp.po
+++ b/packages/locale/locales/es/erp.po
@@ -4655,15 +4655,9 @@ msgstr "La facturación centralizada está habilitada"
msgid "Cert Version"
msgstr "Versión de Certificado"
-msgid "Certificate not accepted"
-msgstr "Certificado no aceptado"
-
msgid "Certificate Number"
msgstr "Número de Certificado"
-msgid "Certificate Submitted"
-msgstr "Certificado Enviado"
-
msgid "Certificate uploaded"
msgstr "Certificado cargado"
@@ -4967,9 +4961,6 @@ msgstr "Haz clic de nuevo para desconectar"
msgid "Click components in the viewer to add them. Shift-click adds several."
msgstr "Haz clic en los componentes en el visor para agregarlos. Shift+clic agrega varios."
-msgid "Click or drop to choose a different file"
-msgstr "Haga clic o suelte para elegir un archivo diferente"
-
msgid "Click to rename"
msgstr "Haz clic para renombrar"
@@ -8076,9 +8067,6 @@ msgstr "Estados de Envío Directo"
msgid "Drop whole pages or sections a customer doesn't need."
msgstr "Elimina páginas o secciones completas que el cliente no necesita."
-msgid "Drop your certificate here, or click to choose a file"
-msgstr "Suelte su certificado aquí o haga clic para elegir un archivo"
-
msgid "Drop your file here, or click to browse."
msgstr "Suelta tu archivo aquí, o haz clic para examinar."
@@ -8763,14 +8751,8 @@ msgstr "Los empleados asignados a esta capacitación pueden abrirla. El contenid
msgid "Employees can no longer open this training."
msgstr "Los empleados ya no pueden abrir esta capacitación."
-msgid "Employees complete this training by uploading their certificate. Turn off External Certification in Properties to use questions."
-msgstr "Los empleados completan esta capacitación subiendo su certificado. Desactive la Certificación Externa en Propiedades para usar preguntas."
-
-msgid "Employees read it before the questions"
-msgstr "Los empleados lo leen antes de las preguntas"
-
-msgid "Employees will no longer see this PDF. You can upload a new one while the training is Draft."
-msgstr "Los empleados ya no verán este PDF. Puede subir uno nuevo mientras la capacitación esté en Borrador."
+msgid "Employees complete a training in Carbon"
+msgstr ""
msgid "Empty"
msgstr "Vacío"
@@ -9489,12 +9471,6 @@ msgstr "Precio Extendido"
msgid "External"
msgstr "Externo"
-msgid "External certification"
-msgstr "Certificación externa"
-
-msgid "External Certification"
-msgstr "Certificación Externa"
-
msgid "External Delta"
msgstr "Diferencia Externa"
@@ -9519,6 +9495,9 @@ msgstr "Ref. Externa"
msgid "External Reference"
msgstr "Referencia Externa"
+msgid "External training"
+msgstr ""
+
msgid "Extra fields to capture data Carbon doesn't track by default"
msgstr "Campos adicionales para capturar datos que Carbon no rastrea de forma predeterminada"
@@ -13057,6 +13036,10 @@ msgstr "Valores mapeados"
msgid "Mark \"{0}\" as passed?"
msgstr "¿Marcar \"{0}\" como superado?"
+#. placeholder {0}: assignment.employeeName?.trim()
+msgid "Mark {0} complete. Attach their certificate if you have one."
+msgstr ""
+
msgid "Mark absent"
msgstr "Marcar ausente"
@@ -14737,8 +14720,8 @@ msgstr "Sin filas de pago."
msgid "No payments yet."
msgstr "Sin pagos aún."
-msgid "No PDF guide"
-msgstr "Sin guía PDF"
+msgid "No PDF uploaded"
+msgstr ""
msgid "No planned invoices are removed."
msgstr "No se eliminan facturas planificadas."
@@ -14782,9 +14765,6 @@ msgstr "Sin producción registrada aún."
msgid "No purchases in this period"
msgstr "Sin compras en este período"
-msgid "No quiz for external certifications"
-msgstr "Sin cuestionario para certificaciones externas"
-
msgid "No Quote"
msgstr "Sin Cotización"
@@ -16293,9 +16273,6 @@ msgstr "PDF (Documento)"
msgid "PDF downloaded"
msgstr "PDF descargado"
-msgid "PDF Guide"
-msgstr "Guía PDF"
-
msgid "PDF pages"
msgstr "Páginas PDF"
@@ -16305,9 +16282,6 @@ msgstr "Vista previa de PDF"
msgid "PDF Watermark"
msgstr "Marca de agua PDF"
-msgid "PDF, PNG or JPG, up to 10 MB"
-msgstr "PDF, PNG o JPG, hasta 10 MB"
-
msgid "Pending"
msgstr "Pendiente"
@@ -18346,8 +18320,8 @@ msgstr "Quitar pieza"
msgid "Remove path"
msgstr "Quitar ruta"
-msgid "Remove PDF Guide"
-msgstr "Quitar Guía PDF"
+msgid "Remove PDF"
+msgstr ""
msgid "Remove row"
msgstr "Quitar fila"
@@ -20733,9 +20707,6 @@ msgstr "Mostrando los 1,000 grupos principales por cantidad"
msgid "Shown as a faint background behind every page of generated PDFs"
msgstr "Se muestra como un fondo tenue detrás de cada página de los PDF generados"
-msgid "Shown to employees below the PDF guide"
-msgstr "Se muestra a los empleados debajo de la guía PDF"
-
msgid "Shown to the customer on the invoice"
msgstr "Se muestra al cliente en la factura"
@@ -21410,9 +21381,6 @@ msgstr "Subdiario"
msgid "Submit anonymously"
msgstr "Enviar anónimamente"
-msgid "Submit Certificate"
-msgstr "Enviar Certificado"
-
msgid "Submit for approval"
msgstr "Enviar para aprobación"
@@ -21757,6 +21725,9 @@ msgstr "Cambiar a modo panorámico"
msgid "Switch to select mode"
msgstr "Cambiar a modo selección"
+msgid "Switch to Written Content"
+msgstr ""
+
msgid "Switch users over and confirm access"
msgstr "Cambiar usuarios y confirmar acceso"
@@ -21821,6 +21792,9 @@ msgstr "Toma la vida de anaquel más corta restante entre los artículos consumi
msgid "taken"
msgstr "tomado"
+msgid "Taken outside Carbon. You mark each employee complete."
+msgstr ""
+
msgid "Takes Effect"
msgstr "Entra en vigencia"
@@ -23480,6 +23454,9 @@ msgstr "esta orden de compra"
msgid "This Quarter"
msgstr "Este Trimestre"
+msgid "This removes the PDF. Employees will see the written content instead."
+msgstr ""
+
msgid "This removes their authenticator app, so their next sign-in only needs a magic link. Use this when they have lost access to their authenticator. It affects their sign-in for every company they belong to."
msgstr "Esto elimina su aplicación autenticadora, por lo que su próximo inicio de sesión solo necesita un enlace mágico. Usa esto cuando hayan perdido acceso a su autenticador. Afecta su inicio de sesión en cada empresa a la que pertenecen."
@@ -23538,10 +23515,6 @@ msgstr "Esto quita a {employeeName} del tablero por el día. Guarda de nuevo par
msgid "This tool is activated when change notice {activationLockId} is released."
msgstr "Esta herramienta se activa cuando se libera el aviso de cambio {activationLockId}."
-#. placeholder {0}: assignment.employeeName?.trim()
-msgid "This training is external. Upload {0}'s certificate to mark it complete."
-msgstr "Esta capacitación es externa. Suba el certificado de {0} para marcarla como completada."
-
msgid "This unit has no cost in inventory"
msgstr "Esta unidad no tiene costo en el inventario"
@@ -24083,8 +24056,8 @@ msgstr "Capacitación no registrada"
msgid "Training Plan"
msgstr "Plan de Capacitación"
-msgid "Training taken outside Carbon, such as a vendor course. Employees complete it by uploading the certificate they received instead of answering a quiz."
-msgstr "Capacitación tomada fuera de Carbon, como un curso de vendedor. Los empleados la completan subiendo el certificado que recibieron en lugar de responder un cuestionario."
+msgid "Training taken outside Carbon, such as a vendor course. The assignment has only a name. An admin marks each employee complete and can attach their certificate."
+msgstr ""
msgid "Training your team via the Academy and in-app guides"
msgstr "Capacitar a tu equipo a través de la Academia y guías en la aplicación"
@@ -24625,9 +24598,6 @@ msgstr "Subir"
msgid "Upload a PDF first"
msgstr "Subir un PDF primero"
-msgid "Upload Certificate"
-msgstr "Subir Certificado"
-
msgid "Upload chart"
msgstr "Subir plan"
@@ -24646,14 +24616,8 @@ msgstr "Error al subir el archivo. Inténtalo de nuevo."
msgid "Upload new backup…"
msgstr "Subir nueva copia de seguridad…"
-msgid "Upload one PDF, PNG or JPG file of 10 MB or less."
-msgstr "Suba un archivo PDF, PNG o JPG de 10 MB o menos."
-
-msgid "Upload the certificate you received for this training. Uploading it marks the training as complete."
-msgstr "Suba el certificado que recibió para esta capacitación. Subirlo marca la capacitación como completada."
-
-msgid "Upload your certificate on the next step."
-msgstr "Suba su certificado en el siguiente paso."
+msgid "Upload PDF"
+msgstr ""
msgid "Uploaded model"
msgstr "Modelo cargado"
@@ -25424,6 +25388,9 @@ msgstr "Cuál es el valor de cada activo, cuánto dura y qué sucede al final de
msgid "What each period's payment is for this asset in the first year"
msgstr "Cuál es el pago de cada período para este activo en el primer año"
+msgid "What employees read before the questions"
+msgstr ""
+
msgid "What happens to an invoice once it is created"
msgstr "Qué sucede a una factura una vez que se crea"
@@ -25963,6 +25930,9 @@ msgstr "Sesiones de trabajo sobre configuración y datos"
msgid "Worst Performing Machines"
msgstr "Máquinas con Peor Desempeño"
+msgid "Write"
+msgstr ""
+
msgid "Write a note…"
msgstr "Escribir una nota…"
diff --git a/packages/locale/locales/fr/erp.po b/packages/locale/locales/fr/erp.po
index e2228ab193..b0282b06c4 100644
--- a/packages/locale/locales/fr/erp.po
+++ b/packages/locale/locales/fr/erp.po
@@ -4655,15 +4655,9 @@ msgstr "La facturation centralisée est activée"
msgid "Cert Version"
msgstr "Version de certification"
-msgid "Certificate not accepted"
-msgstr "Certificat non accepté"
-
msgid "Certificate Number"
msgstr "Numéro de Certificat"
-msgid "Certificate Submitted"
-msgstr "Certificat soumis"
-
msgid "Certificate uploaded"
msgstr "Certificat téléchargé"
@@ -4967,9 +4961,6 @@ msgstr "Cliquez à nouveau pour vous déconnecter"
msgid "Click components in the viewer to add them. Shift-click adds several."
msgstr "Cliquez sur les composants dans la visionneuse pour les ajouter. Maj+clic en ajoute plusieurs."
-msgid "Click or drop to choose a different file"
-msgstr "Cliquer ou déposer pour choisir un fichier différent"
-
msgid "Click to rename"
msgstr "Cliquez pour renommer"
@@ -8076,9 +8067,6 @@ msgstr "Statuts d'expédition directe"
msgid "Drop whole pages or sections a customer doesn't need."
msgstr "Supprimez les pages ou sections entières dont un client n'a pas besoin."
-msgid "Drop your certificate here, or click to choose a file"
-msgstr "Déposer votre certificat ici, ou cliquer pour choisir un fichier"
-
msgid "Drop your file here, or click to browse."
msgstr "Déposez votre fichier ici, ou cliquez pour parcourir."
@@ -8763,14 +8751,8 @@ msgstr "Les employés affectés à cette formation peuvent l'ouvrir. Le contenu,
msgid "Employees can no longer open this training."
msgstr "Les employés ne peuvent plus ouvrir cette formation."
-msgid "Employees complete this training by uploading their certificate. Turn off External Certification in Properties to use questions."
-msgstr "Les employés terminent cette formation en téléversant leur certificat. Désactiver Certification externe dans les propriétés pour utiliser les questions."
-
-msgid "Employees read it before the questions"
-msgstr "Les employés la lisent avant les questions"
-
-msgid "Employees will no longer see this PDF. You can upload a new one while the training is Draft."
-msgstr "Les employés ne verront plus ce PDF. Vous pouvez téléverser un nouveau fichier pendant que la formation est en Brouillon."
+msgid "Employees complete a training in Carbon"
+msgstr ""
msgid "Empty"
msgstr "Vide"
@@ -9489,12 +9471,6 @@ msgstr "Prix étendu"
msgid "External"
msgstr "Externe"
-msgid "External certification"
-msgstr "Certification externe"
-
-msgid "External Certification"
-msgstr "Certification externe"
-
msgid "External Delta"
msgstr "Écart externe"
@@ -9519,6 +9495,9 @@ msgstr "Réf. externe"
msgid "External Reference"
msgstr "Référence externe"
+msgid "External training"
+msgstr ""
+
msgid "Extra fields to capture data Carbon doesn't track by default"
msgstr "Champs supplémentaires pour capturer les données que Carbon ne suit pas par défaut"
@@ -13057,6 +13036,10 @@ msgstr "Valeurs mappées"
msgid "Mark \"{0}\" as passed?"
msgstr "Marquer « {0} » comme réussi ?"
+#. placeholder {0}: assignment.employeeName?.trim()
+msgid "Mark {0} complete. Attach their certificate if you have one."
+msgstr ""
+
msgid "Mark absent"
msgstr "Marquer comme absent"
@@ -14737,8 +14720,8 @@ msgstr "Pas de lignes de paiement."
msgid "No payments yet."
msgstr "Aucun paiement pour le moment."
-msgid "No PDF guide"
-msgstr "Aucun guide PDF"
+msgid "No PDF uploaded"
+msgstr ""
msgid "No planned invoices are removed."
msgstr "Aucune facture planifiée n'est supprimée."
@@ -14782,9 +14765,6 @@ msgstr "Aucune production enregistrée pour le moment."
msgid "No purchases in this period"
msgstr "Aucun achat dans cette période"
-msgid "No quiz for external certifications"
-msgstr "Aucun quiz pour les certifications externes"
-
msgid "No Quote"
msgstr "Refus de devis"
@@ -16293,9 +16273,6 @@ msgstr "PDF (Document)"
msgid "PDF downloaded"
msgstr "PDF téléchargé"
-msgid "PDF Guide"
-msgstr "Guide PDF"
-
msgid "PDF pages"
msgstr "Pages PDF"
@@ -16305,9 +16282,6 @@ msgstr "Aperçu PDF"
msgid "PDF Watermark"
msgstr "Filigrane PDF"
-msgid "PDF, PNG or JPG, up to 10 MB"
-msgstr "PDF, PNG ou JPG, jusqu'à 10 Mo"
-
msgid "Pending"
msgstr "En attente"
@@ -18346,8 +18320,8 @@ msgstr "Retirer la pièce"
msgid "Remove path"
msgstr "Retirer le chemin"
-msgid "Remove PDF Guide"
-msgstr "Retirer Guide PDF"
+msgid "Remove PDF"
+msgstr ""
msgid "Remove row"
msgstr "Retirer la ligne"
@@ -20733,9 +20707,6 @@ msgstr "Affichage des 1 000 meilleurs groupes par montant"
msgid "Shown as a faint background behind every page of generated PDFs"
msgstr "Affiché en arrière-plan discret sur chaque page des PDF générés"
-msgid "Shown to employees below the PDF guide"
-msgstr "Affiché aux employés sous le guide PDF"
-
msgid "Shown to the customer on the invoice"
msgstr "Affiché au client sur la facture"
@@ -21410,9 +21381,6 @@ msgstr "Grand-livre auxiliaire"
msgid "Submit anonymously"
msgstr "Soumettre anonymement"
-msgid "Submit Certificate"
-msgstr "Soumettre Certificat"
-
msgid "Submit for approval"
msgstr "Soumettre pour approbation"
@@ -21757,6 +21725,9 @@ msgstr "Passer en mode panoramique"
msgid "Switch to select mode"
msgstr "Passer en mode sélection"
+msgid "Switch to Written Content"
+msgstr ""
+
msgid "Switch users over and confirm access"
msgstr "Basculer les utilisateurs et confirmer l'accès"
@@ -21821,6 +21792,9 @@ msgstr "Prendre la durée de conservation la plus courte parmi les matières con
msgid "taken"
msgstr "prise"
+msgid "Taken outside Carbon. You mark each employee complete."
+msgstr ""
+
msgid "Takes Effect"
msgstr "Prend effet"
@@ -23480,6 +23454,9 @@ msgstr "ce bon de commande"
msgid "This Quarter"
msgstr "Ce trimestre"
+msgid "This removes the PDF. Employees will see the written content instead."
+msgstr ""
+
msgid "This removes their authenticator app, so their next sign-in only needs a magic link. Use this when they have lost access to their authenticator. It affects their sign-in for every company they belong to."
msgstr "Ceci supprime leur application d'authentification, de sorte que leur prochain accès ne nécessite qu'un lien magique. Utilisez cette option lorsqu'ils ont perdu l'accès à leur authentificateur. Cela affecte leur accès pour chaque société à laquelle ils appartiennent."
@@ -23538,10 +23515,6 @@ msgstr "Cela retire {employeeName} du tableau pour la journée. Enregistrer à n
msgid "This tool is activated when change notice {activationLockId} is released."
msgstr "Cet outil est activé lorsque l'avis de modification {activationLockId} est libéré."
-#. placeholder {0}: assignment.employeeName?.trim()
-msgid "This training is external. Upload {0}'s certificate to mark it complete."
-msgstr "Cette formation est externe. Téléverser le certificat de {0} pour la marquer comme terminée."
-
msgid "This unit has no cost in inventory"
msgstr "Cette unité n'a pas de coût en stock"
@@ -24083,8 +24056,8 @@ msgstr "Formation non enregistrée"
msgid "Training Plan"
msgstr "Plan de formation"
-msgid "Training taken outside Carbon, such as a vendor course. Employees complete it by uploading the certificate they received instead of answering a quiz."
-msgstr "Formation suivie en dehors de Carbon, telle qu'une formation du fournisseur. Les employés la terminent en téléversant le certificat qu'ils ont reçu au lieu de répondre à un quiz."
+msgid "Training taken outside Carbon, such as a vendor course. The assignment has only a name. An admin marks each employee complete and can attach their certificate."
+msgstr ""
msgid "Training your team via the Academy and in-app guides"
msgstr "Formation de votre équipe via l'Academy et les guides intégrés"
@@ -24625,9 +24598,6 @@ msgstr "Téléverser"
msgid "Upload a PDF first"
msgstr "Téléversez d'abord un PDF"
-msgid "Upload Certificate"
-msgstr "Téléverser Certificat"
-
msgid "Upload chart"
msgstr "Téléverser le plan comptable"
@@ -24646,14 +24616,8 @@ msgstr "Le téléversement a échoué. Veuillez réessayer."
msgid "Upload new backup…"
msgstr "Téléverser une nouvelle sauvegarde…"
-msgid "Upload one PDF, PNG or JPG file of 10 MB or less."
-msgstr "Téléverser un fichier PDF, PNG ou JPG de 10 Mo ou moins."
-
-msgid "Upload the certificate you received for this training. Uploading it marks the training as complete."
-msgstr "Téléverser le certificat que vous avez reçu pour cette formation. Le téléversement la marque comme terminée."
-
-msgid "Upload your certificate on the next step."
-msgstr "Téléverser votre certificat à l'étape suivante."
+msgid "Upload PDF"
+msgstr ""
msgid "Uploaded model"
msgstr "Modèle téléchargé"
@@ -25424,6 +25388,9 @@ msgstr "La valeur de chaque immobilisation, sa durée de vie et ce qui s'en pass
msgid "What each period's payment is for this asset in the first year"
msgstr "Quel est le paiement de chaque période pour cette immobilisation la première année"
+msgid "What employees read before the questions"
+msgstr ""
+
msgid "What happens to an invoice once it is created"
msgstr "Ce qui se passe pour une facture une fois créée"
@@ -25963,6 +25930,9 @@ msgstr "Séances de travail sur la configuration et les données"
msgid "Worst Performing Machines"
msgstr "Machines les plus défaillantes"
+msgid "Write"
+msgstr ""
+
msgid "Write a note…"
msgstr "Rédiger une note…"
diff --git a/packages/locale/locales/hi/erp.po b/packages/locale/locales/hi/erp.po
index a3259aee16..76a5631229 100644
--- a/packages/locale/locales/hi/erp.po
+++ b/packages/locale/locales/hi/erp.po
@@ -4655,15 +4655,9 @@ msgstr "केंद्रीकृत बिलिंग सक्षम है
msgid "Cert Version"
msgstr "सर्ट संस्करण"
-msgid "Certificate not accepted"
-msgstr "सर्टिफिकेट स्वीकृत नहीं"
-
msgid "Certificate Number"
msgstr "प्रमाणपत्र संख्या"
-msgid "Certificate Submitted"
-msgstr "सर्टिफिकेट सबमिट की गई"
-
msgid "Certificate uploaded"
msgstr "प्रमाणपत्र अपलोड किया गया"
@@ -4967,9 +4961,6 @@ msgstr "डिस्कनेक्ट करने के लिए फिर
msgid "Click components in the viewer to add them. Shift-click adds several."
msgstr "दर्शक में घटकों पर क्लिक करें और उन्हें जोड़ें। Shift-क्लिक से कई जोड़ें।"
-msgid "Click or drop to choose a different file"
-msgstr "एक अलग फ़ाइल चुनने के लिए क्लिक करें या ड्रॉप करें"
-
msgid "Click to rename"
msgstr "नाम बदलने के लिए क्लिक करें"
@@ -8076,9 +8067,6 @@ msgstr "ड्रॉप शिपमेंट स्थितियाँ"
msgid "Drop whole pages or sections a customer doesn't need."
msgstr "उन पूरे पृष्ठों या अनुभागों को हटाएं जिनकी ग्राहक को आवश्यकता नहीं है।"
-msgid "Drop your certificate here, or click to choose a file"
-msgstr "अपनी सर्टिफिकेट यहां ड्रॉप करें, या फ़ाइल चुनने के लिए क्लिक करें"
-
msgid "Drop your file here, or click to browse."
msgstr "अपनी फ़ाइल यहाँ ड्रॉप करें, या ब्राउज़ करने के लिए क्लिक करें।"
@@ -8763,14 +8751,8 @@ msgstr "इस प्रशिक्षण को सौंपे गए कर
msgid "Employees can no longer open this training."
msgstr "कर्मचारी अब इस प्रशिक्षण को खोल नहीं सकते।"
-msgid "Employees complete this training by uploading their certificate. Turn off External Certification in Properties to use questions."
-msgstr "कर्मचारी अपनी सर्टिफिकेट अपलोड करके इस प्रशिक्षण को पूर्ण करते हैं। प्रश्नों का उपयोग करने के लिए गुणों में बाहरी प्रमाणीकरण बंद करें।"
-
-msgid "Employees read it before the questions"
-msgstr "कर्मचारी प्रश्नों से पहले इसे पढ़ते हैं"
-
-msgid "Employees will no longer see this PDF. You can upload a new one while the training is Draft."
-msgstr "कर्मचारी अब इस PDF को नहीं देखेंगे। जब तक प्रशिक्षण ड्राफ्ट है, आप एक नई फ़ाइल अपलोड कर सकते हैं।"
+msgid "Employees complete a training in Carbon"
+msgstr ""
msgid "Empty"
msgstr "खाली"
@@ -9489,12 +9471,6 @@ msgstr "विस्तारित मूल्य"
msgid "External"
msgstr "बाहरी"
-msgid "External certification"
-msgstr "बाहरी प्रमाणीकरण"
-
-msgid "External Certification"
-msgstr "बाहरी प्रमाणीकरण"
-
msgid "External Delta"
msgstr "बाहरी अंतर"
@@ -9519,6 +9495,9 @@ msgstr "बाहरी संदर्भ"
msgid "External Reference"
msgstr "बाहरी संदर्भ"
+msgid "External training"
+msgstr ""
+
msgid "Extra fields to capture data Carbon doesn't track by default"
msgstr "कार्बन डिफ़ॉल्ट रूप से ट्रैक नहीं करता है ऐसा डेटा कैप्चर करने के लिए अतिरिक्त फ़ील्ड"
@@ -13057,6 +13036,10 @@ msgstr "मैप किए गए मान"
msgid "Mark \"{0}\" as passed?"
msgstr "क्या \"{0}\" को उत्तीर्ण के रूप में चिह्नित करें?"
+#. placeholder {0}: assignment.employeeName?.trim()
+msgid "Mark {0} complete. Attach their certificate if you have one."
+msgstr ""
+
msgid "Mark absent"
msgstr "अनुपस्थित चिह्नित करें"
@@ -14737,8 +14720,8 @@ msgstr "कोई भुगतान पंक्तियाँ नहीं।
msgid "No payments yet."
msgstr "अभी तक कोई भुगतान नहीं।"
-msgid "No PDF guide"
-msgstr "कोई PDF गाइड नहीं"
+msgid "No PDF uploaded"
+msgstr ""
msgid "No planned invoices are removed."
msgstr "कोई योजनाबद्ध चालान हटाया नहीं गया।"
@@ -14782,9 +14765,6 @@ msgstr "अभी तक कोई उत्पादन दर्ज नही
msgid "No purchases in this period"
msgstr "इस अवधि में कोई खरीद नहीं"
-msgid "No quiz for external certifications"
-msgstr "बाहरी प्रमाणपत्रों के लिए कोई प्रश्नोत्तरी नहीं"
-
msgid "No Quote"
msgstr "कोई कोटेशन नहीं"
@@ -16293,9 +16273,6 @@ msgstr "PDF (दस्तावेज़)"
msgid "PDF downloaded"
msgstr "PDF डाउनलोड किया गया"
-msgid "PDF Guide"
-msgstr "PDF गाइड"
-
msgid "PDF pages"
msgstr "पीडीएफ पृष्ठ"
@@ -16305,9 +16282,6 @@ msgstr "PDF पूर्वावलोकन"
msgid "PDF Watermark"
msgstr "PDF वॉटरमार्क"
-msgid "PDF, PNG or JPG, up to 10 MB"
-msgstr "PDF, PNG या JPG, 10 MB तक"
-
msgid "Pending"
msgstr "लंबित"
@@ -18346,8 +18320,8 @@ msgstr "पार्ट निकालें"
msgid "Remove path"
msgstr "पथ निकालें"
-msgid "Remove PDF Guide"
-msgstr "PDF गाइड निकालें"
+msgid "Remove PDF"
+msgstr ""
msgid "Remove row"
msgstr "पंक्ति निकालें"
@@ -20733,9 +20707,6 @@ msgstr "राशि द्वारा शीर्ष 1,000 समूह द
msgid "Shown as a faint background behind every page of generated PDFs"
msgstr "जनरेट की गई PDF के हर पेज के पीछे हल्की पृष्ठभूमि के रूप में दिखाया जाता है"
-msgid "Shown to employees below the PDF guide"
-msgstr "PDF गाइड के नीचे कर्मचारियों को दिखाया गया"
-
msgid "Shown to the customer on the invoice"
msgstr "चालान पर ग्राहक को दिखाया जाता है"
@@ -21410,9 +21381,6 @@ msgstr "सहायक बहीखाता"
msgid "Submit anonymously"
msgstr "गुमनाम रूप से सबमिट करें"
-msgid "Submit Certificate"
-msgstr "सर्टिफिकेट सबमिट करें"
-
msgid "Submit for approval"
msgstr "अनुमोदन के लिए सबमिट करें"
@@ -21757,6 +21725,9 @@ msgstr "पैन मोड में स्विच करें"
msgid "Switch to select mode"
msgstr "चयन मोड में स्विच करें"
+msgid "Switch to Written Content"
+msgstr ""
+
msgid "Switch users over and confirm access"
msgstr "उपयोगकर्ताओं को स्विच करें और एक्सेस की पुष्टि करें"
@@ -21821,6 +21792,9 @@ msgstr "इस आइटम को बनाने के लिए उपयो
msgid "taken"
msgstr "लिया गया"
+msgid "Taken outside Carbon. You mark each employee complete."
+msgstr ""
+
msgid "Takes Effect"
msgstr "प्रभावी होता है"
@@ -23480,6 +23454,9 @@ msgstr "यह क्रय आदेश"
msgid "This Quarter"
msgstr "इस त्रैमासिक"
+msgid "This removes the PDF. Employees will see the written content instead."
+msgstr ""
+
msgid "This removes their authenticator app, so their next sign-in only needs a magic link. Use this when they have lost access to their authenticator. It affects their sign-in for every company they belong to."
msgstr "यह उनके प्रमाणीकरणकर्ता ऐप को निकालता है, इसलिए उनके अगले साइन-इन के लिए केवल एक जादुई लिंक की आवश्यकता होती है। जब वे अपने प्रमाणीकरणकर्ता तक पहुंच खो गए हों तो इसका उपयोग करें। यह उनके साइन-इन को उन सभी कंपनियों के लिए प्रभावित करता है जिनसे वे संबंधित हैं।"
@@ -23538,10 +23515,6 @@ msgstr "यह {employeeName} को इस दिन के लिए बोर
msgid "This tool is activated when change notice {activationLockId} is released."
msgstr "यह उपकरण तब सक्रिय होता है जब परिवर्तन सूचना {activationLockId} जारी की जाती है।"
-#. placeholder {0}: assignment.employeeName?.trim()
-msgid "This training is external. Upload {0}'s certificate to mark it complete."
-msgstr "यह प्रशिक्षण बाहरी है। इसे पूर्ण चिह्नित करने के लिए {0} की सर्टिफिकेट अपलोड करें।"
-
msgid "This unit has no cost in inventory"
msgstr "इस इकाई की इन्वेंटरी में कोई लागत नहीं है"
@@ -24083,8 +24056,8 @@ msgstr "प्रशिक्षण रिकॉर्ड नहीं किय
msgid "Training Plan"
msgstr "प्रशिक्षण योजना"
-msgid "Training taken outside Carbon, such as a vendor course. Employees complete it by uploading the certificate they received instead of answering a quiz."
-msgstr "Carbon के बाहर लिया गया प्रशिक्षण, जैसे विक्रेता पाठ्यक्रम। कर्मचारी प्रश्नोत्तरी का उत्तर देने की बजाय वे प्राप्त सर्टिफिकेट अपलोड करके इसे पूर्ण करते हैं।"
+msgid "Training taken outside Carbon, such as a vendor course. The assignment has only a name. An admin marks each employee complete and can attach their certificate."
+msgstr ""
msgid "Training your team via the Academy and in-app guides"
msgstr "Academy और इन-ऐप गाइड के माध्यम से अपनी टीम को प्रशिक्षण दें"
@@ -24625,9 +24598,6 @@ msgstr "अपलोड करें"
msgid "Upload a PDF first"
msgstr "पहले एक PDF अपलोड करें"
-msgid "Upload Certificate"
-msgstr "सर्टिफिकेट अपलोड करें"
-
msgid "Upload chart"
msgstr "चार्ट अपलोड करें"
@@ -24646,14 +24616,8 @@ msgstr "अपलोड विफल रहा। कृपया पुनः
msgid "Upload new backup…"
msgstr "नया बैकअप अपलोड करें…"
-msgid "Upload one PDF, PNG or JPG file of 10 MB or less."
-msgstr "एक PDF, PNG या JPG फ़ाइल अपलोड करें जो 10 MB या उससे कम हो।"
-
-msgid "Upload the certificate you received for this training. Uploading it marks the training as complete."
-msgstr "इस प्रशिक्षण के लिए आपको प्राप्त सर्टिफिकेट अपलोड करें। इसे अपलोड करने से प्रशिक्षण पूर्ण चिह्नित हो जाता है।"
-
-msgid "Upload your certificate on the next step."
-msgstr "अगले चरण पर अपनी सर्टिफिकेट अपलोड करें।"
+msgid "Upload PDF"
+msgstr ""
msgid "Uploaded model"
msgstr "अपलोड किया गया मॉडल"
@@ -25424,6 +25388,9 @@ msgstr "प्रत्येक संपत्ति का मूल्य
msgid "What each period's payment is for this asset in the first year"
msgstr "पहले वर्ष में इस संपत्ति के लिए प्रत्येक अवधि का भुगतान क्या है"
+msgid "What employees read before the questions"
+msgstr ""
+
msgid "What happens to an invoice once it is created"
msgstr "एक चालान बनाए जाने के बाद क्या होता है"
@@ -25963,6 +25930,9 @@ msgstr "कॉन्फ़िगरेशन और डेटा पर का
msgid "Worst Performing Machines"
msgstr "सबसे खराब प्रदर्शन करने वाली मशीनें"
+msgid "Write"
+msgstr ""
+
msgid "Write a note…"
msgstr "एक नोट लिखें…"
diff --git a/packages/locale/locales/it/erp.po b/packages/locale/locales/it/erp.po
index 3011a000bf..14b487f8da 100644
--- a/packages/locale/locales/it/erp.po
+++ b/packages/locale/locales/it/erp.po
@@ -4655,15 +4655,9 @@ msgstr "La fatturazione centralizzata è abilitata"
msgid "Cert Version"
msgstr "Versione Certificazione"
-msgid "Certificate not accepted"
-msgstr "Certificato non accettato"
-
msgid "Certificate Number"
msgstr "Numero del Certificato"
-msgid "Certificate Submitted"
-msgstr "Certificato Inviato"
-
msgid "Certificate uploaded"
msgstr "Certificato caricato"
@@ -4967,9 +4961,6 @@ msgstr "Fai clic di nuovo per disconnettere"
msgid "Click components in the viewer to add them. Shift-click adds several."
msgstr "Fai clic sui componenti nel visualizzatore per aggiungerli. Maiusc+clic aggiunge più di uno."
-msgid "Click or drop to choose a different file"
-msgstr "Fai clic o trascina per scegliere un file diverso"
-
msgid "Click to rename"
msgstr "Fai clic per rinominare"
@@ -8076,9 +8067,6 @@ msgstr "Stati Spedizione Diretta"
msgid "Drop whole pages or sections a customer doesn't need."
msgstr "Elimina intere pagine o sezioni di cui il cliente non ha bisogno."
-msgid "Drop your certificate here, or click to choose a file"
-msgstr "Trascina il tuo certificato qui o fai clic per scegliere un file"
-
msgid "Drop your file here, or click to browse."
msgstr "Rilascia il tuo file qui, oppure fai clic per sfogliare."
@@ -8763,14 +8751,8 @@ msgstr "I dipendenti assegnati a questa formazione possono aprirla. Il contenuto
msgid "Employees can no longer open this training."
msgstr "I dipendenti non possono più aprire questa formazione."
-msgid "Employees complete this training by uploading their certificate. Turn off External Certification in Properties to use questions."
-msgstr "I dipendenti completano questa formazione caricando il loro certificato. Disattiva la certificazione esterna nelle proprietà per utilizzare le domande."
-
-msgid "Employees read it before the questions"
-msgstr "I dipendenti lo leggono prima delle domande"
-
-msgid "Employees will no longer see this PDF. You can upload a new one while the training is Draft."
-msgstr "I dipendenti non vedranno più questo PDF. Puoi caricare uno nuovo mentre la formazione è Bozza."
+msgid "Employees complete a training in Carbon"
+msgstr ""
msgid "Empty"
msgstr "Vuoto"
@@ -9489,12 +9471,6 @@ msgstr "Prezzo Esteso"
msgid "External"
msgstr "Esterno"
-msgid "External certification"
-msgstr "certificazione esterna"
-
-msgid "External Certification"
-msgstr "Certificazione esterna"
-
msgid "External Delta"
msgstr "Delta Esterno"
@@ -9519,6 +9495,9 @@ msgstr "Rif. Esterno"
msgid "External Reference"
msgstr "Riferimento Esterno"
+msgid "External training"
+msgstr ""
+
msgid "Extra fields to capture data Carbon doesn't track by default"
msgstr "Campi aggiuntivi per acquisire dati che Carbon non traccia per impostazione predefinita"
@@ -13057,6 +13036,10 @@ msgstr "Valori mappati"
msgid "Mark \"{0}\" as passed?"
msgstr "Contrassegna \"{0}\" come superato?"
+#. placeholder {0}: assignment.employeeName?.trim()
+msgid "Mark {0} complete. Attach their certificate if you have one."
+msgstr ""
+
msgid "Mark absent"
msgstr "Segna come assente"
@@ -14737,8 +14720,8 @@ msgstr "Nessuna riga di pagamento."
msgid "No payments yet."
msgstr "Nessun pagamento ancora."
-msgid "No PDF guide"
-msgstr "Nessuna guida PDF"
+msgid "No PDF uploaded"
+msgstr ""
msgid "No planned invoices are removed."
msgstr "Nessuna fattura pianificata viene rimossa."
@@ -14782,9 +14765,6 @@ msgstr "Nessuna produzione registrata ancora."
msgid "No purchases in this period"
msgstr "Nessun acquisto in questo periodo"
-msgid "No quiz for external certifications"
-msgstr "Nessun quiz per certificazioni esterne"
-
msgid "No Quote"
msgstr "Nessuna offerta"
@@ -16293,9 +16273,6 @@ msgstr "PDF (Documento)"
msgid "PDF downloaded"
msgstr "PDF scaricato"
-msgid "PDF Guide"
-msgstr "Guida PDF"
-
msgid "PDF pages"
msgstr "Pagine PDF"
@@ -16305,9 +16282,6 @@ msgstr "Anteprima PDF"
msgid "PDF Watermark"
msgstr "Filigrana PDF"
-msgid "PDF, PNG or JPG, up to 10 MB"
-msgstr "PDF, PNG o JPG, fino a 10 MB"
-
msgid "Pending"
msgstr "In attesa"
@@ -18346,8 +18320,8 @@ msgstr "Rimuovi parte"
msgid "Remove path"
msgstr "Rimuovi percorso"
-msgid "Remove PDF Guide"
-msgstr "Rimuovi Guida PDF"
+msgid "Remove PDF"
+msgstr ""
msgid "Remove row"
msgstr "Rimuovi riga"
@@ -20733,9 +20707,6 @@ msgstr "Visualizzazione dei primi 1.000 gruppi per importo"
msgid "Shown as a faint background behind every page of generated PDFs"
msgstr "Mostrato come sfondo tenue dietro ogni pagina dei PDF generati"
-msgid "Shown to employees below the PDF guide"
-msgstr "Mostrato ai dipendenti sotto la guida PDF"
-
msgid "Shown to the customer on the invoice"
msgstr "Mostrato al cliente sulla fattura"
@@ -21410,9 +21381,6 @@ msgstr "Sottolibro"
msgid "Submit anonymously"
msgstr "Invia in modo anonimo"
-msgid "Submit Certificate"
-msgstr "Invia Certificato"
-
msgid "Submit for approval"
msgstr "Invia per approvazione"
@@ -21757,6 +21725,9 @@ msgstr "Passa alla modalità panorama"
msgid "Switch to select mode"
msgstr "Passa alla modalità selezione"
+msgid "Switch to Written Content"
+msgstr ""
+
msgid "Switch users over and confirm access"
msgstr "Trasferisci gli utenti e conferma l'accesso"
@@ -21821,6 +21792,9 @@ msgstr "Prendi la durata di conservazione rimanente più breve tra i materiali c
msgid "taken"
msgstr "preso"
+msgid "Taken outside Carbon. You mark each employee complete."
+msgstr ""
+
msgid "Takes Effect"
msgstr "Ha effetto"
@@ -23480,6 +23454,9 @@ msgstr "questo ordine di acquisto"
msgid "This Quarter"
msgstr "Questo Trimestre"
+msgid "This removes the PDF. Employees will see the written content instead."
+msgstr ""
+
msgid "This removes their authenticator app, so their next sign-in only needs a magic link. Use this when they have lost access to their authenticator. It affects their sign-in for every company they belong to."
msgstr "Questo rimuove la loro app autenticatore, quindi il loro prossimo accesso ha bisogno solo di un collegamento magico. Usalo quando hanno perso l'accesso al loro autenticatore. Influisce sul loro accesso per ogni azienda a cui appartengono."
@@ -23538,10 +23515,6 @@ msgstr "Questo toglie {employeeName} dalla programmazione per il giorno. Salva d
msgid "This tool is activated when change notice {activationLockId} is released."
msgstr "Questo attrezzo viene attivato quando l'avviso di modifica {activationLockId} viene rilasciato."
-#. placeholder {0}: assignment.employeeName?.trim()
-msgid "This training is external. Upload {0}'s certificate to mark it complete."
-msgstr "Questa formazione è esterna. Carica il certificato di {0} per contrassegnarlo come completato."
-
msgid "This unit has no cost in inventory"
msgstr "Questa unità non ha costo nel magazzino"
@@ -24083,8 +24056,8 @@ msgstr "Formazione non registrata"
msgid "Training Plan"
msgstr "Piano di Formazione"
-msgid "Training taken outside Carbon, such as a vendor course. Employees complete it by uploading the certificate they received instead of answering a quiz."
-msgstr "Formazione svolta al di fuori di Carbon, come un corso del fornitore. I dipendenti la completano caricando il certificato che hanno ricevuto invece di rispondere a un quiz."
+msgid "Training taken outside Carbon, such as a vendor course. The assignment has only a name. An admin marks each employee complete and can attach their certificate."
+msgstr ""
msgid "Training your team via the Academy and in-app guides"
msgstr "Formazione del tuo team tramite l'Academy e le guide in-app"
@@ -24625,9 +24598,6 @@ msgstr "Carica"
msgid "Upload a PDF first"
msgstr "Carica prima un PDF"
-msgid "Upload Certificate"
-msgstr "Carica Certificato"
-
msgid "Upload chart"
msgstr "Carica il piano dei conti"
@@ -24646,14 +24616,8 @@ msgstr "Caricamento non riuscito. Riprova."
msgid "Upload new backup…"
msgstr "Carica nuovo backup…"
-msgid "Upload one PDF, PNG or JPG file of 10 MB or less."
-msgstr "Carica un file PDF, PNG o JPG di 10 MB o meno."
-
-msgid "Upload the certificate you received for this training. Uploading it marks the training as complete."
-msgstr "Carica il certificato che hai ricevuto per questa formazione. Caricarlo contrassegna la formazione come completata."
-
-msgid "Upload your certificate on the next step."
-msgstr "Carica il tuo certificato nel passo successivo."
+msgid "Upload PDF"
+msgstr ""
msgid "Uploaded model"
msgstr "Modello caricato"
@@ -25424,6 +25388,9 @@ msgstr "Il valore di ogni cespite, la sua durata e cosa accade al termine del pe
msgid "What each period's payment is for this asset in the first year"
msgstr "L'importo del pagamento di ogni periodo per questo cespite nel primo anno"
+msgid "What employees read before the questions"
+msgstr ""
+
msgid "What happens to an invoice once it is created"
msgstr "Cosa accade a una fattura una volta creata"
@@ -25963,6 +25930,9 @@ msgstr "Sessioni di lavoro su configurazione e dati"
msgid "Worst Performing Machines"
msgstr "Macchine con Prestazioni Peggiori"
+msgid "Write"
+msgstr ""
+
msgid "Write a note…"
msgstr "Scrivi una nota…"
diff --git a/packages/locale/locales/ja/erp.po b/packages/locale/locales/ja/erp.po
index 3bc32047f7..fe46d8eca5 100644
--- a/packages/locale/locales/ja/erp.po
+++ b/packages/locale/locales/ja/erp.po
@@ -4655,15 +4655,9 @@ msgstr "一括請求は有効です"
msgid "Cert Version"
msgstr "認定バージョン"
-msgid "Certificate not accepted"
-msgstr "証明書が承諾されていません"
-
msgid "Certificate Number"
msgstr "証明書番号"
-msgid "Certificate Submitted"
-msgstr "証明書提出済み"
-
msgid "Certificate uploaded"
msgstr "証明書がアップロードされました"
@@ -4967,9 +4961,6 @@ msgstr "再度クリックして切断"
msgid "Click components in the viewer to add them. Shift-click adds several."
msgstr "ビューアーでコンポーネントをクリックして追加します。Shift キーを押しながらクリックすると複数が追加されます。"
-msgid "Click or drop to choose a different file"
-msgstr "別のファイルを選択するにはクリックするか、ドロップしてください"
-
msgid "Click to rename"
msgstr "クリックして名前を変更"
@@ -8076,9 +8067,6 @@ msgstr "ドロップシップメントステータス"
msgid "Drop whole pages or sections a customer doesn't need."
msgstr "得意先が必要としない全ページまたはセクションを削除します。"
-msgid "Drop your certificate here, or click to choose a file"
-msgstr "ここに証明書をドロップするか、クリックしてファイルを選択"
-
msgid "Drop your file here, or click to browse."
msgstr "ファイルをここにドラッグするか、クリックして参照してください。"
@@ -8763,14 +8751,8 @@ msgstr "この教育訓練に割り当てられた従業員は開くことがで
msgid "Employees can no longer open this training."
msgstr "従業員はこの教育訓練を開くことができなくなりました。"
-msgid "Employees complete this training by uploading their certificate. Turn off External Certification in Properties to use questions."
-msgstr "従業員は証明書をアップロードしてこの教育訓練を完了します。質問を使用するには、プロパティから外部認定を無効にしてください。"
-
-msgid "Employees read it before the questions"
-msgstr "従業員は質問の前にこれを読みます。"
-
-msgid "Employees will no longer see this PDF. You can upload a new one while the training is Draft."
-msgstr "従業員はこのPDFをもう見ることはできません。教育訓練が下書きの間に新しいものをアップロードできます。"
+msgid "Employees complete a training in Carbon"
+msgstr ""
msgid "Empty"
msgstr "空"
@@ -9489,12 +9471,6 @@ msgstr "拡張価格"
msgid "External"
msgstr "社外"
-msgid "External certification"
-msgstr "社外認定"
-
-msgid "External Certification"
-msgstr "社外認定"
-
msgid "External Delta"
msgstr "社外差分"
@@ -9519,6 +9495,9 @@ msgstr "社外参照"
msgid "External Reference"
msgstr "社外参照"
+msgid "External training"
+msgstr ""
+
msgid "Extra fields to capture data Carbon doesn't track by default"
msgstr "Carbonがデフォルトで追跡しないデータをキャプチャするための追加フィールド"
@@ -13057,6 +13036,10 @@ msgstr "マップされた値"
msgid "Mark \"{0}\" as passed?"
msgstr "「{0}」を合格にしますか?"
+#. placeholder {0}: assignment.employeeName?.trim()
+msgid "Mark {0} complete. Attach their certificate if you have one."
+msgstr ""
+
msgid "Mark absent"
msgstr "欠席をマーク"
@@ -14737,8 +14720,8 @@ msgstr "支払明細なし。"
msgid "No payments yet."
msgstr "まだ支払いはありません。"
-msgid "No PDF guide"
-msgstr "PDFガイドなし"
+msgid "No PDF uploaded"
+msgstr ""
msgid "No planned invoices are removed."
msgstr "計画済請求書は削除されません。"
@@ -14782,9 +14765,6 @@ msgstr "生産がまだ記録されていません。"
msgid "No purchases in this period"
msgstr "この期間に購入がありません"
-msgid "No quiz for external certifications"
-msgstr "社外認定のクイズなし"
-
msgid "No Quote"
msgstr "見積辞退"
@@ -16293,9 +16273,6 @@ msgstr "PDF (文書)"
msgid "PDF downloaded"
msgstr "PDFをダウンロードしました"
-msgid "PDF Guide"
-msgstr "PDFガイド"
-
msgid "PDF pages"
msgstr "PDFページ"
@@ -16305,9 +16282,6 @@ msgstr "PDFプレビュー"
msgid "PDF Watermark"
msgstr "PDF透かし"
-msgid "PDF, PNG or JPG, up to 10 MB"
-msgstr "PDF、PNG、またはJPG(最大10MB)"
-
msgid "Pending"
msgstr "待機中"
@@ -18346,8 +18320,8 @@ msgstr "部品を除去"
msgid "Remove path"
msgstr "パスを除去"
-msgid "Remove PDF Guide"
-msgstr "PDFガイドを除去"
+msgid "Remove PDF"
+msgstr ""
msgid "Remove row"
msgstr "行を除去"
@@ -20733,9 +20707,6 @@ msgstr "金額別上位 1,000 グループを表示中"
msgid "Shown as a faint background behind every page of generated PDFs"
msgstr "生成されたPDFの各ページの背景に薄く表示されます"
-msgid "Shown to employees below the PDF guide"
-msgstr "従業員に表示(PDFガイドの下)"
-
msgid "Shown to the customer on the invoice"
msgstr "請求書で顧客に表示されます"
@@ -21410,9 +21381,6 @@ msgstr "補助元帳"
msgid "Submit anonymously"
msgstr "匿名で提出"
-msgid "Submit Certificate"
-msgstr "証明書を提出"
-
msgid "Submit for approval"
msgstr "承認のため提出"
@@ -21757,6 +21725,9 @@ msgstr "パンモードに切り替え"
msgid "Switch to select mode"
msgstr "選択モードに切り替え"
+msgid "Switch to Written Content"
+msgstr ""
+
msgid "Switch users over and confirm access"
msgstr "ユーザーを切り替えてアクセスを確認"
@@ -21821,6 +21792,9 @@ msgstr "このアイテムを製造するために消費される材料全体で
msgid "taken"
msgstr "実施"
+msgid "Taken outside Carbon. You mark each employee complete."
+msgstr ""
+
msgid "Takes Effect"
msgstr "有効開始"
@@ -23480,6 +23454,9 @@ msgstr "この発注書"
msgid "This Quarter"
msgstr "今四半期"
+msgid "This removes the PDF. Employees will see the written content instead."
+msgstr ""
+
msgid "This removes their authenticator app, so their next sign-in only needs a magic link. Use this when they have lost access to their authenticator. It affects their sign-in for every company they belong to."
msgstr "これにより認証器アプリが削除されるため、次回のサインインはマジックリンクのみが必要になります。認証器へのアクセスを失った場合にこれを使用してください。彼らが属するすべての会社のサインインに影響します。"
@@ -23538,10 +23515,6 @@ msgstr "これは{employeeName}をその日のボードから削除します。
msgid "This tool is activated when change notice {activationLockId} is released."
msgstr "この工具は、変更通知 {activationLockId} がリリースされると有効になります。"
-#. placeholder {0}: assignment.employeeName?.trim()
-msgid "This training is external. Upload {0}'s certificate to mark it complete."
-msgstr "この教育訓練は社外です。{0}の証明書をアップロードして完了にしてください。"
-
msgid "This unit has no cost in inventory"
msgstr "この品目は在庫に原価がありません。"
@@ -24083,8 +24056,8 @@ msgstr "教育訓練が記録されていません"
msgid "Training Plan"
msgstr "教育訓練計画"
-msgid "Training taken outside Carbon, such as a vendor course. Employees complete it by uploading the certificate they received instead of answering a quiz."
-msgstr "Carbonの外で実施された教育訓練(ベンダーコースなど)。従業員はクイズに回答する代わりに、受け取った証明書をアップロードして完了します。"
+msgid "Training taken outside Carbon, such as a vendor course. The assignment has only a name. An admin marks each employee complete and can attach their certificate."
+msgstr ""
msgid "Training your team via the Academy and in-app guides"
msgstr "アカデミーとアプリ内ガイドを使用してチームを教育訓練します。"
@@ -24625,9 +24598,6 @@ msgstr "アップロード"
msgid "Upload a PDF first"
msgstr "まずPDFをアップロードしてください"
-msgid "Upload Certificate"
-msgstr "証明書をアップロード"
-
msgid "Upload chart"
msgstr "勘定科目表をアップロード"
@@ -24646,14 +24616,8 @@ msgstr "アップロードに失敗しました。もう一度お試しくださ
msgid "Upload new backup…"
msgstr "新しいバックアップをアップロード…"
-msgid "Upload one PDF, PNG or JPG file of 10 MB or less."
-msgstr "PDF、PNG、JPGいずれかのファイル(10MB以下)を1つアップロードしてください。"
-
-msgid "Upload the certificate you received for this training. Uploading it marks the training as complete."
-msgstr "この教育訓練で受け取った証明書をアップロードしてください。アップロードすると教育訓練が完了になります。"
-
-msgid "Upload your certificate on the next step."
-msgstr "次のステップで証明書をアップロードしてください。"
+msgid "Upload PDF"
+msgstr ""
msgid "Uploaded model"
msgstr "モデルをアップロードしました"
@@ -25424,6 +25388,9 @@ msgstr "各資産の価値、耐用年数、および期間終了時の処遇。
msgid "What each period's payment is for this asset in the first year"
msgstr "このアセットの初年度における各期の支払額"
+msgid "What employees read before the questions"
+msgstr ""
+
msgid "What happens to an invoice once it is created"
msgstr "請求書が作成されたら何が起こるか"
@@ -25963,6 +25930,9 @@ msgstr "設定とデータに関するワーキングセッション"
msgid "Worst Performing Machines"
msgstr "最も性能が低い機械"
+msgid "Write"
+msgstr ""
+
msgid "Write a note…"
msgstr "メモを書く…"
diff --git a/packages/locale/locales/ko/erp.po b/packages/locale/locales/ko/erp.po
index 041df635a8..5cb14c69aa 100644
--- a/packages/locale/locales/ko/erp.po
+++ b/packages/locale/locales/ko/erp.po
@@ -4655,15 +4655,9 @@ msgstr "중앙 집중식 청구가 활성화되었습니다"
msgid "Cert Version"
msgstr "인증 버전"
-msgid "Certificate not accepted"
-msgstr "인증서가 수락되지 않음"
-
msgid "Certificate Number"
msgstr "인증서 번호"
-msgid "Certificate Submitted"
-msgstr "인증서 제출됨"
-
msgid "Certificate uploaded"
msgstr "인증서가 업로드됨"
@@ -4967,9 +4961,6 @@ msgstr "다시 클릭하여 연결 해제"
msgid "Click components in the viewer to add them. Shift-click adds several."
msgstr "뷰어에서 구성품을 클릭하여 추가합니다. Shift 클릭으로 여러 개를 추가합니다."
-msgid "Click or drop to choose a different file"
-msgstr "다른 파일을 선택하려면 클릭하거나 드래그하세요"
-
msgid "Click to rename"
msgstr "클릭하여 이름 바꾸기"
@@ -8076,9 +8067,6 @@ msgstr "직송 출하 상태"
msgid "Drop whole pages or sections a customer doesn't need."
msgstr "고객에게 필요 없는 페이지나 섹션은 통째로 제외하세요."
-msgid "Drop your certificate here, or click to choose a file"
-msgstr "여기에 인증서를 드래그하거나 클릭하여 파일을 선택하세요"
-
msgid "Drop your file here, or click to browse."
msgstr "파일을 여기에 놓거나 클릭하여 찾아보세요."
@@ -8763,14 +8751,8 @@ msgstr "이 교육에 할당된 직원들이 그것을 열 수 있습니다. 콘
msgid "Employees can no longer open this training."
msgstr "직원들은 더 이상 이 교육을 열 수 없습니다."
-msgid "Employees complete this training by uploading their certificate. Turn off External Certification in Properties to use questions."
-msgstr "직원들은 인증서를 업로드하여 이 교육을 완료합니다. 질문을 사용하려면 속성에서 외부 자격증을 끕니다."
-
-msgid "Employees read it before the questions"
-msgstr "직원들은 질문 전에 이것을 읽습니다"
-
-msgid "Employees will no longer see this PDF. You can upload a new one while the training is Draft."
-msgstr "직원들은 더 이상 이 PDF를 볼 수 없습니다. 교육이 초안인 동안 새 파일을 업로드할 수 있습니다."
+msgid "Employees complete a training in Carbon"
+msgstr ""
msgid "Empty"
msgstr "비어있음"
@@ -9489,12 +9471,6 @@ msgstr "확장 가격"
msgid "External"
msgstr "외부"
-msgid "External certification"
-msgstr "외부 자격증"
-
-msgid "External Certification"
-msgstr "외부 자격증"
-
msgid "External Delta"
msgstr "외부 변경사항"
@@ -9519,6 +9495,9 @@ msgstr "외부 참조"
msgid "External Reference"
msgstr "외부 참조"
+msgid "External training"
+msgstr ""
+
msgid "Extra fields to capture data Carbon doesn't track by default"
msgstr "Carbon이 기본적으로 추적하지 않는 데이터를 담기 위한 추가 필드"
@@ -13057,6 +13036,10 @@ msgstr "매핑된 값"
msgid "Mark \"{0}\" as passed?"
msgstr "\"{0}\"을(를) 통과로 표시하시겠습니까?"
+#. placeholder {0}: assignment.employeeName?.trim()
+msgid "Mark {0} complete. Attach their certificate if you have one."
+msgstr ""
+
msgid "Mark absent"
msgstr "부재 표시"
@@ -14737,8 +14720,8 @@ msgstr "지불 라인 없음"
msgid "No payments yet."
msgstr "아직 지불이 없습니다."
-msgid "No PDF guide"
-msgstr "PDF 가이드 없음"
+msgid "No PDF uploaded"
+msgstr ""
msgid "No planned invoices are removed."
msgstr "계획된 송장이 제거되지 않습니다."
@@ -14782,9 +14765,6 @@ msgstr "아직 기록된 생산이 없습니다."
msgid "No purchases in this period"
msgstr "이 기간에 구매가 없습니다"
-msgid "No quiz for external certifications"
-msgstr "외부 자격증에 대한 퀴즈 없음"
-
msgid "No Quote"
msgstr "견적 거절"
@@ -16293,9 +16273,6 @@ msgstr "PDF(문서)"
msgid "PDF downloaded"
msgstr "PDF가 다운로드됨"
-msgid "PDF Guide"
-msgstr "PDF 가이드"
-
msgid "PDF pages"
msgstr "PDF 페이지"
@@ -16305,9 +16282,6 @@ msgstr "PDF 미리보기"
msgid "PDF Watermark"
msgstr "PDF 워터마크"
-msgid "PDF, PNG or JPG, up to 10 MB"
-msgstr "PDF, PNG 또는 JPG, 최대 10MB"
-
msgid "Pending"
msgstr "대기 중"
@@ -18346,8 +18320,8 @@ msgstr "부품 제거"
msgid "Remove path"
msgstr "경로 제거"
-msgid "Remove PDF Guide"
-msgstr "PDF 가이드 제거"
+msgid "Remove PDF"
+msgstr ""
msgid "Remove row"
msgstr "행 제거"
@@ -20733,9 +20707,6 @@ msgstr "금액별 상위 1,000개 그룹을 표시하고 있습니다"
msgid "Shown as a faint background behind every page of generated PDFs"
msgstr "생성된 PDF의 모든 페이지 배경에 옅게 표시됩니다"
-msgid "Shown to employees below the PDF guide"
-msgstr "PDF 가이드 아래에 직원들에게 표시됨"
-
msgid "Shown to the customer on the invoice"
msgstr "송장에서 고객에게 표시"
@@ -21410,9 +21381,6 @@ msgstr "보조원장"
msgid "Submit anonymously"
msgstr "익명으로 제출"
-msgid "Submit Certificate"
-msgstr "인증서 제출"
-
msgid "Submit for approval"
msgstr "승인을 위해 제출"
@@ -21757,6 +21725,9 @@ msgstr "팬 모드로 전환"
msgid "Switch to select mode"
msgstr "선택 모드로 전환"
+msgid "Switch to Written Content"
+msgstr ""
+
msgid "Switch users over and confirm access"
msgstr "사용자를 전환하고 접근 권한을 확인하세요"
@@ -21821,6 +21792,9 @@ msgstr "이 품목을 만드는 데 소비되는 자재 중 가장 짧은 보존
msgid "taken"
msgstr "사용됨"
+msgid "Taken outside Carbon. You mark each employee complete."
+msgstr ""
+
msgid "Takes Effect"
msgstr "발효됨"
@@ -23480,6 +23454,9 @@ msgstr "이 발주서"
msgid "This Quarter"
msgstr "이번 분기"
+msgid "This removes the PDF. Employees will see the written content instead."
+msgstr ""
+
msgid "This removes their authenticator app, so their next sign-in only needs a magic link. Use this when they have lost access to their authenticator. It affects their sign-in for every company they belong to."
msgstr "이것은 그들의 인증 앱을 제거하므로 다음 로그인에는 매직 링크만 필요합니다. 그들이 인증 수단에 대한 접근을 잃었을 때 이것을 사용하세요. 이것은 그들이 속한 모든 회사에 대한 로그인에 영향을 미칩니다."
@@ -23538,10 +23515,6 @@ msgstr "이것은 {employeeName}을 그 날의 보드에서 제거합니다. 확
msgid "This tool is activated when change notice {activationLockId} is released."
msgstr "이 공구는 변경 통지 {activationLockId}이 릴리스될 때 활성화됩니다."
-#. placeholder {0}: assignment.employeeName?.trim()
-msgid "This training is external. Upload {0}'s certificate to mark it complete."
-msgstr "이 교육은 외부입니다. {0}의 인증서를 업로드하여 완료로 표시하십시오."
-
msgid "This unit has no cost in inventory"
msgstr "이 개는 재고에 원가가 없습니다."
@@ -24083,8 +24056,8 @@ msgstr "교육이 기록되지 않음"
msgid "Training Plan"
msgstr "교육 계획"
-msgid "Training taken outside Carbon, such as a vendor course. Employees complete it by uploading the certificate they received instead of answering a quiz."
-msgstr "Carbon 외부에서 수강한 교육(예: 공급업체 과정). 직원들은 퀴즈에 답하는 대신 받은 인증서를 업로드하여 완료합니다."
+msgid "Training taken outside Carbon, such as a vendor course. The assignment has only a name. An admin marks each employee complete and can attach their certificate."
+msgstr ""
msgid "Training your team via the Academy and in-app guides"
msgstr "아카데미와 인앱 가이드를 통한 팀 교육"
@@ -24625,9 +24598,6 @@ msgstr "업로드"
msgid "Upload a PDF first"
msgstr "먼저 PDF를 업로드하세요"
-msgid "Upload Certificate"
-msgstr "인증서 업로드"
-
msgid "Upload chart"
msgstr "계정과목표 업로드"
@@ -24646,14 +24616,8 @@ msgstr "업로드에 실패했습니다. 다시 시도해 주세요."
msgid "Upload new backup…"
msgstr "새 백업 업로드…"
-msgid "Upload one PDF, PNG or JPG file of 10 MB or less."
-msgstr "10MB 이하의 PDF, PNG 또는 JPG 파일 하나를 업로드하십시오."
-
-msgid "Upload the certificate you received for this training. Uploading it marks the training as complete."
-msgstr "이 교육을 위해 받은 인증서를 업로드하십시오. 업로드하면 교육이 완료로 표시됩니다."
-
-msgid "Upload your certificate on the next step."
-msgstr "다음 단계에서 인증서를 업로드하십시오."
+msgid "Upload PDF"
+msgstr ""
msgid "Uploaded model"
msgstr "업로드된 모델"
@@ -25424,6 +25388,9 @@ msgstr "각 자산의 가치, 지속 기간, 계약 종료 시 처리 방법입
msgid "What each period's payment is for this asset in the first year"
msgstr "첫 해에 이 자산에 대한 각 기간의 지불액"
+msgid "What employees read before the questions"
+msgstr ""
+
msgid "What happens to an invoice once it is created"
msgstr "송장이 생성된 후 어떤 일이 일어나는지"
@@ -25963,6 +25930,9 @@ msgstr "설정 및 데이터에 대한 작업 세션"
msgid "Worst Performing Machines"
msgstr "성능이 가장 낮은 기계"
+msgid "Write"
+msgstr ""
+
msgid "Write a note…"
msgstr "메모 작성…"
diff --git a/packages/locale/locales/pl/erp.po b/packages/locale/locales/pl/erp.po
index e097732a77..d633446db5 100644
--- a/packages/locale/locales/pl/erp.po
+++ b/packages/locale/locales/pl/erp.po
@@ -4655,15 +4655,9 @@ msgstr "Centralne rozliczenia są włączone"
msgid "Cert Version"
msgstr "Wersja certyfikatu"
-msgid "Certificate not accepted"
-msgstr "Zaświadczenie nie zostało zaakceptowane"
-
msgid "Certificate Number"
msgstr "Numer Certyfikatu"
-msgid "Certificate Submitted"
-msgstr "Zaświadczenie przesłane"
-
msgid "Certificate uploaded"
msgstr "Certifikat przesłany"
@@ -4967,9 +4961,6 @@ msgstr "Kliknij ponownie, aby rozłączyć"
msgid "Click components in the viewer to add them. Shift-click adds several."
msgstr "Kliknij komponenty w przeglądarce, aby je dodać. Shift+klik dodaje kilka."
-msgid "Click or drop to choose a different file"
-msgstr "Kliknij lub upuść, aby wybrać inny plik"
-
msgid "Click to rename"
msgstr "Kliknij, aby zmienić nazwę"
@@ -8076,9 +8067,6 @@ msgstr "Statusy wysyłki bezpośredniej"
msgid "Drop whole pages or sections a customer doesn't need."
msgstr "Usuń całe strony lub sekcje, które klient nie potrzebuje."
-msgid "Drop your certificate here, or click to choose a file"
-msgstr "Upuść swoje zaświadczenie tutaj lub kliknij, aby wybrać plik"
-
msgid "Drop your file here, or click to browse."
msgstr "Upuść plik tutaj lub kliknij, aby przeglądać."
@@ -8763,14 +8751,8 @@ msgstr "Pracownicy przydzieleni do tego szkolenia mogą je otworzyć. Treść, p
msgid "Employees can no longer open this training."
msgstr "Pracownicy nie mogą już otworzyć tego szkolenia."
-msgid "Employees complete this training by uploading their certificate. Turn off External Certification in Properties to use questions."
-msgstr "Pracownicy mogą zakończyć to szkolenie poprzez przesłanie zaświadczenia. Wyłącz certyfikację zewnętrzną w Ustawieniach, aby używać pytań."
-
-msgid "Employees read it before the questions"
-msgstr "Pracownicy czytają to przed pytaniami"
-
-msgid "Employees will no longer see this PDF. You can upload a new one while the training is Draft."
-msgstr "Pracownicy nie będą już widzeć tego pliku PDF. Możesz przesłać nowy, dopóki szkolenie jest w Wersji roboczej."
+msgid "Employees complete a training in Carbon"
+msgstr ""
msgid "Empty"
msgstr "Puste"
@@ -9489,12 +9471,6 @@ msgstr "Cena rozszerzona"
msgid "External"
msgstr "Zewnętrzne"
-msgid "External certification"
-msgstr "certyfikacja zewnętrzna"
-
-msgid "External Certification"
-msgstr "Certyfikacja zewnętrzna"
-
msgid "External Delta"
msgstr "Różnica zewnętrzna"
@@ -9519,6 +9495,9 @@ msgstr "Ref. zewnętrzna"
msgid "External Reference"
msgstr "Odniesienie zewnętrzne"
+msgid "External training"
+msgstr ""
+
msgid "Extra fields to capture data Carbon doesn't track by default"
msgstr "Dodatkowe pola do przechwytywania danych, których Carbon nie śledzi domyślnie"
@@ -13057,6 +13036,10 @@ msgstr "Zmapowane wartości"
msgid "Mark \"{0}\" as passed?"
msgstr "Oznacz \"{0}\" jako zaliczony?"
+#. placeholder {0}: assignment.employeeName?.trim()
+msgid "Mark {0} complete. Attach their certificate if you have one."
+msgstr ""
+
msgid "Mark absent"
msgstr "Oznacz jako nieobecny"
@@ -14737,8 +14720,8 @@ msgstr "Brak wierszy płatności."
msgid "No payments yet."
msgstr "Brak płatności."
-msgid "No PDF guide"
-msgstr "Brak przewodnika PDF"
+msgid "No PDF uploaded"
+msgstr ""
msgid "No planned invoices are removed."
msgstr "Nie usunięto żadnych zaplanowanych faktur."
@@ -14782,9 +14765,6 @@ msgstr "Brak zarejestrowanej produkcji."
msgid "No purchases in this period"
msgstr "Brak zakupów w tym okresie"
-msgid "No quiz for external certifications"
-msgstr "Brak quizu dla certyfikacji zewnętrznych"
-
msgid "No Quote"
msgstr "Odmowa oferty"
@@ -16293,9 +16273,6 @@ msgstr "PDF (Dokument)"
msgid "PDF downloaded"
msgstr "PDF pobrany"
-msgid "PDF Guide"
-msgstr "Przewodnik PDF"
-
msgid "PDF pages"
msgstr "Strony PDF"
@@ -16305,9 +16282,6 @@ msgstr "Podgląd PDF"
msgid "PDF Watermark"
msgstr "Znak wodny PDF"
-msgid "PDF, PNG or JPG, up to 10 MB"
-msgstr "PDF, PNG lub JPG, do 10 MB"
-
msgid "Pending"
msgstr "Oczekujące"
@@ -18346,8 +18320,8 @@ msgstr "Usuń z listy część"
msgid "Remove path"
msgstr "Usuń z listy ścieżkę"
-msgid "Remove PDF Guide"
-msgstr "Usuń z listy przewodnik PDF"
+msgid "Remove PDF"
+msgstr ""
msgid "Remove row"
msgstr "Usuń z listy wiersz"
@@ -20733,9 +20707,6 @@ msgstr "Pokazywanie 1000 najlepszych grup wg kwoty"
msgid "Shown as a faint background behind every page of generated PDFs"
msgstr "Wyświetlany jako delikatne tło za każdą stroną wygenerowanych plików PDF"
-msgid "Shown to employees below the PDF guide"
-msgstr "Pokazywane pracownikom poniżej przewodnika PDF"
-
msgid "Shown to the customer on the invoice"
msgstr "Wyświetlane klientowi na fakturze"
@@ -21410,9 +21381,6 @@ msgstr "Księga pomocnicza"
msgid "Submit anonymously"
msgstr "Prześlij anonimowo"
-msgid "Submit Certificate"
-msgstr "Prześlij zaświadczenie"
-
msgid "Submit for approval"
msgstr "Prześlij do zatwierdzenia"
@@ -21757,6 +21725,9 @@ msgstr "Przełącz na tryb panoramy"
msgid "Switch to select mode"
msgstr "Przełącz na tryb wyboru"
+msgid "Switch to Written Content"
+msgstr ""
+
msgid "Switch users over and confirm access"
msgstr "Przełącz użytkowników i potwierdź dostęp"
@@ -21821,6 +21792,9 @@ msgstr "Weź najkrótszy pozostały okres przydatności spośród materiałów z
msgid "taken"
msgstr "wzięte"
+msgid "Taken outside Carbon. You mark each employee complete."
+msgstr ""
+
msgid "Takes Effect"
msgstr "Wchodzi w życie"
@@ -23480,6 +23454,9 @@ msgstr "to zamówienie zakupu"
msgid "This Quarter"
msgstr "Ten Kwartał"
+msgid "This removes the PDF. Employees will see the written content instead."
+msgstr ""
+
msgid "This removes their authenticator app, so their next sign-in only needs a magic link. Use this when they have lost access to their authenticator. It affects their sign-in for every company they belong to."
msgstr "To usuwa ich aplikację uwierzytelniającą, więc ich następny login potrzebuje tylko magicznego linku. Użyj tego, gdy stracili dostęp do swojej aplikacji uwierzytelniającej. To wpływa na ich logowanie dla każdej firmy, do której należą."
@@ -23538,10 +23515,6 @@ msgstr "To usuwa {employeeName} z tablicy na dzień. Zapisz ponownie, aby potwie
msgid "This tool is activated when change notice {activationLockId} is released."
msgstr "To narzędzie jest aktywowane, gdy zawiadomienie o zmianie {activationLockId} zostanie zwolnione."
-#. placeholder {0}: assignment.employeeName?.trim()
-msgid "This training is external. Upload {0}'s certificate to mark it complete."
-msgstr "To szkolenie jest zewnętrzne. Prześlij zaświadczenie {0}, aby oznaczyć je jako ukończone."
-
msgid "This unit has no cost in inventory"
msgstr "Ta sztuka nie ma kosztu w zapasach"
@@ -24083,8 +24056,8 @@ msgstr "Szkolenie nie zostało zarejestrowane"
msgid "Training Plan"
msgstr "Plan szkoleniowy"
-msgid "Training taken outside Carbon, such as a vendor course. Employees complete it by uploading the certificate they received instead of answering a quiz."
-msgstr "Szkolenie odbyte poza Carbon, takie jak kurs producenta. Pracownicy mogą je zakończyć poprzez przesłanie otrzymanego zaświadczenia zamiast odpowiadania na quiz."
+msgid "Training taken outside Carbon, such as a vendor course. The assignment has only a name. An admin marks each employee complete and can attach their certificate."
+msgstr ""
msgid "Training your team via the Academy and in-app guides"
msgstr "Szkolenie zespołu za pośrednictwem Academy i przewodników w aplikacji"
@@ -24625,9 +24598,6 @@ msgstr "Prześlij plik"
msgid "Upload a PDF first"
msgstr "Najpierw prześlij plik PDF"
-msgid "Upload Certificate"
-msgstr "Prześlij zaświadczenie"
-
msgid "Upload chart"
msgstr "Prześlij plan"
@@ -24646,14 +24616,8 @@ msgstr "Przesłanie pliku nie powiodło się. Spróbuj ponownie."
msgid "Upload new backup…"
msgstr "Prześlij nową kopię zapasową…"
-msgid "Upload one PDF, PNG or JPG file of 10 MB or less."
-msgstr "Prześlij jeden plik PDF, PNG lub JPG o rozmiarze do 10 MB."
-
-msgid "Upload the certificate you received for this training. Uploading it marks the training as complete."
-msgstr "Prześlij zaświadczenie otrzymane dla tego szkolenia. Przesłanie go oznacza szkolenie jako ukończone."
-
-msgid "Upload your certificate on the next step."
-msgstr "Prześlij swoje zaświadczenie w następnym kroku."
+msgid "Upload PDF"
+msgstr ""
msgid "Uploaded model"
msgstr "Model przesłany"
@@ -25424,6 +25388,9 @@ msgstr "Wartość każdego aktywa, czas jego użytkowania i co się z nim stanie
msgid "What each period's payment is for this asset in the first year"
msgstr "Jaka jest płatność za każdy okres dla tego aktywa w pierwszym roku"
+msgid "What employees read before the questions"
+msgstr ""
+
msgid "What happens to an invoice once it is created"
msgstr "Co się stanie z fakturą po jej utworzeniu"
@@ -25963,6 +25930,9 @@ msgstr "Sesje robocze dotyczące konfiguracji i danych"
msgid "Worst Performing Machines"
msgstr "Maszyny o najgorszych wynikach"
+msgid "Write"
+msgstr ""
+
msgid "Write a note…"
msgstr "Wpisz notatkę…"
diff --git a/packages/locale/locales/pt/erp.po b/packages/locale/locales/pt/erp.po
index da98387af4..867ef34557 100644
--- a/packages/locale/locales/pt/erp.po
+++ b/packages/locale/locales/pt/erp.po
@@ -4655,15 +4655,9 @@ msgstr "Cobrança centralizada está habilitada"
msgid "Cert Version"
msgstr "Versão da Certificação"
-msgid "Certificate not accepted"
-msgstr "Certificado não aceito"
-
msgid "Certificate Number"
msgstr "Número do Certificado"
-msgid "Certificate Submitted"
-msgstr "Certificado Enviado"
-
msgid "Certificate uploaded"
msgstr "Certificado enviado"
@@ -4967,9 +4961,6 @@ msgstr "Clique novamente para desconectar"
msgid "Click components in the viewer to add them. Shift-click adds several."
msgstr "Clique em componentes no visualizador para adicioná-los. Shift+clique adiciona vários."
-msgid "Click or drop to choose a different file"
-msgstr "Clique ou arraste para escolher um arquivo diferente"
-
msgid "Click to rename"
msgstr "Clique para renomear"
@@ -8076,9 +8067,6 @@ msgstr "Status de Remessa Direta"
msgid "Drop whole pages or sections a customer doesn't need."
msgstr "Remova páginas ou seções inteiras que o cliente não precisa."
-msgid "Drop your certificate here, or click to choose a file"
-msgstr "Arraste seu certificado aqui ou clique para escolher um arquivo"
-
msgid "Drop your file here, or click to browse."
msgstr "Solte seu arquivo aqui ou clique para procurar."
@@ -8763,14 +8751,8 @@ msgstr "Funcionários alocados para este treinamento podem abri-lo. O conteúdo,
msgid "Employees can no longer open this training."
msgstr "Os funcionários não podem mais abrir este treinamento."
-msgid "Employees complete this training by uploading their certificate. Turn off External Certification in Properties to use questions."
-msgstr "Os funcionários concluem este treinamento ao enviar seu certificado. Desative a Certificação Externa nas Propriedades para usar perguntas."
-
-msgid "Employees read it before the questions"
-msgstr "Os funcionários a leem antes das perguntas"
-
-msgid "Employees will no longer see this PDF. You can upload a new one while the training is Draft."
-msgstr "Os funcionários não verão mais este PDF. Você pode enviar um novo enquanto o treinamento estiver em Rascunho."
+msgid "Employees complete a training in Carbon"
+msgstr ""
msgid "Empty"
msgstr "Vazio"
@@ -9489,12 +9471,6 @@ msgstr "Preço Estendido"
msgid "External"
msgstr "Externo"
-msgid "External certification"
-msgstr "Certificação externa"
-
-msgid "External Certification"
-msgstr "Certificação Externa"
-
msgid "External Delta"
msgstr "Delta externo"
@@ -9519,6 +9495,9 @@ msgstr "Ref. Externa"
msgid "External Reference"
msgstr "Referência Externa"
+msgid "External training"
+msgstr ""
+
msgid "Extra fields to capture data Carbon doesn't track by default"
msgstr "Campos extras para capturar dados que o Carbon não rastreia por padrão"
@@ -13057,6 +13036,10 @@ msgstr "Valores mapeados"
msgid "Mark \"{0}\" as passed?"
msgstr "Marcar \"{0}\" como aprovado?"
+#. placeholder {0}: assignment.employeeName?.trim()
+msgid "Mark {0} complete. Attach their certificate if you have one."
+msgstr ""
+
msgid "Mark absent"
msgstr "Marcar ausente"
@@ -14737,8 +14720,8 @@ msgstr "Nenhuma linha de pagamento."
msgid "No payments yet."
msgstr "Nenhum pagamento ainda."
-msgid "No PDF guide"
-msgstr "Sem guia em PDF"
+msgid "No PDF uploaded"
+msgstr ""
msgid "No planned invoices are removed."
msgstr "Nenhuma fatura planejada é removida."
@@ -14782,9 +14765,6 @@ msgstr "Nenhuma produção registrada ainda."
msgid "No purchases in this period"
msgstr "Nenhuma compra neste período"
-msgid "No quiz for external certifications"
-msgstr "Sem questionário para certificações externas"
-
msgid "No Quote"
msgstr "Sem Cotação"
@@ -16293,9 +16273,6 @@ msgstr "PDF (Documento)"
msgid "PDF downloaded"
msgstr "PDF baixado"
-msgid "PDF Guide"
-msgstr "Guia em PDF"
-
msgid "PDF pages"
msgstr "Páginas do PDF"
@@ -16305,9 +16282,6 @@ msgstr "Visualização de PDF"
msgid "PDF Watermark"
msgstr "Marca d'água do PDF"
-msgid "PDF, PNG or JPG, up to 10 MB"
-msgstr "PDF, PNG ou JPG, até 10 MB"
-
msgid "Pending"
msgstr "Pendente"
@@ -18346,8 +18320,8 @@ msgstr "Remover peça"
msgid "Remove path"
msgstr "Remover caminho"
-msgid "Remove PDF Guide"
-msgstr "Remover Guia em PDF"
+msgid "Remove PDF"
+msgstr ""
msgid "Remove row"
msgstr "Remover linha"
@@ -20733,9 +20707,6 @@ msgstr "Mostrando os 1.000 grupos principais por valor"
msgid "Shown as a faint background behind every page of generated PDFs"
msgstr "Exibido como um fundo suave atrás de cada página dos PDFs gerados"
-msgid "Shown to employees below the PDF guide"
-msgstr "Mostrado aos funcionários abaixo do guia em PDF"
-
msgid "Shown to the customer on the invoice"
msgstr "Mostrado ao cliente na fatura"
@@ -21410,9 +21381,6 @@ msgstr "Razão Auxiliar"
msgid "Submit anonymously"
msgstr "Enviar anonimamente"
-msgid "Submit Certificate"
-msgstr "Enviar Certificado"
-
msgid "Submit for approval"
msgstr "Enviar para aprovação"
@@ -21757,6 +21725,9 @@ msgstr "Mudar para modo pan"
msgid "Switch to select mode"
msgstr "Mudar para modo selecionar"
+msgid "Switch to Written Content"
+msgstr ""
+
msgid "Switch users over and confirm access"
msgstr "Alternar usuários e confirmar acesso"
@@ -21821,6 +21792,9 @@ msgstr "Usar a vida de prateleira restante mais curta entre os materiais consumi
msgid "taken"
msgstr "tomado"
+msgid "Taken outside Carbon. You mark each employee complete."
+msgstr ""
+
msgid "Takes Effect"
msgstr "Entra em Vigor"
@@ -23480,6 +23454,9 @@ msgstr "este pedido de compra"
msgid "This Quarter"
msgstr "Este Trimestre"
+msgid "This removes the PDF. Employees will see the written content instead."
+msgstr ""
+
msgid "This removes their authenticator app, so their next sign-in only needs a magic link. Use this when they have lost access to their authenticator. It affects their sign-in for every company they belong to."
msgstr "Isso remove seu aplicativo autenticador, portanto seu próximo login só precisa de um link mágico. Use isso quando eles tiverem perdido acesso ao seu autenticador. Afeta seu login para cada empresa a que pertencem."
@@ -23538,10 +23515,6 @@ msgstr "Isso remove {employeeName} da lista pelo dia. Salve novamente para confi
msgid "This tool is activated when change notice {activationLockId} is released."
msgstr "Esta ferramenta é ativada quando o aviso de alteração {activationLockId} é liberado."
-#. placeholder {0}: assignment.employeeName?.trim()
-msgid "This training is external. Upload {0}'s certificate to mark it complete."
-msgstr "Este treinamento é externo. Envie o certificado de {0} para marcá-lo como concluído."
-
msgid "This unit has no cost in inventory"
msgstr "Esta unidade não tem custo no inventário"
@@ -24083,8 +24056,8 @@ msgstr "Treinamento não registrado"
msgid "Training Plan"
msgstr "Plano de Treinamento"
-msgid "Training taken outside Carbon, such as a vendor course. Employees complete it by uploading the certificate they received instead of answering a quiz."
-msgstr "Treinamento realizado fora do Carbon, como um curso de fornecedor. Os funcionários o concluem ao enviar o certificado que receberam em vez de responder um questionário."
+msgid "Training taken outside Carbon, such as a vendor course. The assignment has only a name. An admin marks each employee complete and can attach their certificate."
+msgstr ""
msgid "Training your team via the Academy and in-app guides"
msgstr "Treinamento da sua equipe via Academy e guias integrados"
@@ -24625,9 +24598,6 @@ msgstr "Enviar arquivo"
msgid "Upload a PDF first"
msgstr "Envie um arquivo PDF primeiro"
-msgid "Upload Certificate"
-msgstr "Enviar Certificado"
-
msgid "Upload chart"
msgstr "Enviar plano"
@@ -24646,14 +24616,8 @@ msgstr "O envio do arquivo falhou. Por favor, tente novamente."
msgid "Upload new backup…"
msgstr "Enviar novo arquivo de backup…"
-msgid "Upload one PDF, PNG or JPG file of 10 MB or less."
-msgstr "Enviar um arquivo PDF, PNG ou JPG com 10 MB ou menos."
-
-msgid "Upload the certificate you received for this training. Uploading it marks the training as complete."
-msgstr "Envie o certificado que você recebeu para este treinamento. Ao enviá-lo, o treinamento é marcado como concluído."
-
-msgid "Upload your certificate on the next step."
-msgstr "Envie seu certificado na próxima etapa."
+msgid "Upload PDF"
+msgstr ""
msgid "Uploaded model"
msgstr "Modelo carregado"
@@ -25424,6 +25388,9 @@ msgstr "Quanto cada ativo vale, quanto dura e o que acontece ao final do prazo.
msgid "What each period's payment is for this asset in the first year"
msgstr "O pagamento de cada período para este ativo no primeiro ano"
+msgid "What employees read before the questions"
+msgstr ""
+
msgid "What happens to an invoice once it is created"
msgstr "O que acontece com uma fatura depois de criada"
@@ -25963,6 +25930,9 @@ msgstr "Sessões de trabalho sobre configuração e dados"
msgid "Worst Performing Machines"
msgstr "Máquinas com Pior Desempenho"
+msgid "Write"
+msgstr ""
+
msgid "Write a note…"
msgstr "Escrever uma observação…"
diff --git a/packages/locale/locales/ru/erp.po b/packages/locale/locales/ru/erp.po
index 446c0b6e03..55e7003939 100644
--- a/packages/locale/locales/ru/erp.po
+++ b/packages/locale/locales/ru/erp.po
@@ -4655,15 +4655,9 @@ msgstr "Централизованное выставление счетов в
msgid "Cert Version"
msgstr "Версия сертификата"
-msgid "Certificate not accepted"
-msgstr "Сертификат не принят"
-
msgid "Certificate Number"
msgstr "Номер сертификата"
-msgid "Certificate Submitted"
-msgstr "Сертификат отправлен"
-
msgid "Certificate uploaded"
msgstr "Сертификат загружен"
@@ -4967,9 +4961,6 @@ msgstr "Нажмите еще раз, чтобы отключить"
msgid "Click components in the viewer to add them. Shift-click adds several."
msgstr "Щелкните на компоненты в средстве просмотра, чтобы добавить их. Shift+щелчок добавляет несколько."
-msgid "Click or drop to choose a different file"
-msgstr "Щелкните или перетащите, чтобы выбрать другой файл"
-
msgid "Click to rename"
msgstr "Нажмите, чтобы переименовать"
@@ -8076,9 +8067,6 @@ msgstr "Статусы прямой отгрузки"
msgid "Drop whole pages or sections a customer doesn't need."
msgstr "Исключите целые страницы или разделы, которые покупателю не нужны."
-msgid "Drop your certificate here, or click to choose a file"
-msgstr "Перетащите ваш сертификат сюда или щелкните, чтобы выбрать файл"
-
msgid "Drop your file here, or click to browse."
msgstr "Перетащите файл сюда или нажмите для обзора."
@@ -8763,14 +8751,8 @@ msgstr "Сотрудники, назначенные на это обучени
msgid "Employees can no longer open this training."
msgstr "Сотрудники больше не могут открыть это обучение."
-msgid "Employees complete this training by uploading their certificate. Turn off External Certification in Properties to use questions."
-msgstr "Сотрудники завершают это обучение путем загрузки своего сертификата. Отключите параметр «Внешняя сертификация» в свойствах, чтобы использовать вопросы."
-
-msgid "Employees read it before the questions"
-msgstr "Сотрудники читают это перед вопросами"
-
-msgid "Employees will no longer see this PDF. You can upload a new one while the training is Draft."
-msgstr "Сотрудники больше не будут видеть этот PDF. Вы можете загрузить новый, пока обучение находится в черновике."
+msgid "Employees complete a training in Carbon"
+msgstr ""
msgid "Empty"
msgstr "Пусто"
@@ -9489,12 +9471,6 @@ msgstr "Расширенная цена"
msgid "External"
msgstr "Внешние"
-msgid "External certification"
-msgstr "Внешняя сертификация"
-
-msgid "External Certification"
-msgstr "Внешняя сертификация"
-
msgid "External Delta"
msgstr "Внешняя разница"
@@ -9519,6 +9495,9 @@ msgstr "Внешняя ссылка"
msgid "External Reference"
msgstr "Внешняя ссылка"
+msgid "External training"
+msgstr ""
+
msgid "Extra fields to capture data Carbon doesn't track by default"
msgstr "Дополнительные поля для сбора данных, которые Carbon не отслеживает по умолчанию"
@@ -13057,6 +13036,10 @@ msgstr "Отображенные значения"
msgid "Mark \"{0}\" as passed?"
msgstr "Отметить \"{0}\" как пройденный?"
+#. placeholder {0}: assignment.employeeName?.trim()
+msgid "Mark {0} complete. Attach their certificate if you have one."
+msgstr ""
+
msgid "Mark absent"
msgstr "Отметить отсутствующим"
@@ -14737,8 +14720,8 @@ msgstr "Нет строк платежей."
msgid "No payments yet."
msgstr "Платежей пока нет."
-msgid "No PDF guide"
-msgstr "Нет руководства PDF"
+msgid "No PDF uploaded"
+msgstr ""
msgid "No planned invoices are removed."
msgstr "Запланированные счета-фактуры не удаляются."
@@ -14782,9 +14765,6 @@ msgstr "Производство еще не записано."
msgid "No purchases in this period"
msgstr "Нет покупок в этом периоде"
-msgid "No quiz for external certifications"
-msgstr "Нет викторины для внешних сертификаций"
-
msgid "No Quote"
msgstr "Отказ от предложения"
@@ -16293,9 +16273,6 @@ msgstr "PDF (Документ)"
msgid "PDF downloaded"
msgstr "PDF загружен"
-msgid "PDF Guide"
-msgstr "Руководство PDF"
-
msgid "PDF pages"
msgstr "Страницы PDF"
@@ -16305,9 +16282,6 @@ msgstr "Предпросмотр PDF"
msgid "PDF Watermark"
msgstr "Водяной знак PDF"
-msgid "PDF, PNG or JPG, up to 10 MB"
-msgstr "PDF, PNG или JPG размером до 10 МБ"
-
msgid "Pending"
msgstr "Ожидание"
@@ -18346,8 +18320,8 @@ msgstr "Убрать деталь"
msgid "Remove path"
msgstr "Убрать путь"
-msgid "Remove PDF Guide"
-msgstr "Убрать руководство PDF"
+msgid "Remove PDF"
+msgstr ""
msgid "Remove row"
msgstr "Убрать строку"
@@ -20733,9 +20707,6 @@ msgstr "Показано топ 1000 групп по сумме"
msgid "Shown as a faint background behind every page of generated PDFs"
msgstr "Отображается как бледный фон на каждой странице сгенерированных PDF-файлов"
-msgid "Shown to employees below the PDF guide"
-msgstr "Отображается сотрудникам ниже руководства PDF"
-
msgid "Shown to the customer on the invoice"
msgstr "Показано покупателю на счет-фактуре"
@@ -21410,9 +21381,6 @@ msgstr "Вспомогательная книга"
msgid "Submit anonymously"
msgstr "Отправить анонимно"
-msgid "Submit Certificate"
-msgstr "Отправить сертификат"
-
msgid "Submit for approval"
msgstr "Отправить на утверждение"
@@ -21757,6 +21725,9 @@ msgstr "Переключиться в режим панорамы"
msgid "Switch to select mode"
msgstr "Переключиться в режим выделения"
+msgid "Switch to Written Content"
+msgstr ""
+
msgid "Switch users over and confirm access"
msgstr "Переключите пользователей и подтвердите доступ"
@@ -21821,6 +21792,9 @@ msgstr "Возьмите кратчайший оставшийся срок хр
msgid "taken"
msgstr "взято"
+msgid "Taken outside Carbon. You mark each employee complete."
+msgstr ""
+
msgid "Takes Effect"
msgstr "Вступает в силу"
@@ -23480,6 +23454,9 @@ msgstr "этот заказ поставщику"
msgid "This Quarter"
msgstr "Этот квартал"
+msgid "This removes the PDF. Employees will see the written content instead."
+msgstr ""
+
msgid "This removes their authenticator app, so their next sign-in only needs a magic link. Use this when they have lost access to their authenticator. It affects their sign-in for every company they belong to."
msgstr "Это удаляет их приложение аутентификатора, поэтому их следующий вход требует только волшебной ссылки. Используйте это, когда они потеряли доступ к своему аутентификатору. Это влияет на их вход для каждой организации, которой они принадлежат."
@@ -23538,10 +23515,6 @@ msgstr "Это удаляет {employeeName} с доски на день. Сох
msgid "This tool is activated when change notice {activationLockId} is released."
msgstr "Этот инструмент активизируется при запуске извещения об изменении {activationLockId}."
-#. placeholder {0}: assignment.employeeName?.trim()
-msgid "This training is external. Upload {0}'s certificate to mark it complete."
-msgstr "Это обучение является внешним. Загрузите сертификат {0}, чтобы отметить его как завершенное."
-
msgid "This unit has no cost in inventory"
msgstr "У этой единицы нет стоимости в запасах"
@@ -24083,8 +24056,8 @@ msgstr "Обучение не записано"
msgid "Training Plan"
msgstr "План обучения"
-msgid "Training taken outside Carbon, such as a vendor course. Employees complete it by uploading the certificate they received instead of answering a quiz."
-msgstr "Обучение, пройденное вне Carbon, например курс поставщика. Сотрудники завершают его путем загрузки полученного сертификата вместо ответа на вопросы викторины."
+msgid "Training taken outside Carbon, such as a vendor course. The assignment has only a name. An admin marks each employee complete and can attach their certificate."
+msgstr ""
msgid "Training your team via the Academy and in-app guides"
msgstr "Обучение вашей команды через Academy и встроенные руководства"
@@ -24625,9 +24598,6 @@ msgstr "Загрузить"
msgid "Upload a PDF first"
msgstr "Сначала загрузите PDF"
-msgid "Upload Certificate"
-msgstr "Загрузить сертификат"
-
msgid "Upload chart"
msgstr "Загрузить план"
@@ -24646,14 +24616,8 @@ msgstr "Не удалось загрузить файл. Попробуйте е
msgid "Upload new backup…"
msgstr "Загрузить новую резервную копию…"
-msgid "Upload one PDF, PNG or JPG file of 10 MB or less."
-msgstr "Загрузите один файл PDF, PNG или JPG размером 10 МБ или меньше."
-
-msgid "Upload the certificate you received for this training. Uploading it marks the training as complete."
-msgstr "Загрузите сертификат, который вы получили для этого обучения. Загрузка отмечает обучение как завершенное."
-
-msgid "Upload your certificate on the next step."
-msgstr "Загрузите ваш сертификат на следующем шаге."
+msgid "Upload PDF"
+msgstr ""
msgid "Uploaded model"
msgstr "Модель загружена"
@@ -25424,6 +25388,9 @@ msgstr "Стоимость каждого актива, продолжитель
msgid "What each period's payment is for this asset in the first year"
msgstr "Размер платежа каждого периода для этого актива в первый год"
+msgid "What employees read before the questions"
+msgstr ""
+
msgid "What happens to an invoice once it is created"
msgstr "Что происходит со счетом-фактурой после его создания"
@@ -25963,6 +25930,9 @@ msgstr "Рабочие сессии по конфигурации и данны
msgid "Worst Performing Machines"
msgstr "Худшие станки"
+msgid "Write"
+msgstr ""
+
msgid "Write a note…"
msgstr "Написать примечание…"
diff --git a/packages/locale/locales/tr/erp.po b/packages/locale/locales/tr/erp.po
index 4f1203c536..9e4587e6fe 100644
--- a/packages/locale/locales/tr/erp.po
+++ b/packages/locale/locales/tr/erp.po
@@ -4655,15 +4655,9 @@ msgstr "Merkezleştirilmiş faturalandırma etkinleştirildi"
msgid "Cert Version"
msgstr "Sertifika Versiyonu"
-msgid "Certificate not accepted"
-msgstr "Sertifika kabul edilmedi"
-
msgid "Certificate Number"
msgstr "Sertifika Numarası"
-msgid "Certificate Submitted"
-msgstr "Sertifika Gönderildi"
-
msgid "Certificate uploaded"
msgstr "Sertifika Yüklendi"
@@ -4967,9 +4961,6 @@ msgstr "Bağlantıyı kesmek için yeniden tıklayın"
msgid "Click components in the viewer to add them. Shift-click adds several."
msgstr "Bileşenleri eklemek için görüntüleyicide tıklayın. Shift tuşuyla tıklamak birkaçını ekler."
-msgid "Click or drop to choose a different file"
-msgstr "Farklı bir dosya seçmek için tıklayın veya sürükleyip bırakın"
-
msgid "Click to rename"
msgstr "Yeniden adlandırmak için tıklayın"
@@ -8076,9 +8067,6 @@ msgstr "Sevkiyatı Bölme Durumları"
msgid "Drop whole pages or sections a customer doesn't need."
msgstr "Müşterinin ihtiyaç duymadığı sayfaları veya bölümleri tamamen kaldırın."
-msgid "Drop your certificate here, or click to choose a file"
-msgstr "Sertifikanızı buraya sürükleyip bırakın veya bir dosya seçmek için tıklayın"
-
msgid "Drop your file here, or click to browse."
msgstr "Dosyanızı buraya bırakın veya göz atmak için tıklayın."
@@ -8763,14 +8751,8 @@ msgstr "Bu eğitime atanan çalışanlar açabilir. İçerik, kılavuz ve sorula
msgid "Employees can no longer open this training."
msgstr "Çalışanlar artık bu eğitimi açamaz."
-msgid "Employees complete this training by uploading their certificate. Turn off External Certification in Properties to use questions."
-msgstr "Çalışanlar bu eğitimi sertifikalarını yükleyerek tamamlarlar. Soruları kullanmak için Özelliklerde Harici Sertifika seçeneğini kapatın."
-
-msgid "Employees read it before the questions"
-msgstr "Çalışanlar bunu sorulardan önce okurlar"
-
-msgid "Employees will no longer see this PDF. You can upload a new one while the training is Draft."
-msgstr "Çalışanlar artık bu PDF'yi görmeyecekler. Eğitim Taslak iken yeni bir tane yükleyebilirsiniz."
+msgid "Employees complete a training in Carbon"
+msgstr ""
msgid "Empty"
msgstr "Boş"
@@ -9489,12 +9471,6 @@ msgstr "Genelletilmiş Fiyat"
msgid "External"
msgstr "Harici"
-msgid "External certification"
-msgstr "Harici sertifika"
-
-msgid "External Certification"
-msgstr "Harici Sertifika"
-
msgid "External Delta"
msgstr "Harici Fark"
@@ -9519,6 +9495,9 @@ msgstr "Harici Referans"
msgid "External Reference"
msgstr "Harici Referans"
+msgid "External training"
+msgstr ""
+
msgid "Extra fields to capture data Carbon doesn't track by default"
msgstr "Carbon'ın varsayılan olarak izlemediği verileri yakalamak için ekstra alanlar"
@@ -13057,6 +13036,10 @@ msgstr "Eşlenen değerler"
msgid "Mark \"{0}\" as passed?"
msgstr "\"{0}\" geçti olarak işaretle?"
+#. placeholder {0}: assignment.employeeName?.trim()
+msgid "Mark {0} complete. Attach their certificate if you have one."
+msgstr ""
+
msgid "Mark absent"
msgstr "Devamsız olarak işaretле"
@@ -14737,8 +14720,8 @@ msgstr "Ödeme satırı yok."
msgid "No payments yet."
msgstr "Henüz ödeme yok."
-msgid "No PDF guide"
-msgstr "PDF kılavuzu yok"
+msgid "No PDF uploaded"
+msgstr ""
msgid "No planned invoices are removed."
msgstr "Planlanmış fatura kaldırılmamıştır."
@@ -14782,9 +14765,6 @@ msgstr "Henüz kayıtlı üretim yok."
msgid "No purchases in this period"
msgstr "Bu dönemde satın alma yok"
-msgid "No quiz for external certifications"
-msgstr "Harici sertifikalar için sınav yok"
-
msgid "No Quote"
msgstr "Teklif Yok"
@@ -16293,9 +16273,6 @@ msgstr "PDF (Belge)"
msgid "PDF downloaded"
msgstr "PDF indirildi"
-msgid "PDF Guide"
-msgstr "PDF Kılavuzu"
-
msgid "PDF pages"
msgstr "PDF sayfaları"
@@ -16305,9 +16282,6 @@ msgstr "PDF Önizleme"
msgid "PDF Watermark"
msgstr "PDF Filigranı"
-msgid "PDF, PNG or JPG, up to 10 MB"
-msgstr "PDF, PNG veya JPG, en fazla 10 MB"
-
msgid "Pending"
msgstr "Beklemede"
@@ -18346,8 +18320,8 @@ msgstr "Parçayı kaldır"
msgid "Remove path"
msgstr "Yolu kaldır"
-msgid "Remove PDF Guide"
-msgstr "PDF Kılavuzunu Kaldır"
+msgid "Remove PDF"
+msgstr ""
msgid "Remove row"
msgstr "Satırı kaldır"
@@ -20733,9 +20707,6 @@ msgstr "Miktar açısından ilk 1.000 grup gösteriliyor"
msgid "Shown as a faint background behind every page of generated PDFs"
msgstr "Oluşturulan PDF'lerin her sayfasının arkasında soluk bir arka plan olarak gösterilir"
-msgid "Shown to employees below the PDF guide"
-msgstr "PDF kılavuzunun altında çalışanlara gösterilen"
-
msgid "Shown to the customer on the invoice"
msgstr "Müşteriye faturada gösterilir"
@@ -21410,9 +21381,6 @@ msgstr "Yardımcı Defter"
msgid "Submit anonymously"
msgstr "Anonim olarak gönder"
-msgid "Submit Certificate"
-msgstr "Sertifika Gönder"
-
msgid "Submit for approval"
msgstr "Onay için gönder"
@@ -21757,6 +21725,9 @@ msgstr "Pan moduna geç"
msgid "Switch to select mode"
msgstr "Seçim moduna geç"
+msgid "Switch to Written Content"
+msgstr ""
+
msgid "Switch users over and confirm access"
msgstr "Kullanıcıları değiştir ve erişimi onayla"
@@ -21821,6 +21792,9 @@ msgstr "Bu öğeyi üretmek için tüketilen malzemelerdeki en kısa kalan raf
msgid "taken"
msgstr "alındı"
+msgid "Taken outside Carbon. You mark each employee complete."
+msgstr ""
+
msgid "Takes Effect"
msgstr "Yürürlüğe Girer"
@@ -23480,6 +23454,9 @@ msgstr "bu satın alma siparişi"
msgid "This Quarter"
msgstr "Bu Çeyrek"
+msgid "This removes the PDF. Employees will see the written content instead."
+msgstr ""
+
msgid "This removes their authenticator app, so their next sign-in only needs a magic link. Use this when they have lost access to their authenticator. It affects their sign-in for every company they belong to."
msgstr "Bu işlem onların kimlik doğrulayıcı uygulamasını kaldırır, bu nedenle sonraki oturum açışları yalnızca sihirli bir bağlantı gerektirir. Kimlik doğrulayıcılarına erişimini kaybettikleri zaman bunu kullanın. Ait oldukları her şirket için oturum açışlarını etkiler."
@@ -23538,10 +23515,6 @@ msgstr "Bu, {employeeName} öğesini günlük panelden kaldırır. Onaylamak iç
msgid "This tool is activated when change notice {activationLockId} is released."
msgstr "Bu alet, {activationLockId} değişiklik bildirisi yayınlandığında etkinleştirilir."
-#. placeholder {0}: assignment.employeeName?.trim()
-msgid "This training is external. Upload {0}'s certificate to mark it complete."
-msgstr "Bu eğitim haricidir. Tamamlandığını işaretlemek için {0}'nin sertifikasını yükleyin."
-
msgid "This unit has no cost in inventory"
msgstr "Bu adet envanterde maliyet yok"
@@ -24083,8 +24056,8 @@ msgstr "Eğitim kaydedilmedi"
msgid "Training Plan"
msgstr "Eğitim Planı"
-msgid "Training taken outside Carbon, such as a vendor course. Employees complete it by uploading the certificate they received instead of answering a quiz."
-msgstr "Carbon dışında alınan, satıcı kursu gibi eğitimler. Çalışanlar sınava cevap vermek yerine aldıkları sertifikayı yükleyerek tamamlarlar."
+msgid "Training taken outside Carbon, such as a vendor course. The assignment has only a name. An admin marks each employee complete and can attach their certificate."
+msgstr ""
msgid "Training your team via the Academy and in-app guides"
msgstr "Ekibinizi Academy ve uygulama içi kılavuzlar aracılığıyla eğitin"
@@ -24625,9 +24598,6 @@ msgstr "Yükle"
msgid "Upload a PDF first"
msgstr "Önce bir PDF yükleyin"
-msgid "Upload Certificate"
-msgstr "Sertifika Yükle"
-
msgid "Upload chart"
msgstr "Hesap planını yükle"
@@ -24646,14 +24616,8 @@ msgstr "Yükleme başarısız oldu. Lütfen tekrar deneyin."
msgid "Upload new backup…"
msgstr "Yeni yedekleme yükle…"
-msgid "Upload one PDF, PNG or JPG file of 10 MB or less."
-msgstr "Bir PDF, PNG veya JPG dosyasını 10 MB veya daha az yükleyin."
-
-msgid "Upload the certificate you received for this training. Uploading it marks the training as complete."
-msgstr "Bu eğitim için aldığınız sertifikayı yükleyin. Yükleme, eğitimi tamamlandı olarak işaretler."
-
-msgid "Upload your certificate on the next step."
-msgstr "Sertifikanızı bir sonraki adımda yükleyin."
+msgid "Upload PDF"
+msgstr ""
msgid "Uploaded model"
msgstr "Yüklenen model"
@@ -25424,6 +25388,9 @@ msgstr "Her varlığın değeri, ne kadar sürdüğü ve dönem sonunda ona ne o
msgid "What each period's payment is for this asset in the first year"
msgstr "İlk yılda bu varlık için her dönemin ödeme tutarı"
+msgid "What employees read before the questions"
+msgstr ""
+
msgid "What happens to an invoice once it is created"
msgstr "Fatura oluşturulduktan sonra ne olur"
@@ -25963,6 +25930,9 @@ msgstr "Yapılandırma ve veri üzerinde çalışma oturumları"
msgid "Worst Performing Machines"
msgstr "En kötü performans gösteren makineler"
+msgid "Write"
+msgstr ""
+
msgid "Write a note…"
msgstr "Not yazın…"
diff --git a/packages/locale/locales/zh/erp.po b/packages/locale/locales/zh/erp.po
index 0d787a7dd5..5cdf20e5d8 100644
--- a/packages/locale/locales/zh/erp.po
+++ b/packages/locale/locales/zh/erp.po
@@ -4655,15 +4655,9 @@ msgstr "集中式结算已启用"
msgid "Cert Version"
msgstr "证书版本"
-msgid "Certificate not accepted"
-msgstr "证书未被接受"
-
msgid "Certificate Number"
msgstr "证书编号"
-msgid "Certificate Submitted"
-msgstr "证书已提交"
-
msgid "Certificate uploaded"
msgstr "证书已上传"
@@ -4967,9 +4961,6 @@ msgstr "再次单击以断开连接"
msgid "Click components in the viewer to add them. Shift-click adds several."
msgstr "点击查看器中的组件以添加它们。Shift 点击可添加多个。"
-msgid "Click or drop to choose a different file"
-msgstr "点击或拖放以选择不同的文件"
-
msgid "Click to rename"
msgstr "单击以重命名"
@@ -8076,9 +8067,6 @@ msgstr "直运状态"
msgid "Drop whole pages or sections a customer doesn't need."
msgstr "删除客户不需要的整个页面或部分。"
-msgid "Drop your certificate here, or click to choose a file"
-msgstr "在此拖放您的证书,或点击以选择文件"
-
msgid "Drop your file here, or click to browse."
msgstr "将文件拖放到此处,或点击浏览。"
@@ -8763,14 +8751,8 @@ msgstr "已分配此培训的员工可以打开它。内容、指南和问题不
msgid "Employees can no longer open this training."
msgstr "员工无法再打开此培训"
-msgid "Employees complete this training by uploading their certificate. Turn off External Certification in Properties to use questions."
-msgstr "员工通过上传证书完成此培训。在属性中关闭外部认证以使用问题。"
-
-msgid "Employees read it before the questions"
-msgstr "员工在回答问题之前阅读它"
-
-msgid "Employees will no longer see this PDF. You can upload a new one while the training is Draft."
-msgstr "员工将不再看到此PDF。当培训处于草稿时,您可以上传新的。"
+msgid "Employees complete a training in Carbon"
+msgstr ""
msgid "Empty"
msgstr "空"
@@ -9489,12 +9471,6 @@ msgstr "扩展价格"
msgid "External"
msgstr "外部"
-msgid "External certification"
-msgstr "外部认证"
-
-msgid "External Certification"
-msgstr "外部认证"
-
msgid "External Delta"
msgstr "外部差异"
@@ -9519,6 +9495,9 @@ msgstr "外部参考"
msgid "External Reference"
msgstr "外部参考"
+msgid "External training"
+msgstr ""
+
msgid "Extra fields to capture data Carbon doesn't track by default"
msgstr "用于捕获 Carbon 默认不跟踪的额外数据的字段"
@@ -13057,6 +13036,10 @@ msgstr "已映射的值"
msgid "Mark \"{0}\" as passed?"
msgstr "将\"{0}\"标记为已通过?"
+#. placeholder {0}: assignment.employeeName?.trim()
+msgid "Mark {0} complete. Attach their certificate if you have one."
+msgstr ""
+
msgid "Mark absent"
msgstr "标记缺席"
@@ -14737,8 +14720,8 @@ msgstr "无付款行。"
msgid "No payments yet."
msgstr "还没有付款。"
-msgid "No PDF guide"
-msgstr "无PDF指南"
+msgid "No PDF uploaded"
+msgstr ""
msgid "No planned invoices are removed."
msgstr "未删除已计划的发票。"
@@ -14782,9 +14765,6 @@ msgstr "还没有生产记录。"
msgid "No purchases in this period"
msgstr "此期间无采购"
-msgid "No quiz for external certifications"
-msgstr "外部认证无测验"
-
msgid "No Quote"
msgstr "不报价"
@@ -16293,9 +16273,6 @@ msgstr "PDF(文件)"
msgid "PDF downloaded"
msgstr "PDF已下载"
-msgid "PDF Guide"
-msgstr "PDF指南"
-
msgid "PDF pages"
msgstr "PDF 页面"
@@ -16305,9 +16282,6 @@ msgstr "PDF 预览"
msgid "PDF Watermark"
msgstr "PDF 水印"
-msgid "PDF, PNG or JPG, up to 10 MB"
-msgstr "PDF、PNG或JPG,最大10 MB"
-
msgid "Pending"
msgstr "待处理"
@@ -18346,8 +18320,8 @@ msgstr "移除零件"
msgid "Remove path"
msgstr "移除路径"
-msgid "Remove PDF Guide"
-msgstr "移除PDF指南"
+msgid "Remove PDF"
+msgstr ""
msgid "Remove row"
msgstr "移除行"
@@ -20733,9 +20707,6 @@ msgstr "按金额显示前1,000个分组"
msgid "Shown as a faint background behind every page of generated PDFs"
msgstr "作为淡色背景显示在每个生成的PDF页面后面"
-msgid "Shown to employees below the PDF guide"
-msgstr "显示在PDF指南下方给员工"
-
msgid "Shown to the customer on the invoice"
msgstr "在发票上向客户显示"
@@ -21410,9 +21381,6 @@ msgstr "子分类账"
msgid "Submit anonymously"
msgstr "匿名提交"
-msgid "Submit Certificate"
-msgstr "提交证书"
-
msgid "Submit for approval"
msgstr "提交以审批"
@@ -21757,6 +21725,9 @@ msgstr "切换到平移模式"
msgid "Switch to select mode"
msgstr "切换到选择模式"
+msgid "Switch to Written Content"
+msgstr ""
+
msgid "Switch users over and confirm access"
msgstr "切换用户并确认访问权限"
@@ -21821,6 +21792,9 @@ msgstr "采用制造此物料所消耗的原材料中最短的保质期。当产
msgid "taken"
msgstr "已采取"
+msgid "Taken outside Carbon. You mark each employee complete."
+msgstr ""
+
msgid "Takes Effect"
msgstr "生效"
@@ -23480,6 +23454,9 @@ msgstr "此采购订单"
msgid "This Quarter"
msgstr "本季度"
+msgid "This removes the PDF. Employees will see the written content instead."
+msgstr ""
+
msgid "This removes their authenticator app, so their next sign-in only needs a magic link. Use this when they have lost access to their authenticator. It affects their sign-in for every company they belong to."
msgstr "此操作移除其身份验证应用,因此其下次登录只需要魔法链接。当他们无法访问其身份验证器时使用此选项。它影响其所属每个公司的登录。"
@@ -23538,10 +23515,6 @@ msgstr "这将从今天的日程表中移除{employeeName}。再次保存以确
msgid "This tool is activated when change notice {activationLockId} is released."
msgstr "当变更通知 {activationLockId} 已下达时,这个刀具被激活。"
-#. placeholder {0}: assignment.employeeName?.trim()
-msgid "This training is external. Upload {0}'s certificate to mark it complete."
-msgstr "此培训是外部的。上传 {0} 的证书以标记为完成。"
-
msgid "This unit has no cost in inventory"
msgstr "该件在库存中没有成本"
@@ -24083,8 +24056,8 @@ msgstr "培训未记录"
msgid "Training Plan"
msgstr "培训计划"
-msgid "Training taken outside Carbon, such as a vendor course. Employees complete it by uploading the certificate they received instead of answering a quiz."
-msgstr "在Carbon外部进行的培训,例如供应商课程。员工通过上传他们收到的证书来完成它,而不是回答测验。"
+msgid "Training taken outside Carbon, such as a vendor course. The assignment has only a name. An admin marks each employee complete and can attach their certificate."
+msgstr ""
msgid "Training your team via the Academy and in-app guides"
msgstr "通过 Academy 和应用内指南培训班组"
@@ -24625,9 +24598,6 @@ msgstr "上传"
msgid "Upload a PDF first"
msgstr "先上传 PDF"
-msgid "Upload Certificate"
-msgstr "上传证书"
-
msgid "Upload chart"
msgstr "上传科目表"
@@ -24646,14 +24616,8 @@ msgstr "上传失败。请重试。"
msgid "Upload new backup…"
msgstr "上传新备份…"
-msgid "Upload one PDF, PNG or JPG file of 10 MB or less."
-msgstr "上传一个PDF、PNG或JPG文件,大小为10 MB或更少。"
-
-msgid "Upload the certificate you received for this training. Uploading it marks the training as complete."
-msgstr "上传您为此培训收到的证书。上传它将标记培训为完成。"
-
-msgid "Upload your certificate on the next step."
-msgstr "在下一步上传您的证书。"
+msgid "Upload PDF"
+msgstr ""
msgid "Uploaded model"
msgstr "已上传模型"
@@ -25424,6 +25388,9 @@ msgstr "每项资产的价值、使用期限以及租期结束时的处理方式
msgid "What each period's payment is for this asset in the first year"
msgstr "第一年内该资产每个期间的付款是多少"
+msgid "What employees read before the questions"
+msgstr ""
+
msgid "What happens to an invoice once it is created"
msgstr "发票创建后会发生什么"
@@ -25963,6 +25930,9 @@ msgstr "配置和数据工作会议"
msgid "Worst Performing Machines"
msgstr "性能最差的机器"
+msgid "Write"
+msgstr ""
+
msgid "Write a note…"
msgstr "输入备注…"