Aug 25 - Implement new function allow Director (internal & customer) to assign and inspection to another inspector
This commit is contained in:
@@ -111,6 +111,22 @@ struct FollowUpRow: View {
|
||||
}
|
||||
}
|
||||
|
||||
// Assigned to somebody other than whoever ran the original
|
||||
// inspection (phase53). The endpoint only returns follow-ups
|
||||
// this user owns, so seeing this badge means "you were given
|
||||
// this one" — worth calling out, because it is NOT the usual
|
||||
// case of re-inspecting your own work.
|
||||
if request.assignedToName != nil {
|
||||
HStack(spacing: 4) {
|
||||
Image(systemName: "person.crop.circle.badge.checkmark")
|
||||
.font(.caption2)
|
||||
Text("Assigned to you")
|
||||
.font(.caption2.weight(.semibold))
|
||||
}
|
||||
.foregroundStyle(.orange)
|
||||
.padding(.top, 1)
|
||||
}
|
||||
|
||||
// Note preview — so the inspector can see there is something to
|
||||
// read before committing to the tap. Truncated to one line; the
|
||||
// full text is shown on the start screen. Mirrors the
|
||||
|
||||
Reference in New Issue
Block a user