Skip to content

Commit

Permalink
Fix l10n on invoice pdf. Closes #23.
Browse files Browse the repository at this point in the history
  • Loading branch information
fgaudin committed Feb 4, 2011
1 parent ee952b4 commit e4a861d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion accounts/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ def invoice_footer(canvas, doc):
label = row.label
if row.proposal.reference:
label = label + " - [%s]" % (row.proposal.reference)
data.append([label, row.quantity, row.unit_price, row.quantity * row.unit_price])
data.append([label, localize(row.quantity), localize(row.unit_price), localize(row.quantity * row.unit_price)])

row_count = len(rows)
if row_count <= 16:
Expand Down

0 comments on commit e4a861d

Please sign in to comment.