Files
customerTicket/templates/payments/receipt_list.html
T
2026-10-06 10:03:22 +03:30

4 lines
1.0 KiB
HTML

{% extends 'payments/base.html' %}{% load jalali humanize %}
{% block content %}<section class="chaharsu">{% include 'payments/_link_status.html' %}<div class="pay-actions"><h1>{% if payment_link_access %}فیش‌های این لینک{% else %}فیش‌های من{% endif %}</h1><a class="pay-button" href="{% url 'payments:receipt_new' %}">ارسال فیش جدید</a></div>
{% for receipt in page_obj %}<article class="pay-card"><h2><a href="{% url 'payments:receipt_detail' receipt.public_id %}">{{ receipt.number }}</a></h2><p>{{ receipt.current_amount|intcomma:False }} ریال · {{ receipt.current_paid_date|jalali_date }}</p><p>{{ receipt.get_status_display }} · {% if receipt.notice %}{{ receipt.notice.subject }}{% else %}واریز مستقل{% endif %}</p><a href="{% url 'payments:receipt_detail' receipt.public_id %}">مشاهده فیش و سوابق بررسی</a></article>{% empty %}<p class="pay-card">هنوز فیشی ارسال نکرده‌اید.</p>{% endfor %}{% include 'payments/_pagination.html' %}</section>{% endblock %}