From f4fccb520bddd6dd047f6da7c2a0c57f5d213ca9 Mon Sep 17 00:00:00 2001 From: Andrey Date: Wed, 28 Mar 2018 13:28:41 +0300 Subject: [PATCH] finance email --- finance/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)