Organize client information, track communication history, and manage client preferences.
Clients combines a searchable client book with a desktop detail sidebar and a dedicated mobile detail view. Select a client to see contact information, invoice and payment history, referral relationships, notes and SMS. Existing client/edit URLs still work.
Set Client type to Company or Individual. Existing records remain Type not set until classified; names are never used to guess the type.
Automatic groups use non-draft invoices:
Use Notes & relationship > Edit to change type, override the group, or return to Automatic. These choices persist on the client record across devices. Regular companies filters for Company + Regular. Repeat customer totals always count clients with at least 2 issued invoices, regardless of manual overrides.
Needs follow-up surfaces past-due invoice balances, unread SMS, and Regular/Repeat clients with no issued invoice in 90 days. It is a suggested work list, not an automatic message or reminder. Use search, type filters and sorting by activity, name, invoice count or outstanding balance. Filters are retained in the page URL.
Counts and totals use the complete invoice collection already provided by Taskyy's data endpoint. Drafts are excluded from issued counts, total invoiced and outstanding balances, but remain available in the client's Invoices tab. Totals use the same item/discount/tax calculation as the invoice screen. Stored invoice tax rates take precedence; legacy invoices without a snapshot use company tax settings. Paid invoices have no outstanding balance; partial payments reduce the balance and overpayments do not make it negative. Company currency is shown explicitly. Per-invoice currencies are preserved: the list and headline cards show company-currency totals, while other currencies have separate totals in client details. Amounts are never converted or summed across currencies.
Activity uses stored invoice creation timestamps and SMS timestamps where available. Invoice and payment dates without a recorded event time show a date only. The client summary does not invent an invoice-issued timestamp. New profile notes are separate from referral notes.
The Referral network counts client-to-client referral links. SMS retains the existing MessagingPanel, unread indicators and send/read behavior. Quotes remain available when their add-on is active. Contact editing uses the existing full-page editor. Deletion remains behind the client's actions menu and is blocked by the backend when invoices, contracts or quotes reference the client.
Deploy the backend together with the frontend. The additive Client fields are clientType, relationshipOverride, notes and notesUpdatedAt. No data migration is needed. PATCH /clients/:id/profile validates only these fields, scopes updates to the authenticated owner and supports legacy clients with incomplete contact details. Existing POST/PATCH client forms also accept these fields.
Run node --test scripts/clients-workspace.test.cjs and npm run build. Browser layout checks use fictional records rendered through the actual React workspace; they do not access or modify live client data.