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

@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "lab_cases" ADD COLUMN "externalCode" TEXT;

View File

@@ -221,6 +221,8 @@ model LabCase {
sentAt DateTime?
dueDate DateTime?
isImportant Boolean @default(false)
/// Optional code from an external lab app (e.g. exocad) for print/matching.
externalCode String?
accessToken String? @unique
treatment Treatment @relation(fields: [treatmentId], references: [id], onDelete: Cascade)