steering-user #778

Merged
philipp merged 3 commits from steering-user into main 2024-10-25 20:14:07 +02:00
Showing only changes of commit c87baaed07 - Show all commits

View File

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