<commit_before>Hi, {{user.first_name}}!

An invoice has been created for your account.

Invoice #{{invoice.id}}

To: {{invoice.user.member}}
Created: {{invoice.created}}
Due date: {{invoice.dueDate}}

{% for line in invoice.items.all %}

{{line.name}} {{line.quantity}} @ ${{line.unitPrice}}ea.: ${{line.totalPrice}}

{% for discount in line.discounts.all %}
  * {{discount.description}}: -${{discount.value}}
{% endfor %}
{% endfor %}

Total: {{invoice.total}}

You may view it online at http://{{current_site}}{% url 'payment:viewInvoice' invoiceID=invoice.id %}<commit_msg>Temp fix for notification crash<commit_after>Hi, {{user.first_name}}!

An invoice has been created for your account.

Invoice #{{invoice.id}}

To: {{invoice.user.member}}
Created: {{invoice.created}}
Due date: {{invoice.dueDate}}

{% for line in invoice.items.all %}

{{line.name}} {{line.quantity}} @ ${{line.unitPrice}}ea.: ${{line.totalPrice}}

{% for discount in line.discounts.all %}
  * {{discount.description}}: -${{discount.value}}
{% endfor %}
{% endfor %}

Total: {{invoice.total}}

You may view it online at http://{{current_site}}
{'fraction_non_alphanumeric': 0.20125223613595708, 'fraction_numerical': 0.0, 'mean_word_length': 5.216666666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1365338', 'n_tokens_mistral': 408, 'n_tokens_neox': 377, 'n_words': 95}