Einverständniserklärungen Teams

{#if !schueler_verbergen}
{#each Object.entries(schueler) as [klasse, schueler]}

{klasse}

{#each schueler as s} {/each}
Name Vorname Auswahlstatus
{s.Name} {s.Vorname} 0 && s.alter?.years < 18}> update_schueler(s)} class:is-warning={s.konto === undefined || s.konto === null} class:is-danger={s.konto === false} class:is-success={s.konto}>Konto
{/each}
{/if} {#if lehrer}

Lehrer

{#each lehrer as l} {/each}
Name Auswahlstatus
{l.name} update_lehrer(l)} class:is-warning={l.konto === undefined || l.konto === null} class:is-danger={l.konto === false} class:is-success={l.konto}>Konto
{/if} {#if liste_export}
{#each Object.entries(schueler) as [klasse, schueler]}
{klasse}: {schueler.filter(s => s.konto).length}/{schueler.length} Anmeldungen
{#each schueler.filter(s=>s.konto) as s}
{`b${s.id}@${privat.domain},${s.Name},${s.Vorname},${s.Vorname} ${s.Name},schueler,,,,,,,,Bielefeld,NW,,DE`}
{/each} {/each}

Minderjährige

{#each Object.entries(schueler) as [klasse, schueler]}
{klasse}: {schueler.filter(s => s.alter?.years > 0 && s.alter?.years < 18).length}/{schueler.length} U18
{#each schueler.filter(s => s.alter?.years > 0 && s.alter?.years < 18) as s}
{`b${s.id}@${privat.domain},${s.Name},${s.Vorname},${s.Vorname} ${s.Name},schueler,,,,,,,,Bielefeld,NW,,DE`}
{/each} {/each}
{/if}