|
|
|
|
@ -132,6 +132,7 @@ struct EditingTeamView: View { |
|
|
|
|
RowButtonView("Confirmer l'inscription de l'équipe", role: .destructive) { |
|
|
|
|
team.confirmRegistration() |
|
|
|
|
} |
|
|
|
|
.disabled(team.walkOut) |
|
|
|
|
} |
|
|
|
|
} footer: { |
|
|
|
|
if team.hasPaidOnline() { |
|
|
|
|
@ -182,7 +183,11 @@ struct EditingTeamView: View { |
|
|
|
|
Text(registrationDateModified.localizedWeekDay().capitalized) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.disabled(team.hasPaidOnline() || team.hasRegisteredOnline()) |
|
|
|
|
#if DEBUG |
|
|
|
|
.disabled(false) |
|
|
|
|
#else |
|
|
|
|
.disabled(team.hasPaidOnline() || team.hasRegisteredOnline()) |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
Toggle(isOn: $wildCardBracket) { |
|
|
|
|
Text("Wildcard Tableau") |
|
|
|
|
|