feat(PDFGenerator): add team lineup PDF generation and localization updates
All checks were successful
Deploy tt-tagebuch / deploy (push) Successful in 35s

- Implemented a new feature to generate a PDF for team lineups, including detailed information such as club name, team name, league, season, gender, and age group.
- Enhanced localization files across multiple languages to include new terms related to the PDF generation feature, ensuring a consistent user experience.
- Updated the TeamManagementView to include a button for downloading the lineup as a PDF, improving accessibility for users.
This commit is contained in:
Torsten Schulz (local)
2026-04-02 08:07:38 +02:00
parent fd02655be4
commit 9454761e34
18 changed files with 337 additions and 2 deletions

View File

@@ -0,0 +1,10 @@
-- club_team: Felder wie backend/models/ClubTeam.js (teamGender, teamAgeGroup)
-- Fehlen in der DB -> SequelizeDatabaseError ER_BAD_FIELD_ERROR bei getClubTeams.
ALTER TABLE `club_team`
ADD COLUMN `team_gender` ENUM('open', 'female') NOT NULL DEFAULT 'open'
COMMENT 'Geschlecht Team (offen / nur weiblich)'
AFTER `my_tischtennis_team_id`,
ADD COLUMN `team_age_group` ENUM('adult', 'J19', 'J17', 'J15', 'J13', 'J11') NOT NULL DEFAULT 'adult'
COMMENT 'Altersklasse Mannschaft'
AFTER `team_gender`;