improvement: pdf generation added to cases feature.

This commit is contained in:
2026-07-18 22:00:44 +03:30
parent 408b2c3329
commit 538121d653
23 changed files with 1206 additions and 63 deletions

View File

@@ -63,6 +63,8 @@ export interface LabCaseTaskGroup {
treatmentType: string;
prosthesisTypeCode: string;
prosthesisTypeLabel: string;
selectionGroupId?: string;
connected?: boolean;
tasks: LabCaseTask[];
}
@@ -92,6 +94,8 @@ export interface LabCaseDetail {
dueDate: string | null;
isOverdue: boolean;
isImportant: boolean;
/** Optional external lab-app code (e.g. exocad); used as PDF order number when set. */
externalCode?: string | null;
clinic: { id: string; name: string };
patient: {
id: string;
@@ -111,6 +115,7 @@ export interface LabCaseDetail {
treatmentDetailId: string;
tooth: string;
prosthesisTypeCode: string;
selectionGroupId?: string;
}>;
attachments: LabCaseAttachmentMeta[];
sends: Array<{