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