Customers lists and manages accounts-receivable customer records with search, customer-type, and active/inactive filters. Route:Documentation Index
Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt
Use this file to discover all available pages before exploring further.
/fa/customers
Overview
The route/fa/customers redirects to /fa/receivables?tab=customers in the router. The CustomersPage component fetches customers via useCustomerList(organizationId, { search, type, isActive }). Filters: text search, CustomerType dropdown (from fa_customer_type enum), and active/inactive toggle (default: active). The New Customer button and the edit action per row open CustomerDialog. Delete calls useDeleteCustomer.
Who it’s for
No explicit permission gate on this route.Before you start
- The current organization must be set.
- Customer type definitions come from the
fa_customer_typedatabase enum.
Steps
Search and filter
Enter a search term, select a customer type, and toggle between active and inactive customers.
Key concepts
useCustomerList— Primary list hook; acceptsorganizationIdand{ search, type, isActive }.CustomerType— Fromfa_customer_typedatabase enum.useDeleteCustomer— Mutation hook for customer deletion.CustomerDialog— Create/edit dialog for customer records.
Related
Finance & Revenue
Finance & Revenue core overview.
Governance & parity
This page documents shipped product behavior. It is not medical, legal, or
billing advice. Verify against your organization’s policies and applicable
regulations before using it for clinical, compliance, or billing decisions.
Protected health information (PHI) shown in the product is governed by your
tenant’s access controls and is never exposed in this documentation.
Documentation sources
Documentation sources
- src/routes/fa.tsx
- src/cores/fa/pages/CustomersPage.tsx
- src/cores/fa/hooks/useCustomers.ts
- src/cores/fa/components/CustomersTable.tsx
- src/cores/fa/components/CustomerDialog.tsx
- src/integrations/supabase/types.ts