<%- include("../partials/page-header", { user, title: "Rechnungsübersicht", subtitle: "", showUserName: true }) %>
Jahresumsatz
<% if (!yearly || yearly.length === 0) { %> <% } %> <% (yearly || []).forEach(y => { %> <% }) %>
Jahr
Keine Daten
<%= y.year %> <%= Number(y.total).toFixed(2) %>
Quartalsumsatz
<% if (!quarterly || quarterly.length === 0) { %> <% } %> <% (quarterly || []).forEach(q => { %> <% }) %>
Jahr Q
Keine Daten
<%= q.year %> Q<%= q.quarter %> <%= Number(q.total).toFixed(2) %>
Monatsumsatz
<% if (!monthly || monthly.length === 0) { %> <% } %> <% (monthly || []).forEach(m => { %> <% }) %>
Monat
Keine Daten
<%= m.month %> <%= Number(m.total).toFixed(2) %>
Umsatz pro Patient
Reset
<% if (!patients || patients.length === 0) { %> <% } %> <% (patients || []).forEach(p => { %> <% }) %>
Patient
Keine Daten
<%= p.patient %> <%= Number(p.total).toFixed(2) %>