mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-06 05:01:48 +02:00
Minor fix
This commit is contained in:
parent
261d092d23
commit
a01d50acbd
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ class BillForm(FlaskForm):
|
|||
bill.date = self.date.data
|
||||
bill.owers = [Person.query.get(ower, project) for ower in self.payed_for.data]
|
||||
bill.original_currency = self.original_currency.data
|
||||
bill.original_amount = self.currency_helper.exchange_currency(bill.amount, bill.original_currency, project.default_currency)
|
||||
bill.original_amount = self.currency_helper.exchange_currency(float(bill.amount), bill.original_currency, project.default_currency)
|
||||
|
||||
return bill
|
||||
|
||||
|
|
Loading…
Reference in a new issue