# Trainer Guide

For Trainers. Labels in **bold** are what you see on screen (English); in Urdu the same screens read from right to left.

> Switch language with **English / اردو** and the theme with the sun/moon button at the top. On a phone, the main sections are in the bottom bar; the rest is under **More**.

## 1. Signing in

- Your Admin creates your account and gives you a username and password. **Sign in** with your username (or email, if you have one).
- You stay signed in on your device for up to 90 days of inactivity. **Sign out** from the account menu.
- You cannot change your own password. If you forget it, ask an Admin to reset it.
- If an Admin deactivates your account or signs you out, the app asks you to sign in again; a deactivated account cannot sign in.
- **Profile**: change your display name, phone and language.

## 2. Your dashboard

- Member counts (active, inactive, archived).
- **Payment status**: how many memberships are paid, partly paid, pending or unpaid, and how many online payments await verification. Counts only; Trainers do not see amounts or financial reports.
- **Recent workout notes**, **Your recent activity** and **Messages you sent**.

## 3. Members

- **Members**: search by name, phone or member ID; filter Active, Inactive, Archived.
- **Add member**: name, phone (each phone number only once), age, gender, address and the member's WhatsApp choice.
- On a member's page you can edit details, upload or replace the photo, read the Admin notes, and see memberships, payments, workout notes and WhatsApp messages.
- **Archive** a member who has left (not while their membership is active) and **Restore** them later; the record and ID stay the same.
- You cannot delete members or remove photos, convert inquiries, or change the Admin notes.

## 4. Memberships

- **Add membership** or **Renew** on the member's page: choose a plan (you cannot change prices).
- Record the first payment, then **Save and activate**, or **Activate** later. A membership needs at least part of the price paid and verified before it can be activated.
- The app works out the dates; early renewals start after the current membership (shown as Upcoming).

## 5. Payments

- Open **Payments** from the member's membership. **Record payment**: amount, Cash or Online, date (not in the future), optional reference. Overpaying is not possible.
- Cash is always verified. Online can be verified (you have checked the money arrived) or left **pending**; pending money does not reduce the balance.
- **Verify** or **Reject** (with a reason) pending online payments.
- **Correct** a payment with a reason; the old receipt becomes VOID and a new one is issued. Corrections are recorded.
- Receipts open as PDFs; **Share REC-…** sends them by WhatsApp or lets you download and share them yourself.
- You cannot delete payments or receipts, see the full payments ledger, change the total due, or open expenses and reports.

## 6. Exercises and workout notes

- **Exercises**: browse and search; **Add exercise** or edit (names must be unique).
- **Workout notes** on a member's page: add notes for any member; edit or delete only your own. Deleted notes are hidden but kept. Notes of archived members cannot be changed.

## 7. WhatsApp

- **WhatsApp → Messages** shows the messages **you** sent and their status.
- On a member's page, **Send WhatsApp message** sends one of the approved templates. The button appears only for members who agreed to WhatsApp and have not opted out.
- You can view templates but not create or change them.
- Until the gym's Meta account is connected, WhatsApp is off or shown as **Simulated** (nothing is sent).

## 8. What Trainers cannot open

Inquiries, plans and prices, the website, staff accounts, expenses, reports, settings, the Activity Log and login history, and upcoming-expiry lists. If you open such a page by its address, the app sends you back to the dashboard, and the server refuses the request.

## 9. If something goes wrong

| What you see                                          | What to do                                                                               |
| ----------------------------------------------------- | ---------------------------------------------------------------------------------------- |
| "Please sign in to continue"                          | Sign in again. If it keeps happening, ask an Admin whether your account was deactivated. |
| "Someone else changed this … Reload it and try again" | Reload and repeat your change.                                                           |
| Activate is not offered                               | Record or verify a payment first.                                                        |
| No **Send WhatsApp message** button                   | The member has not agreed to WhatsApp, has opted out, or is archived.                    |
| Forgot your password                                  | Ask an Admin to reset it.                                                                |
