Skip to content

Commit

Permalink
Replaced string bill type with enum
Browse files Browse the repository at this point in the history
  • Loading branch information
TomRoussel committed Mar 10, 2024
1 parent 9daec6d commit adba0ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ihatemoney/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,7 @@ def settle(amount, ower_id, payer_id):
owers=[Person.query.get(payer_id)],
payer_id=ower_id,
project_default_currency=g.project.default_currency,
bill_type="Reimbursement",
bill_type=BillType.REIMBURSEMENT,
what="Settlement",
)
session.update()
Expand Down

0 comments on commit adba0ef

Please sign in to comment.