Add lead workflows, PDF signing, AR projects and photo gallery integration

This commit is contained in:
Dennis Nemec
2026-11-08 17:49:39 +01:00
parent a343bde741
commit 8d18873412
82 changed files with 6401 additions and 34 deletions

View File

@ -0,0 +1,28 @@
import SwiftUI
struct LeadSigningFooterView: View {
let title: String
let canSign: Bool
let isSigning: Bool
let isLast: Bool
let onSign: () -> Void
var body: some View {
VStack(alignment: .leading, spacing: 14) {
Text("Mit der Unterschrift bestätigt der Kunde den Inhalt von „\(title)“. Die unterschriebene PDF wird lokal gespeichert.")
.font(.caption).foregroundStyle(.secondary)
.padding(.horizontal, 16)
Button(action: onSign) {
HStack {
if isSigning { ProgressView().tint(.white) }
Text(isLast ? "Unterschreiben und abschließen" : "Unterschreiben und weiter")
.font(.headline)
}
.frame(maxWidth: .infinity).padding(.vertical, 12)
}
.buttonStyle(.borderedProminent)
.buttonBorderShape(.roundedRectangle(radius: 12))
.disabled(!canSign)
}
}
}