|
|
|
|
@ -38,7 +38,7 @@ struct PlayerDetailView: View { |
|
|
|
|
Text("Source des informations") |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if tournament.enableOnlineRegistration || player.registeredOnline || player.hasPaidOnline() { |
|
|
|
|
if tournament.enableOnlineRegistration || tournament.enableOnlinePayment || player.registeredOnline || player.hasPaidOnline() { |
|
|
|
|
Section { |
|
|
|
|
LabeledContent { |
|
|
|
|
Text(player.registeredOnline ? "Oui" : "Non") |
|
|
|
|
@ -46,7 +46,7 @@ struct PlayerDetailView: View { |
|
|
|
|
Text("Inscription en ligne") |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if player.captain { |
|
|
|
|
if player.captain && (player.hasPaidOnline() || tournament.enableOnlinePayment) { |
|
|
|
|
LabeledContent { |
|
|
|
|
Text(player.hasPaidOnline() ? "Oui" : "Non") |
|
|
|
|
} label: { |
|
|
|
|
|