Fix token bug in stripe payments
This commit is contained in:
parent
457b619647
commit
04780cb3fa
3 changed files with 3 additions and 3 deletions
|
@ -13,7 +13,7 @@ def renderInvoiceToHtml(invoice, user):
|
|||
if not price:
|
||||
return '$0'
|
||||
|
||||
return '$' + '{.2f}'.format(price / 100)
|
||||
return '$' + '{0:.2f}'.format(float(price) / 100)
|
||||
|
||||
def get_range(line):
|
||||
if line.period and line.period.start and line.period.end:
|
||||
|
|
Reference in a new issue