feat: render visa status + next date on AttendingMembersCard
Each member now sees their own visa status (status badge + next upcoming date) on the applicant dashboard, sourced from applicant.getMyVisaApplications. Other teammates' rows still show the generic "Visa support" badge if they need a visa, since the platform deliberately scopes visa visibility to the caller. The whole visa surface auto-hides if the program toggle is off. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -2814,6 +2814,7 @@ export const applicantRouter = router({
|
||||
.map((a) => ({
|
||||
id: a.visaApplication!.id,
|
||||
attendingMemberId: a.id,
|
||||
userId: a.userId,
|
||||
status: a.visaApplication!.status,
|
||||
nationality: a.visaApplication!.nationality,
|
||||
invitationSentAt: a.visaApplication!.invitationSentAt,
|
||||
|
||||
Reference in New Issue
Block a user