{% extends "base.html" %} {% from "_macros.html" import icon with context %} {% from "insights/_parts.html" import month_bars, change with context %} {% block title %}{{ t('Purchases Overview') }}{% endblock %} {% block content %}

{{ t('Purchases Overview') }}

{{ t('Fiscal year from') }} {{ fys }}·{{ t('Amounts in') }} {{ currency }}·{{ t('Excluding VAT') }}
{% if can_write %}
{% if has('inventory') %}{{ icon('refresh') }}{{ t('Reorder Suggestions') }}{% endif %} {{ icon('file-in') }}{{ t('Vendor Bill') }}
{% endif %}
{{ t('Purchases this month') }}{{ icon('cart') }}
{{ this_m|money(currency) }}{{ currency }}
{{ change(this_m, last_m) }}
{{ t('Purchases (YTD)') }}{{ icon('chart') }}
{{ ytd|money(currency) }}{{ currency }}
{{ t('Vendor bills less refunds') }}
{{ t('Payables') }}{{ icon('file-in') }}
{{ pay|money(currency) }}{{ currency }}
{{ pay_n }} {{ t('open bills') }}
{{ t('Due in the next 7 days') }}{{ icon('clock') }}
{{ due7|money(currency) }}{{ currency }}
{% if over %}{{ over|money(currency) }}{{ t('overdue') }} ({{ over_n }}){% else %}{{ due7_n }} {{ t('bills') }}{% endif %}
{% if has('procurement') %}{{ icon('check') }}
{{ t('Purchase orders waiting approval') }}
{{ po_open }}
→
{% endif %} {% if has('inventory') %}{{ icon('down') }}
{{ t('Receipts to process') }}
{{ to_receive }}
→
{% endif %} {{ icon('wallet') }}
{{ t('13-Week Cash Forecast') }}
{{ t('Can we pay on time?') }}
→

{{ t('Purchases by month') }}

{{ month_bars(months, series, peak, scale, currency, 'Purchases') }}

{{ t('Top vendors (YTD)') }}

{% for r in top %} {% else %}{% endfor %}
{{ r.label }}{{ r.value|money(currency) }}
{{ t('Nothing yet.') }}

{{ t('Supplier Performance') }} ({{ t('last 12 months') }})

{{ t('View all') }} →
{% include "insights/_perf_table.html" %}
{% endblock %}