add new halfprice for racerowing
This commit is contained in:
parent
de567eedec
commit
c87baaed07
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user