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,8 +378,12 @@ ASKÖ Ruderverein Donau Linz", self.name),
return fee; return fee;
} }
if self.has_role(db, "Rennrudern").await { 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 {
fee.add("Rennruderbeitrag".into(), RENNRUDERBEITRAG); fee.add("Rennruderbeitrag".into(), RENNRUDERBEITRAG);
} }
}
let amount_boats = self.amount_boats(db).await; let amount_boats = self.amount_boats(db).await;
if amount_boats > 0 { if amount_boats > 0 {