diff --git a/finance/views.py b/finance/views.py index 5ea6815..e9a6fd9 100644 --- a/finance/views.py +++ b/finance/views.py @@ -418,7 +418,7 @@ class YandexAvisoView(APIView): 'finish_date': pay.performed_datetime, } - subject, to = 'Выставлен новый счёт', pay.invoice.bill.opener.email + subject, to = 'Счёт оплачен', pay.invoice.bill.opener.email html_content = render_to_string('mail/sales/pay_access.html', context) text_content = strip_tags(html_content)