{#if data.records.length > 0}
Client Name Role Email Phone Primary Invoices Contracts Actions {#each data.records as record (record.id)} {relationLabel(record.clientId, 'clients')} {formatValue(record.name)} {formatValue(record.role)} {formatValue(record.email)} {formatValue(record.phone)} {record.isPrimary ? 'Yes' : 'No'} {record.receivesInvoices ? 'Yes' : 'No'} {record.receivesContracts ? 'Yes' : 'No'} {#snippet child({ props })}{/snippet} openArchive(record)} >Archive {/each}
{:else}
No contacts have been created yet.
{/if}