<%- include("partials/patient_sidebar", { active: "patients_list", patient: null }) %>
<%- include("partials/flash") %>
<% if (patients.length === 0) { %> <% } %> <% patients.forEach(p => { %> <% }) %>
Name N.I.E. / DNI Geschlecht Geburtstag E-Mail Telefon Adresse Land Status Notizen Erstellt Geändert
Keine Patienten gefunden
<%= p.firstname %> <%= p.lastname %> <%= p.dni || "-" %> <% if (p.gender === 'm') { %>m <% } else if (p.gender === 'w') { %>w <% } else if (p.gender === 'd') { %>d <% } else { %>-<% } %> <%= new Date(p.birthdate).toLocaleDateString("de-DE") %> <%= p.email || "-" %> <%= p.phone || "-" %> <%= p.street || "" %> <%= p.house_number || "" %>
<%= p.postal_code || "" %> <%= p.city || "" %>
<%= p.country || "-" %> <% if (p.active) { %> Aktiv <% } else { %> Inaktiv <% } %> <%= p.notes ? p.notes.substring(0, 80) : "-" %> <%= new Date(p.created_at).toLocaleString("de-DE") %> <%= new Date(p.updated_at).toLocaleString("de-DE") %>
Patient auswählen → Sidebar links zeigt Aktionen ✅