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

Payments - Detailed

Download PDF
{% if groups and groups|length > 0 %} {% for group in groups %}
Deposit Date: {{ group.date }}
Daily total: ${{ '%.2f'|format(group.total) }}
{% for p in group.items %} {% endfor %}
File # Client Type Description Amount
{{ 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 or 0) }}
{% endfor %}
Overall total: ${{ '%.2f'|format(overall_total or 0) }}
{% else %}
No payments for selected filters.
{% endif %} {% endblock %}