> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ofatoura.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Customers and Reservations Overview

> Index explaining customers are global records linked to a restaurant via a pivot, plus the reservation lifecycle. Note customer email/phone are globally unique. Link to children.

Index explaining customers are global records linked to a restaurant via a pivot, plus the reservation lifecycle. Note customer email/phone are globally unique. Link to children.

<Columns cols={2}>
  <Card title="Managing Customers" icon="file-text" href="/customers/managing-customers">
    Cover the customer list (name, email, phone, order count, search), add/edit with auto-complete lookup by name/phone/email (links existing global customer via the customer\_restaurant pivot), delivery address, viewing per-customer order history, bulk import from Excel/CSV, export, and delete (removes restaurant link only). Explain that deleting does not erase the global customer. Permissions: Show/Create/Update/Delete Customer.
  </Card>

  <Card title="Delivery Addresses and Fee Calculation" icon="list" href="/customers/delivery-addresses">
    Document customer delivery addresses and the location selector: saved addresses, map/manual entry, distance and ETA, delivery-fee calculation by fixed/per-distance/tiered rules, free-delivery eligibility, and delivery-hours validation. Tie to branch delivery settings and Google Maps key.
  </Card>

  <Card title="Managing Reservations (Web Admin)" icon="settings" href="/customers/reservations-web">
    Cover the reservations list/card view: date-range filters and search, reservation details (customer, party size, time, table, special requests), assigning a table (availability grid by area with conflict info, releases table on cancel), creating a reservation (date, guests 1-30, meal slot, time slot, customer details), and updating status (Pending/Confirmed/Checked\_In/Cancelled/No\_Show). Note enable\_admin\_reservation must be true. Permissions: Show/Create/Update Reservation.
  </Card>
</Columns>
