Minor fix

This commit is contained in:
Sungho Cho 2019-12-08 17:28:12 -05:00
parent 261d092d23
commit a01d50acbd

View file

@ -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