From c1ac3ed998e956ebe329ce563ae7589c54bc33eb Mon Sep 17 00:00:00 2001 From: Raz Date: Thu, 17 Apr 2025 12:32:17 +0200 Subject: [PATCH] keep payment data when importing from beach padel --- PadelClub/Data/TeamRegistration.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PadelClub/Data/TeamRegistration.swift b/PadelClub/Data/TeamRegistration.swift index f937a52..75f28d3 100644 --- a/PadelClub/Data/TeamRegistration.swift +++ b/PadelClub/Data/TeamRegistration.swift @@ -505,6 +505,10 @@ final class TeamRegistration: BaseTeamRegistration, SideStorable { player.licenceId?.strippedLicense != nil { player.registeredOnline = oldPlayer.registeredOnline + player.paymentType = oldPlayer.paymentType + player.paymentId = oldPlayer.paymentId + player.registrationStatus = oldPlayer.registrationStatus + player.timeToConfirm = oldPlayer.timeToConfirm player.coach = oldPlayer.coach player.tournamentPlayed = oldPlayer.tournamentPlayed player.points = oldPlayer.points