{# Dashboard widget: Recent invoices #}

{{ _('Recent Invoices') }}

{{ _('View All') }}
{% if invoices %}
{% for invoice in invoices[:5] %}

{{ invoice.invoice_number }}

{{ invoice.payment_status|replace('_', ' ')|title }}
{{ invoice.issue_date|user_date }} {{ "%.2f"|format(invoice.total_amount) }} {{ invoice.currency_code }}
{% endfor %}
{% else %}

{{ _('No invoices found') }}

{{ _('Invoices will appear here once they are created') }}

{% endif %}