Billing History
Subscriptions & payment records
Transactions
{% if transactions %} {{ page_obj.paginator.count }} item{{ page_obj.paginator.count|pluralize }} {% endif %}| Date | ID | Plan | Amount | Provider | Status | Action |
|---|---|---|---|---|---|---|
|
{{ tx.created_at|date:"M d, Y" }}
{{ tx.created_at|time:"H:i" }}
|
{{ tx.charge_id|slice:":8" }}…{{ tx.charge_id|slice:"-4:" }} | {{ tx.plan.name|default:"—" }} | MWK {{ tx.amount|floatformat:0|intcomma }} |
{% if 'airtel' in tx.operator_ref_id|lower or tx.operator_ref_id == '1' %}
Airtel
{% elif 'tnm' in tx.operator_ref_id|lower or tx.operator_ref_id == '2' %}
TNM
{% else %}
{{ tx.mobile|default:"—" }}
{% endif %}
|
{% if tx.status == 'success' %} Success {% elif tx.status == 'pending' %} Pending {% elif tx.status == 'failed' %} Failed {% else %} {{ tx.get_status_display }} {% endif %} | {% if tx.status == 'pending' %} {% elif tx.status == 'success' %} ✓ Done {% endif %} |