<commit_before>{% if charge.paid %}Your {{ site.name }} account was successfully charged ${{ charge.amount|floatformat:2 }} to the credit card ending in {{ charge.card_last_4 }}. The invoice below is for your records.


========================================================
INVOICE #{{ charge.pk }}     {{ charge.created_at|date:"F d, Y" }}
........................................................


CUSTOMER: {{ charge.customer.user }}


DETAILS
-------
{{ charge.customer.plan }} - ${{ charge.amount|floatformat:2 }}

TOTAL: ${{ charge.amount|floatformat:2 }} USD
PAID BY CREDIT CARD: -${{ charge.amount|floatformat:2 }}
========================================================
{% else %}{% if charge.refunded %}Your credit card ending in {{ charge.card_last_4 }} was refunded ${{ charge.amount|floatformat:2 }}.
{% else %}We are sorry, but we failed to charge your credit card ending in {{ charge.card_last_4 }} for the amount ${{ charge.amount|floatformat:2 }}.
{% endif %}{% endif %}

Please contact us with any questions regarding this invoice.

---
Your {{ site.name }} Team
https://{{ site.domain }}
<commit_msg>Allow for overriding of how the customer name is displayed<commit_after>{% if charge.paid %}Your {{ site.name }} account was successfully charged ${{ charge.amount|floatformat:2 }} to the credit card ending in {{ charge.card_last_4 }}. The invoice below is for your records.


========================================================
INVOICE #{{ charge.pk }}     {{ charge.created_at|date:"F d, Y" }}
........................................................


CUSTOMER: {% block customer_name %}{{ charge.customer.user }}{% endblock %}


DETAILS
-------
{{ charge.customer.plan }} - ${{ charge.amount|floatformat:2 }}

TOTAL: ${{ charge.amount|floatformat:2 }} USD
PAID BY CREDIT CARD: -${{ charge.amount|floatformat:2 }}
========================================================
{% else %}{% if charge.refunded %}Your credit card ending in {{ charge.card_last_4 }} was refunded ${{ charge.amount|floatformat:2 }}.
{% else %}We are sorry, but we failed to charge your credit card ending in {{ charge.card_last_4 }} for the amount ${{ charge.amount|floatformat:2 }}.
{% endif %}{% endif %}

Please contact us with any questions regarding this invoice.

---
Your {{ site.name }} Team
https://{{ site.domain }}

{'fraction_non_alphanumeric': 0.28412017167381975, 'fraction_numerical': 0.007725321888412017, 'mean_word_length': 3.709090909090909, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '6975512', 'n_tokens_mistral': 686, 'n_tokens_neox': 617, 'n_words': 190}