{% extends "base.html" %} {% block title %}My Khata Account - SwiftCart{% endblock %} {% block content %}
Current Balance
{% if khata.balance > 0 %}Account Name: {{ khata.customer_name }}
{{ khata.phone }}
| Date | Description | Type | Amount |
|---|---|---|---|
| {{ tx.date.strftime('%d %b %Y, %I:%M %p') }} | {{ tx.description or 'No Description' }} | {% if tx.t_type == 'DEBIT' %} Udhaar Taken {% elif tx.t_type == 'CREDIT' %} Payment Made {% else %} {{ tx.t_type }} {% endif %} | {% if tx.t_type == 'DEBIT' %}+{% else %}-{% endif %}{{ currency }} {{ "{:,.0f}".format(tx.amount) }} |
| No transactions found in your Khata yet. | |||
We couldn't find an active store Ledger/Khata account linked to your registered phone number ({{ user.phone }}). If you have an account at our physical store, please ensure the phone number matches.