<%- include("partials/page-header", { user, title: "Offene Leistungen", subtitle: "Offene Rechnungen", showUserName: true }) %>
<% let currentPatient = null; %> <% if (!rows.length) { %>
โœ… Keine offenen Leistungen vorhanden
<% } %> <% rows.forEach(r => { %> <% if (!currentPatient || currentPatient !== r.patient_id) { %> <% currentPatient = r.patient_id; %>
๐Ÿ‘ค <%= r.firstname %> <%= r.lastname %>
<% } %>
<%= r.name %>
<% }) %>