Firmen-Admin - Strichliste

Firmen-Administration

{#if !token}

Kein Zugangstoken angegeben.

{:else if loading}

Laden...

{:else}

Mitarbeiter

{#each employees as emp} {/each}
Name Status Aktionen
{emp.firstName} {emp.lastName} {emp.active ? 'Aktiv' : 'Inaktiv'}

Monatsauswertung

{#if report} {#each report.employees as line} {/each} {#if report.employees.length > 0} {:else} {/if}
Mitarbeiter Anzahl Summe Detail
{line.firstName} {line.lastName} {line.totalCount}× {formatPrice(line.totalCents)}
Gesamt {formatPrice(report.totalCents)}
Keine Einträge in diesem Monat
{/if} {#if selectedEmployee}

Detail: {selectedEmployee.firstName} {selectedEmployee.lastName}

{#each selectedEmployee.products as prod} {/each}
Produkt Einzelpreis Anzahl Summe
{prod.productName} {formatPrice(prod.priceCents)} {prod.count}× {formatPrice(prod.totalCents)}
Gesamt {selectedEmployee.totalCount}× {formatPrice(selectedEmployee.totalCents)}
{/if}
{/if}
{#if showModal} {/if}