payemnt billing and credits refactoring

This commit is contained in:
IGNY8 VPS (Salman)
2026-01-20 07:39:51 +00:00
parent a97c72640a
commit bc50b022f1
34 changed files with 3028 additions and 307 deletions

View File

@@ -0,0 +1,12 @@
{% extends "emails/base.html" %}
{% block content %}
<h2>Invoice Cancelled</h2>
<p>Hi {{ account_name }},</p>
<p>Your credit invoice <strong>#{{ invoice_number }}</strong> was cancelled.</p>
<p>
You can create a new credit purchase anytime from your billing page:
<a href="{{ invoice_url }}">Billing</a>
</p>
<p>If you have any questions, contact support at {{ support_email }}.</p>
{% endblock %}

View File

@@ -0,0 +1,12 @@
{% extends "emails/base.html" %}
{% block content %}
<h2>Invoice Expired</h2>
<p>Hi {{ account_name }},</p>
<p>Your credit invoice <strong>#{{ invoice_number }}</strong> has expired and was voided.</p>
<p>
You can create a new credit purchase anytime from your billing page:
<a href="{{ invoice_url }}">Billing</a>
</p>
<p>If you have any questions, contact support at {{ support_email }}.</p>
{% endblock %}

View File

@@ -0,0 +1,16 @@
{% extends "emails/base.html" %}
{% block content %}
<h2>Invoice Expiring Soon</h2>
<p>Hi {{ account_name }},</p>
<p>Your credit invoice <strong>#{{ invoice_number }}</strong> will expire soon.</p>
<ul>
<li><strong>Amount:</strong> {{ currency }} {{ total_amount }}</li>
<li><strong>Expires at:</strong> {{ expires_at }}</li>
</ul>
<p>
Please complete payment before it expires:
<a href="{{ invoice_url }}">View Invoice</a>
</p>
<p>If you have any questions, contact support at {{ support_email }}.</p>
{% endblock %}