feat: Unterschriftsfelder im Logbuch per Touch, Stift oder Maus.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-29 15:28:52 +02:00
parent 3c7aec1573
commit cffe934d5e
8 changed files with 384 additions and 37 deletions
+9
View File
@@ -0,0 +1,9 @@
export function isSignatureImage(value: string | undefined | null): boolean {
return typeof value === 'string' && value.startsWith('data:image/')
}
export function formatSignatureForExport(value: string | undefined | null): string {
if (!value) return ''
if (isSignatureImage(value)) return '[Unterschrift]'
return value
}