{% extends "base.html" %} {% block title %}{{ t('AP Inbox') }}{% endblock %} {% block content %}

{{ t('AP Inbox') }}

{{ t('Invoices vendors sent through the supplier portal. Accepting one creates the draft vendor bill with the vendor’s PDF attached.') }}
{% for s, lbl in (('received', 'To process'), ('accepted', 'Bill created'), ('rejected', 'Returned'), ('all', 'All')) %} {{ t(lbl) }}{% if counts.get(s) %} {{ counts[s] }}{% endif %}{% endfor %}
{% for r in rows %} {% else %}{% endfor %}
{{ t('Received') }}{{ t('Vendor') }}{{ t('Invoice no.') }}{{ t('Invoice date') }}{{ t('Purchase Order') }}{{ t('Total') }}{{ t('Status') }}
{{ r.received_at[:10] }}{{ nm(r) }}{{ r.invoice_no }}{{ r.invoice_date }}{{ r.po or '—' }} {{ r.amount_total|money }} {{ r.currency or '' }} {{ t({'received': 'To process', 'accepted': 'Bill created', 'rejected': 'Returned'}[r.state]) }}
{{ t('Nothing yet.') }}
{% endblock %}