Skip to content

Commit

Permalink
Merge pull request #320 from Jerome-Celle/fix-email_refund_cost
Browse files Browse the repository at this point in the history
Remove '/ 100' for refund email because it's already done before
  • Loading branch information
RignonNoel authored Dec 19, 2019
2 parents b1fea68 + 35435f4 commit 08b3738
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions retirement/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,8 @@ def send_refund_confirmation_email(self, amount, retreat, order, user,
'CUSTOMER_NUMBER': user.id,
'TYPE': "Remboursement",
'OLD_RETREAT': old_retreat,
'COST': round(total_amount / 100, 2),
'TAX': round(Decimal(amount_tax / 100), 2),
'COST': total_amount,
'TAX': amount_tax,
}

plain_msg = render_to_string("refund.txt", merge_data)
Expand Down

0 comments on commit 08b3738

Please sign in to comment.