changed calculation of cativity total costs, addresses #105

pull/104/head
mariusrklein 11 months ago
parent 4c6e271639
commit c3ffedf5c2

@ -1212,7 +1212,7 @@ class Freizeit(CommonModel):
if not self.statement: if not self.statement:
return 0 return 0
total_costs = self.statement.total_bills_theoretic total_costs = self.statement.total_bills_theoretic
total_contributions = self.statement.total_staff + self.potential_ljp_contributions total_contributions = self.statement.total_subsidies + self.potential_ljp_contributions
return total_costs - total_contributions return total_costs - total_contributions
@property @property

@ -145,7 +145,7 @@ you may obtain up to 25€ times {{ duration }} days for {{ participant_count }}
{% trans "Contributions by the association" %} {% trans "Contributions by the association" %}
</td> </td>
<td> <td>
-{{ total_staff }}€ -{{ total_subsidies }}€
</td> </td>
</tr> </tr>
<tr> <tr>

Loading…
Cancel
Save