feat(ClubTeam): add planned league name field and localization updates
All checks were successful
Deploy tt-tagebuch / deploy (push) Successful in 34s
All checks were successful
Deploy tt-tagebuch / deploy (push) Successful in 34s
- Introduced a new field for planned league name in the ClubTeam model, allowing for better team categorization. - Updated create and update club team endpoints to handle the new planned league name field. - Enhanced the PDF generation feature to include planned league name in the output. - Improved localization files across multiple languages to incorporate new terms related to the planned league, ensuring a consistent user experience. - Updated the TeamManagementView to display and edit the planned league name, enhancing user interaction.
This commit is contained in:
@@ -63,6 +63,12 @@ const ClubTeam = sequelize.define('ClubTeam', {
|
||||
defaultValue: 'adult',
|
||||
field: 'team_age_group'
|
||||
},
|
||||
plannedLeagueName: {
|
||||
type: DataTypes.STRING(512),
|
||||
allowNull: true,
|
||||
field: 'planned_league_name',
|
||||
comment: 'Geplante Spielklasse (manuell, optional)'
|
||||
},
|
||||
}, {
|
||||
underscored: true,
|
||||
tableName: 'club_team',
|
||||
|
||||
Reference in New Issue
Block a user