Bookings Search and manage booking history.
{totalBookings}
{ if ((e as KeyboardEvent).key === 'Enter') searchBookings(); }} />
{#if loadingSearch}
{:else if bookings.length === 0}
No bookings found.
{:else} {#each bookings as b (b.id)}
{formatBookingDateTime(b.start_time)}
{b.status} • {b.user?.full_name || 'Unknown User'} - {formatServices(b.services)}
{/each} {/if}
{#if !initialLoad && totalPages > 1}
Page {currentPage} of {totalPages}
{/if}