{#if !token}
Kein Zugangstoken angegeben.
{:else if loading}
Laden...
{:else}
Mitarbeiter
| Name |
Status |
Aktionen |
{#each employees as emp}
| {emp.firstName} {emp.lastName} |
{emp.active ? 'Aktiv' : 'Inaktiv'}
|
|
{/each}
{#if report}
| Mitarbeiter |
Anzahl |
Summe |
Detail |
{#each report.employees as line}
| {line.firstName} {line.lastName} |
{line.totalCount}× |
{formatPrice(line.totalCents)} |
|
{/each}
{#if report.employees.length > 0}
| Gesamt |
|
{formatPrice(report.totalCents)} |
|
{:else}
| Keine Einträge in diesem Monat |
{/if}
{/if}
{#if selectedEmployee}
Detail: {selectedEmployee.firstName} {selectedEmployee.lastName}
| Produkt |
Einzelpreis |
Anzahl |
Summe |
{#each selectedEmployee.products as prod}
| {prod.productName} |
{formatPrice(prod.priceCents)} |
{prod.count}× |
{formatPrice(prod.totalCents)} |
{/each}
| Gesamt |
|
{selectedEmployee.totalCount}× |
{formatPrice(selectedEmployee.totalCents)} |
{/if}
{/if}
{#if showModal}