Projet

Général

Profil

0001-emails-add-templates-for-invoice-notifications-22560.patch

Voir les différences:

Subject: [PATCH] emails: add templates for invoice notifications (#22560)

 .../lingo/combo/invoice_email_notification_body.html   | 18 ++++++++++++++++++
 .../lingo/combo/invoice_email_notification_body.txt    | 14 ++++++++++++++
 .../lingo/combo/invoice_email_notification_subject.txt |  1 +
 3 files changed, 33 insertions(+)
 create mode 100644 templates/lingo/combo/invoice_email_notification_body.html
 create mode 100644 templates/lingo/combo/invoice_email_notification_body.txt
 create mode 100644 templates/lingo/combo/invoice_email_notification_subject.txt
templates/lingo/combo/invoice_email_notification_body.html
1
{% extends "emails/body_base.html" %}
2

  
3
{% block content %}
4
<p>Votre nouvelle facture numéro {{ item.id }}, emise le {{ item.creation_date|date:"DATE_FORMAT" }}
5
  d'un montant de {{ item.amount }}€ est disponible.</p>
6

  
7
<p>
8
{% if item.online_payment %}
9
Vous pouvez la voir et payer en ligne sur {{ {{ payment_url }}.
10
{% else %}Vous pouvez la voir en allant sur {{ portal_url }}.{% endif %}
11
</p>
12

  
13
<p>
14
{% if item.no_online_payment_reason == 'autobilling' %}
15
Le montant de la facture sera débité de votre compte le {{ item.payment_limit_date|date:"DATE_FORMAT" }}.
16
{% endif %}
17
</p>
18
{% endblock %}
templates/lingo/combo/invoice_email_notification_body.txt
1
{% extends "emails/body_base.html" %}
2

  
3
{% block content %}
4
Votre nouvelle facture numéro {{ item.id }}, emise le {{ item.creation_date|date:"DATE_FORMAT" }} d'un montant de {{ item.amount }}€
5
est disponible.
6

  
7
{% if item.online_payment %}
8
Vous pouvez la voir et payer en ligne sur {{ {{ payment_url }}.
9
{% else %}Vous pouvez la voir en allant sur {{ portal_url }}.{% endif %}
10

  
11
{% if item.no_online_payment_reason == 'autobilling' %}
12
Le montant de la facture sera débité de votre compte le {{ item.payment_limit_date|date:"DATE_FORMAT" }}.
13
{% endif %}
14
{% endblock %}
templates/lingo/combo/invoice_email_notification_subject.txt
1
Facture nr {{ item.id }} disponible
0
-