{% extends "core/base.html" %}
{% block title %}Payments{% endblock %}
{% block content %}
Payment proposal
{% if batches is not None %}
Proposed: {{ proposal_total|floatformat:2 }} across {{ batches|length }} vendor payment(s)
{% for b in batches %}
{{ b.vendor.name }} {{ b.currency }} {{ b.total|floatformat:2 }}{% if b.discount %}, discount {{ b.discount|floatformat:2 }}{% endif %}
{% for p in b.payables %}| {{ p.invoice.invoice_no }} | due {{ p.invoice.due_date }} | {{ p.invoice.total }} | {% if p.discount %}-{{ p.discount }}{% endif %} | {{ p.amount }} |
{% endfor %}
{% empty %}Nothing is payable for these dates.
{% endfor %}
{% if batches %}{% endif %}
Held back ({{ held|length }})
{% for inv, reason in held %}| {{ inv.invoice_no }} | {{ inv.vendor.name }} | {{ inv.total }} | {{ reason }} |
{% empty %}| No holds. |
{% endfor %}
{% endif %}
Payment runs
| Run | Payment date | Cutoff | Status | Invoices | Amount |
{% for r in runs %}| #{{ r.pk }} | {{ r.run_date }} | {{ r.cutoff_date }} | {{ r.get_status_display }} | {{ r.n }} | {{ r.amount|default:0|floatformat:2 }} |
{% empty %}| No runs yet. |
{% endfor %}
{% endblock %}