show payment status in user view; Fixes #965

This commit is contained in:
2025-04-30 23:31:17 +02:00
parent c4ed766c4d
commit d2000f4699
3 changed files with 59 additions and 10 deletions

View File

@ -41,4 +41,14 @@ impl Member {
_ => false,
}
}
pub(crate) fn supposed_to_pay(&self) -> bool {
match self {
Member::Schnupperant(_)
| Member::Scheckbuch(_)
| Member::Regular(_)
| Member::Foerdernd(_)
| Member::Unterstuetzend(_) => true,
_ => false,
}
}
}