-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Invoices: provide overridable template blocks
- Loading branch information
Showing
3 changed files
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,7 @@ | |
</p> | ||
{% endif %} | ||
|
||
{% block body %} | ||
{% if accounting %} | ||
<p>This email is sent automatically by {{ POOTLE_TITLE }} on behalf of the user.</p> | ||
|
||
|
@@ -23,6 +24,7 @@ | |
|
||
<p>In case of questions, please contact our your managers at [email protected]</p> | ||
{% endif %} | ||
{% endblock %} | ||
|
||
{% include 'invoices/_email_invoice_table.html' %} | ||
</body> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,7 @@ | |
</p> | ||
{% endif %} | ||
|
||
{% block body %} | ||
{% if correction_added %} | ||
<p>This is to inform you that your balance at {{ POOTLE_TITLE }} is {{ balance }} {{ user.currency }}, which is less than the minimal payment of {{ minimal_payment }} {{ user.currency }} defined for your account.</p> | ||
<p>Because of this, there will be no payments from us during this payment cycle. The amount of {{ balance }} {{ user.currency }} will be carried over to the next payment cycle. You will see two corrections in your statistics dashboard reflecting the carry-over (one in the previous month, and on in the current one).</p> | ||
|
@@ -26,5 +27,6 @@ | |
<p> | ||
In case of questions, please contact our managers at [email protected] | ||
</p> | ||
{% endblock %} | ||
</body> | ||
</html> |