Compare commits
No commits in common. "5da1900ae8410d370ab97b086a3789154790d1ea" and "92a1a8278d748cc2f7893e8e35fb780427a04360" have entirely different histories.
5da1900ae8
...
92a1a8278d
@ -212,8 +212,6 @@ impl User {
|
||||
} else if Family::find_by_opt_id(db, self.family_id).await.is_none() {
|
||||
if self.has_role(db, "Student").await || self.has_role(db, "Schüler").await {
|
||||
fee.add("Schüler/Student".into(), STUDENT_OR_PUPIL);
|
||||
} else if self.has_role(db, "Ehrenmitglied").await {
|
||||
fee.add("Ehrenmitglied".into(), 0);
|
||||
} else {
|
||||
fee.add("Mitgliedsbeitrag".into(), REGULAR);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user