<%- include("../partials/page-header", { user, title: t.cancelledInvoices.title, subtitle: "", showUserName: true }) %>
<%- include("../partials/flash") %>

<%= t.cancelledInvoices.title %>

<% if (invoices.length === 0) { %>

<%= t.cancelledInvoices.noinvoices %>

<% } else { %> <% invoices.forEach(inv => { %> <% }) %>
# <%= t.cancelledInvoices.patient %> <%= t.cancelledInvoices.date %> <%= t.cancelledInvoices.amount %>
<%= inv.id %> <%= inv.firstname %> <%= inv.lastname %> <%= inv.invoice_date_formatted %> <%= inv.total_amount_formatted %> €
<% } %>