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