{#if isBilateral && documents.length > 0} {/if}
{#each enrichedDocuments as { doc, year, showYearDivider, isOut } (doc.id)} {#if showYearDivider && year !== null}
{year} {countsByYear.get(year) ?? 0} Briefe
{/if}
{doc.title || doc.originalFilename}
{doc.documentDate ? formatDate(doc.documentDate) : '—'} {#if doc.location} · {doc.location} {/if} {#if !receiverId} · {otherPartyName(doc)} {/if}
{/each} {#if canWrite}
{m.conv_new_doc_link()}
{/if}