🪑 Wartezimmer-Monitor
<% const maxSlots = 21;
for (let i = 0; i < maxSlots; i++) {
const p = waitingPatients && waitingPatients[i];
%>
<% if (p) { %>
<% if (user.role === 'arzt') { %>
<% } else { %>
<% } %>
<% } %>
<% } %>
<%= p.firstname %> <%= p.lastname %>
<%= new Date(p.birthdate).toLocaleDateString("de-DE") %>
<%= p.firstname %> <%= p.lastname %>
<%= new Date(p.birthdate).toLocaleDateString("de-DE") %>