diff --git a/ios/Sources/CheckInView.swift b/ios/Sources/CheckInView.swift index 472f9c8..07e2135 100644 --- a/ios/Sources/CheckInView.swift +++ b/ios/Sources/CheckInView.swift @@ -131,9 +131,17 @@ struct CheckInView: View { } .sheet(item: $product) { item in NavigationStack { - CheckInFormView(product: item, units: units, locations: locations) { message in - status = message - product = nil + if item.isIndividual { + // Einzelstücke werden nicht als Charge eingelagert, sondern als + // physische Exemplare (UID/QR) angelegt – die zählen den Bestand. + ItemAddSheet(productId: item.id, onDone: { + status = "\(item.name): Einzelstück(e) angelegt." + }) + } else { + CheckInFormView(product: item, units: units, locations: locations) { message in + status = message + product = nil + } } } }