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

<%= t.creditOverview.title %>

<% items.forEach(i => { %> <% }) %>
<%= t.creditOverview.invoice %> <%= t.creditOverview.date %> <%= t.creditOverview.pdf %> <%= t.creditOverview.creditnote %> <%= t.creditOverview.date %> <%= t.creditOverview.pdf %> <%= t.creditOverview.patient %> <%= t.creditOverview.amount %>
#<%= i.invoice_id %> <%= i.invoice_date_fmt %> <% if (i.invoice_file) { %> 📄 <%= t.creditOverview.open %> <% } %> #<%= i.credit_id %> <%= i.credit_date_fmt %> <% if (i.credit_file) { %> 📄 <%= t.creditOverview.open %> <% } %> <%= i.firstname %> <%= i.lastname %> <%= i.invoice_amount_fmt %> € / <%= i.credit_amount_fmt %> €