add reimbursement_user to description of expense

This commit is contained in:
Thomas Steen Rasmussen 2019-01-20 17:15:33 +01:00
parent c93b38a98b
commit b8fb36d346

View file

@ -369,7 +369,7 @@ class ReimbursementCreateView(CampViewMixin, EconomyTeamPermissionMixin, CreateV
expense.camp=self.camp expense.camp=self.camp
expense.user=self.request.user expense.user=self.request.user
expense.amount=reimbursement.amount expense.amount=reimbursement.amount
expense.description="Payment of reimbursement %s" % reimbursement.pk expense.description="Payment of reimbursement %s to %s" % (reimbursement.pk, reimbursement.reimbursement_user)
expense.paid_by_bornhack=True expense.paid_by_bornhack=True
expense.responsible_team=economyteam expense.responsible_team=economyteam
expense.approved=True expense.approved=True