mirror of
https://github.com/lemeow125/DocManagerBackend.git
synced 2025-04-27 18:21:23 +08:00
Implement sender LLM OCR and request remarks
This commit is contained in:
parent
d5477a1e1a
commit
674a7ec592
11 changed files with 174 additions and 62 deletions
|
@ -8,6 +8,7 @@ class RequestUpdateEmail(email.BaseEmailMessage):
|
|||
def get_context_data(self):
|
||||
context = super().get_context_data()
|
||||
context["request_status"] = context.get("request_status")
|
||||
context["remarks"] = context.get("remarks")
|
||||
context["url"] = FRONTEND_URL
|
||||
context.update(self.context)
|
||||
return context
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
{% block text_body %}
|
||||
{% blocktrans %}You're receiving this email because your document request has been {{ request_status }}.{% endblocktrans %}
|
||||
|
||||
{% blocktrans %}Remarks: {{ remarks }}{% endblocktrans %}
|
||||
|
||||
{% trans 'Please visit the site to check your request:' %}
|
||||
{{ url|safe }}
|
||||
|
||||
|
@ -18,6 +20,10 @@
|
|||
{% blocktrans %}You're receiving this email because your document request has been {{ request_status }}.{% endblocktrans %}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
{% blocktrans %}Remarks {{ remarks }}{% endblocktrans %}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
{% trans 'Please visit the site to check your request:' %}
|
||||
</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue