feat(tournament): enhance external participant management with email and address fields
- Added email and address fields to the external participant model, allowing for more comprehensive participant information. - Updated the tournament service and controller to handle the new fields when adding external participants. - Modified frontend components to include input fields for email and address, improving user experience and data collection. - Updated localization strings to support the new fields, ensuring clarity in the user interface.
This commit is contained in:
@@ -3369,7 +3369,7 @@ Ve // 2. Neues Turnier anlegen
|
||||
}
|
||||
|
||||
// Externe Teilnehmer hinzufügen
|
||||
async addExternalParticipant(userToken, clubId, classId, firstName, lastName, club, birthDate, gender) {
|
||||
async addExternalParticipant(userToken, clubId, classId, firstName, lastName, club, birthDate, gender, email = null, address = null) {
|
||||
await checkAccess(userToken, clubId);
|
||||
if (!classId) {
|
||||
throw new Error('Klasse ist erforderlich');
|
||||
@@ -3432,6 +3432,8 @@ Ve // 2. Neues Turnier anlegen
|
||||
firstName,
|
||||
lastName,
|
||||
club: club || null,
|
||||
email: email || null,
|
||||
address: address || null,
|
||||
birthDate: birthDate || null,
|
||||
gender: participantGender,
|
||||
groupId: null
|
||||
|
||||
Reference in New Issue
Block a user