Locations

Manage locations and facilities

{#if searchQuery} {/if}
{#if !loading && filteredLocations.length === 0}

{searchQuery ? 'No locations found' : 'No locations yet'}

{searchQuery ? `No locations match your search "${searchQuery}". Try a different search term.` : 'Get started by adding your first location to organize your facilities.'}

{#if !searchQuery} {/if}
{:else} ({ ...l, LocTypeLabel: typeLabels[l.LocType] || l.LocType || '-', }))} {loading} emptyMessage="No locations found" hover={true} bordered={false} > {#snippet cell({ column, row, value })} {#if column.key === 'actions'}
{:else if column.key === 'LocTypeLabel'} {value} {:else} {value} {/if} {/snippet}
{/if}
{ e.preventDefault(); handleSave(); }}>
{#snippet footer()} {/snippet}

Are you sure you want to delete the following location?

{deleteItem?.LocFull}

Code: {deleteItem?.LocCode}

{#if deleteItem?.LocType} {typeLabels[deleteItem.LocType]} {/if}

This action cannot be undone. Any child locations will become top-level locations.

{#snippet footer()} {/snippet}