{% extends "base.html" %} {% block title %}Payments{% endblock %} {% block page_title %}Payments{% endblock %} {% block page_subtitle %}Record and track order payments{% endblock %} {% block content %} {% include "partials/breadcrumb.html" %}
{{ form.q }}
{{ form.payment_mode }}
{{ form.payment_status }}
{{ form.payment_date }}
Clear
{% if can_manage %}
New Payment
{% endif %}
{% if page_obj.object_list %}
{% for payment in page_obj %} {% endfor %}
Payment #Order #CustomerMobile AmountModeStatusDate Received ByActions
{{ payment.payment_number }} {{ payment.order.order_number }} {{ payment.order.customer.name }} {{ payment.order.customer.mobile_number }} ₹{{ payment.amount_paid }} {{ payment.get_payment_mode_display }} {{ payment.get_payment_status_display }} {{ payment.payment_date|date:"d M Y" }} {{ payment.received_by.get_full_name|default:payment.received_by.username|default:"—" }} View {% if can_manage %} Edit {% endif %}
{% else %} {% include "partials/empty_state.html" with title="No payments found" message="Record a payment against an order to get started." action_url="/payments/create/" action_label="New Payment" %} {% endif %}
{% include "partials/pagination.html" %} {% endblock %}