Merge pull request 'add renntrainer role' (#821) from add-renntrainer into main
All checks were successful
CI/CD Pipeline / test (push) Successful in 31m0s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Successful in 19m41s

Reviewed-on: #821
This commit is contained in:
philipp 2024-12-17 08:57:29 +01:00
commit 0f8e1158b9

View File

@ -384,7 +384,7 @@ ASKÖ Ruderverein Donau Linz", self.name),
if self.has_role(db, "Rennrudern").await {
if self.has_role(db, "half-rennrudern").await {
fee.add("Rennruderbeitrag (1/2 Preis) ".into(), RENNRUDERBEITRAG / 2);
} else {
} else if !self.has_role(db, "renntrainer").await {
fee.add("Rennruderbeitrag".into(), RENNRUDERBEITRAG);
}
}