{% extends "base.html" %} {% block title %}Payments · Delphi Database{% endblock %} {% block content %}

Payments

{% if total and total > 0 %} Showing {{ start_index }}–{{ end_index }} of {{ total }} | Page total: ${{ '%.2f'|format(page_total_amount) }} {% else %} No results {% endif %}
{% if payments and payments|length > 0 %} {% for p in payments %} {% endfor %} {% else %} {% endif %}
Date File # Client Type Description Amount
{{ p.payment_date.strftime('%Y-%m-%d') if p.payment_date else '' }} {{ p.case.file_no if p.case else '' }} {% set client = p.case.client if p.case else None %} {% if client %}{{ client.last_name }}, {{ client.first_name }}{% else %}{% endif %} {{ p.payment_type or '' }} {{ p.description or '' }} {{ '%.2f'|format(p.amount) if p.amount is not none else '' }}
No payments found.
{% if total_pages and total_pages > 1 %} {% endif %}
{% endblock %}