Skip to content

Commit 9ce6385

Browse files
committed
Do not show reimbursement expenses in the table of unpaid expenses
1 parent 65f6489 commit 9ce6385

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/backoffice/views/economy.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,8 @@ def get_context_data(self, **kwargs):
217217
context["unpaid_expenses"] = Expense.objects.filter(
218218
camp=self.camp,
219219
payment_status="UNPAID_NEEDS_PAYMENT",
220+
).exclude(
221+
creditor__name="Reimbursement",
220222
).prefetch_related(
221223
"creditor",
222224
"user",

0 commit comments

Comments
 (0)