Checking a client's visits in the panel
The panel shows a client’s visits in two places: the client preview (Clients, click a row) and the calendar. The settlement rules — when a visit is used, how debt works and what the history entries mean — are in Selling a package and settling sessions. This page says where to see them in the panel.
The “Credits” section of the client preview
Section titled “The “Credits” section of the client preview”The section is visible to staff who may manage the client’s credits. It shows:
- debt at the top — a Balance: −1 row with a hint of what will cover it: “The client’s next “{type}” visit — from a new package or a cancelled booking — covers this first.”, or when nothing can match it, “The club settles this with the client.”,
- packages — “10 left (3 booked)”, below it “7 free to book” or “All booked”, and “Valid until …” or “Expires in N days”; a pass with no limit reads “Unlimited”,
- Bookings without credit (n) — the nearest three with a NO CREDIT badge, each linking to the calendar on the session’s day; the rest as “and N more”,
- “No active credits” when the client has no packages.
If the balance cannot be loaded the section says “Couldn’t load visits.” and shows no numbers. The Add credits and Credit packages buttons stay as they were.
The first matching visit pays a debt — from buying a package of that type, or freed by a cancelled booking, removal or refund — immediately. The debt row disappears and the client gets an “Outstanding visit covered” notification.
Credit history
Section titled “Credit history”Right below the “Credits” section is the Credit history section. Its data loads after the preview opens, so the client card itself does not wait for the ledger. The first page is 10 entries; Show more loads 30 more. Club management, staff assigned to the client and the front desk can see it.
Entries carry the same titles as in the staff app — “Visit held”, “Check-in”, “No-show”, “Late cancellation”, “Outstanding visit covered”, “Sale reversed” and the rest — with the person who performed the operation. A debt payment shows its source (“From: …”, “Refund for: …”, “From package: …”) and “N visits toward: {type}”. Sessions from consecutive dates of one series fold into a single row.
| State | What you see |
|---|---|
| loading | three skeleton rows |
| empty | “This client has no visit activity yet.” |
| error | “Couldn’t load the history.” with a “Try again” button; the rest of the preview works |
| loading more fails | “Couldn’t load older activity.”; the loaded entries stay |
| no access | “You don’t have access to this client’s history.” |
| end | “That’s everything.” |
Credit packages
Section titled “Credit packages”The Credit packages button opens the list of clients’ credit packages — not of operations. A package’s details show the timeline of its movements in the same rows as the history; a “From: …” or “Refund for: …” line links to the calendar on that session’s day.
Calendar: badges and warnings
Section titled “Calendar: badges and warnings”- A session with a booking without credit carries a NO CREDIT badge (“no credit” in the legend), and a chip reads “No credit — participants: n”.
- When you create a session, reschedule one or add a participant who has no free visit, the panel shows the No free visit warning: “{client} has no free visit for “{type}” on this date. It will be saved without credit — unless the client buys a package first, check-in leaves a visit to settle.” You choose Save anyway (when rescheduling Reschedule anyway) or back out. Dragging a block in the calendar asks a plainer question: “{client}: no free visit. Reschedule anyway? The session will have no credit.”
- Checking in a client with no valid visit asks: “{client} has no visit for “{type}” valid on this session’s date. After check-in the balance goes below zero — the next visit of this type, bought or freed by a cancelled booking, covers it first.” If the client already owes something, “Outstanding: −n” sits below the text. Check in anyway checks the client in and creates the debt.