<%- include("partials/page-header", { user, title: t.patienteoverview.patienttitle, subtitle: "", showUserName: true }) %>
<%- include("partials/flash") %>
+ <%= t.patienteoverview.newpatient %>
<%= t.global.reset2 %>
<% if (patients.length === 0) { %> <% } %> <% patients.forEach(p => { %> <% }) %>
ID <%= t.global.name %> DNI <%= t.global.gender %> <%= t.global.birthday %> <%= t.global.email %> <%= t.global.phone %> <%= t.global.address %> <%= t.global.country %> <%= t.global.status %> <%= t.global.notice %> <%= t.global.create %> <%= t.global.change %>
<%= t.patientoverview.nopatientfound %>
onchange="this.form.submit()" /> <%= p.id %> <%= p.firstname %> <%= p.lastname %> <%= p.dni || "-" %> <%= p.gender === 'm' ? 'm' : p.gender === 'w' ? 'w' : p.gender === 'd' ? 'd' : '-' %> <%= 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") %>