Standalone edition · Version 1.14.0 · Schema 10

Agent Booking NOW

Live appointment alerts and phone lock-screen notifications in the same system. Enable each device, choose optional time previews, and keep your existing email and SMS-Gate notices.

Agent Booking NOW — Appointment booking system

Version 1.14.0 · Live appointment and lock-screen notifications · Schema 10 · October 28, 2026

A self-hosted appointment system for multiple independent agent accounts. Install it in a new folder on your PHP/MySQL hosting account. It does not require WordPress, another Agent Sites NOW application, a paid scheduling-service subscription, Node.js, or Composer on your server. Required PHP libraries are bundled.

Open the website and log in

The public feature website now opens from the main application address. For an installation in /appointments, open https://yourdomain.com/appointments/index.php. Choose the visible Log in button at the top to open index.php?login=1 and sign in with your administrator, agent, scheduler, or viewer account. The button remains visible on phones with the navigation menu closed.

Page Example address
Public website https://yourdomain.com/appointments/index.php
Sign-in and workspace https://yourdomain.com/appointments/index.php?login=1
Public agent directory (when enabled) https://yourdomain.com/appointments/index.php?directory=1
Public team booking page https://yourdomain.com/appointments/index.php?team=client-services
An agent's booking page https://yourdomain.com/appointments/index.php?purl=First-Last
Client portal https://yourdomain.com/appointments/index.php?client_portal=1&agent=First-Last
Complete setup guide https://yourdomain.com/appointments/START-HERE.html

The main address shows the website even when you are already signed in; Log in opens your existing workspace session. The original /website/ and /website/index.html links redirect to the main website. Existing agent PURLs, private management links, password-reset links, calendar callbacks, and ?app=1 workspace links still open their application flows. Older workspace bookmarks such as index.php#connections are forwarded to index.php?login=1#connections; public section anchors such as #features stay on the website.

Updating your existing system

This signed update directly supports v1.13.0, v1.13.1, v1.13.2 or v1.13.3 / schema 10. Sign in as an administrator, create and download a current encrypted backup, and save its recovery key. Open Administration → System care → Update, upload the intact Agent-Booking-NOW-v1.14.0-Signed-Update.zip, and review the preview showing v1.14.0 / schema 10 as the target. Type UPDATE and complete the fresh-request finalization step. On a phone, open More to reach Administration.

The update retains accounts and passwords, appointments, clients, notes, intake forms, waitlists, teams and staff scopes, website content, PURLs and historical aliases, permanent QR identities, photos, calendar connections, encrypted settings, SMS-Gate configuration and consent, and the main-system phone workspace. An existing installation does not need a new setup key. Existing temporary-password requirements remain in force.

Keep the ZIP intact and upload it through System care. A v1.12.0 installation first applies v1.13.0. Installations on v1.10.0, v1.10.1, v1.11.0 or v1.11.1 first apply v1.12.0, then v1.13.0. Earlier schema 7 installations first apply v1.11.1, then v1.12.0, then v1.13.0. Apply v1.14.0 after that sequence; v1.13.1, v1.13.2 and v1.13.3 are not required as intermediate steps. A v1.7.0 installation first needs v1.9.0 before that sequence. This respects the installed updater's one-schema-stage limit; unsupported sources and downgrades remain rejected. See Maintenance.

After completion, confirm version 1.14.0. A workspace already running v1.13.1, v1.13.2 or v1.13.3 reloads after the update finishes. If updating from a v1.13.0 tab, reload the full browser page once. Finish active forms, close all workspace windows, and reopen the home-screen app so the updated notification worker can activate normally. Existing email, SMS-Gate, calendar connections and the every-minute scheduled worker remain in use.

Version 1.14.0: live appointment and lock-screen notifications

Newly saved appointments and changes immediately queue an alert for the assigned agent's enrolled devices. The request attempts to send its own committed events promptly, without placing them behind older unrelated push jobs. Changes, cancellations, attendance confirmations and actual client preparation edits also create live activity. The scheduled worker still handles retries and upcoming reminders. Queued or accepted by a push service does not mean the phone displayed the alert.

While the workspace is open, new activity appears in a live banner with an Open appointment action and updates the Inbox/unread indicator. A working live stream receives changes as they become available; visible workspaces fall back to short polling when streaming is unavailable. Opening an alert is deliberate, so an existing form is not replaced by an incoming event.

For phone alerts, an administrator opens Settings → Background phone notifications, enables the feature and saves a contact address. Each agent opens Notifications → Lock-screen notifications (Inbox on phones), chooses Enable on this device, and allows notifications. On iPhone/iPad, use iOS/iPadOS 16.4 or later, add the workspace to the Home Screen and open that installed app first. Android uses a compatible browser or the installed home-screen app. A test action checks the current device. See Phone notification setup.

Notifications show a generic appointment message by default. The optional Show appointment time and meeting method preference adds the time in the agent's time zone and Office, Home, Over the Phone or Video. Client names, home addresses, phone numbers, private notes, medications, doctors, photos and private links stay out of lock-screen payloads. Tapping an alert opens the existing authenticated workspace and verifies the intended account.

The phone controls Lock Screen visibility, notification sounds, Focus/Do Not Disturb and delivery while offline. This update provides immediate server dispatch attempts, not a guarantee of instantaneous display. Existing email and SMS-Gate notices remain independent. Existing push keys, enrolled devices and choices survive an ordinary update; setup does not replay old appointment notifications. The integrated app remains part of the same system and does not require a separate APK/IPA build.

Included from version 1.13.3: edit confirmation texts

Routine appointment texts no longer include the Private medication and doctor editing link section. Client confirmations, reminders and appointment-change messages retain the ordinary appointment-management link and reminder-only/direct-agent-contact guidance. The separate Send client editing link action and email preparation links remain available.

Administrators can open Settings → Appointment confirmation texts to edit separate client and agent SMS confirmation messages. Insert client/agent names, appointment type and time through supported placeholders, preview with example data, and save. Restore default loads the original wording into the draft. Keep {{appointment_time}} so the appointment date, time and recipient time zone remain included.

The system adds its management/schedule links and existing sender/STOP guidance automatically. Templates are plain text, apply across the installation, and are saved independently from SMS-Gate credentials. The preview does not send a message. New and never-attempted confirmation messages use the current saved wording; already-attempted messages retain their original identity and body. Saving does not replay past confirmations. See SMS-Gate appointment texts.

Included from version 1.13.2: email and text the assigned agent

New appointments queue an email to the assigned agent's account email and a text to the phone number in that agent's profile when SMS-Gate is configured. A separate text preference no longer has to be created first. This applies to personal PURL bookings, team bookings, accepted waitlist openings and appointments entered by an agent or administrator, for Office, Home and Over the Phone visits.

Open Notifications → Agent appointment notifications to see each channel's readiness. The default text destination follows the profile phone; enter an optional different mobile number if the public profile uses an office landline. Ten-digit U.S. numbers automatically receive +1 for SMS. An existing saved separate notification number, explicit disabled preference and recorded STOP remain respected. Invalid or missing phone numbers do not prevent the appointment or its email; Notifications explains what needs attention.

The agent's channels are independent of the client's choices. A client who declines texts or is scheduled with text-only notifications does not turn off the agent's email or text. Appointment changes, cancellations and eligible upcoming reminders use the same agent destination. Client SMS still requires the existing permission and unsuppressed number.

Changing the agent's profile/default notification number refreshes eligible future, never-attempted agent reminders. Historical booking confirmations are not replayed, and already-attempted messages keep their existing provider identity. Email and SMS delivery still need the configured providers and the scheduled worker; queued or gateway-accepted does not mean delivered. See SMS-Gate appointment texts.

Included from version 1.13.1: find appointment editing immediately

Open Appointments, then a scheduled appointment. Edit appointment now appears at the top of the details dialog and stays accessible while scrolling long medication, doctor, photo or intake sections. Desktop and phone workspaces use the same action.

If the appointment cannot be edited, its actual reason is shown. A past appointment can still have a Scheduled progress label; its start-time restriction is now explained. If the editor could not load, a Reload workspace action is shown instead of silently omitting the control. Existing account and appointment permissions remain in effect.

A loaded v1.13.1 workspace opens a fresh application page after a later version-changing update finishes. This avoids displaying a new installed version while continuing to run the old interface in the same tab. Ordinary same-version backups do not trigger that navigation.

Included from version 1.13.0: edit scheduled appointments

Open a future scheduled appointment and choose Edit appointment. The assigned agent or an administrator can change its appointment type, date/time, duration, client name/contact information/time zone, meeting location, Home address or meeting instructions, shared notes, notification choices and custom intake answers. The existing date/time stays selected unless deliberately replaced.

The duration change applies to this appointment only and is retained for later rescheduling. Date, duration, type or location changes are checked against working hours, buffers and calendar conflicts while excluding the appointment's own existing reservation. Descriptive corrections preserve its schedule and progress. Original booking identity and connected-calendar mappings are retained, so the existing appointment is updated rather than replaced.

Contact corrections require the agent to confirm that this is the same client with corrected details. Old private links are replaced when the bound contact identity changes. Client messages use the saved email/text choices and current eligible recipient; SMS permission and STOP suppression remain in force. Saving unchanged values does not generate another update notice.

Original medications, doctors, photos and intake answers are preserved. Saved questions can be corrected without silently replacing them with a later template. Choosing a different type uses that type's current intake form and keeps the original submission in history. Existing private medication/doctor editing remains available through its separate appointment action.

Read Editing appointments for the workflow, contact correction behavior, custom duration, conflict handling and recovery details.

Included from version 1.12.0: create appointments and let clients correct review information

Agents choose New appointment from Today or their calendar in the same main workspace. Select the appointment type, enter client details or find an existing client, choose Office, Home or Phone, and select an available time. Office uses the agent profile address; Home provides the five address fields with the saved travel setting; Phone asks for the number to call. Working hours, connected-calendar busy times, existing bookings, buffers and booking rules apply. The final transaction checks the slot again before reserving it.

Choose email, text, or both for the client's confirmation and subsequent reminders. A text-only appointment may leave email blank. The agent confirms permission to schedule and, for SMS, permission to text the number. SMS-Gate settings, STOP suppression and automatic U.S. +1 formatting remain in use. Selected channels must be configured. Creating the appointment queues its messages; delivery depends on the scheduled worker and configured providers.

For an enabled Medicare Review appointment, the agent can optionally enter medications, dosage, frequency, quantity per fill and doctors with PCP/Specialist designations. An eligible client email confirmation includes a separate private editing link; routine SMS confirmations omit it from v1.13.3. The agent can send a separate editing invitation when needed. The agent can also open an existing appointment, choose Edit medications and doctors, and use Send client editing link. A saved client change appears in the appointment details and queues a generic email to the assigned agent. Saving identical values or retrying a completed request does not create another change email.

The editing page changes typed entries while retaining existing medication-list photos. It has no account-registration requirement. Each private link expires within seven days or 24 hours after the appointment ends, whichever comes first; sending a new link invalidates the previous one. The original booking snapshot stays intact, with encrypted revisions stored separately. Concurrent edits prompt the user to reload the latest version before overwriting it. Medical values and photos stay out of email, SMS, calendar events and push notifications.

Read Agent appointments and client editing for the workflow, permission boundaries and recovery behavior. This release updates the main application and integrated phone workspace; it does not replace a separately compiled APK or IPA.

Included from version 1.11.1: clearer appointment texts and automatic +1 formatting

Clients can enter a U.S. mobile number as 2125550100, 212-555-0100, or (212) 555-0100. The system uses +12125550100 for SMS-Gate. A number already starting with +1 is not prefixed again; an explicit international country code is retained. The existing phone normalizer is now also used consistently for legacy stored-number comparisons and the first dispatch of never-attempted queued messages. Saved contact fields are not bulk rewritten.

Client appointment texts explain that the sending number is for notifications, replies are not monitored, and appointment changes should go directly to the assigned agent. The message includes the agent’s public contact information when available. Booking, waitlist and text-preference forms explain both phone formatting and the reply policy. Automated STOP/START processing remains available when its authenticated SMS-Gate callbacks are configured.

Email and optional SMS reminders use independent queues. On public booking forms, selecting texts adds them to the existing appointment emails. The new agent-created appointment flow separately offers email, text, or both. SMS still requires the client’s explicit choice, a usable mobile number, enabled SMS-Gate settings and the scheduled worker. This update does not opt existing clients into texting or resend historical notices. Already attempted messages retain their exact provider identifier, destination and body for safe reconciliation.

See SMS-Gate appointment texts for configuration and examples. Existing medication-list photos and all prior features remain included.

Included from version 1.11.0: upload a medication list photo

Clients can upload a photo of their medication list instead of typing it. During Your details, expand Add Medications and Doctors, then use Upload photo to choose a saved image or Take photo to request the phone camera. The device/browser chooses the available camera or file picker.

Attach up to three photos, with each selected source file up to 10 MiB. JPG/JPEG, PNG and WebP are supported; the browser prepares a smaller JPEG for submission. Some Apple browsers can convert HEIC photos, but support depends on the device. If a file cannot be opened, choose a JPG/PNG/WebP version, a screenshot, or take another photo. Check the preview for readable text before booking.

Photos, typed entries, or both are accepted. Every review field remains optional. Remove a selected photo before booking if it should not be sent. Hiding the review keeps its selected photos and entries; the current page retains them through normal booking navigation and errors. Nothing is uploaded until the final booking request. A reload, closed page or changed appointment type discards the unsent review.

The assigned agent or an administrator opens the appointment details to view the photos at a larger size. They are saved with the encrypted review snapshot and included in encrypted backup/restore. Public confirmation, client management/portal views, shared staff schedules, calendar events, email, SMS-Gate messages and push payloads do not contain the images. Existing typed review lists remain available.

The upload supplies a readable photo for the agent; it does not transcribe the list or fill medication rows automatically. See Medicare Review information for instructions and limits.

Included from version 1.10.1: shorter optional review form

During Your details, Prepare for your Medicare Review starts collapsed. Choose Add Medications and Doctors to expand the optional medication and provider fields. Clients who do not want to enter this information can continue booking without opening the section.

Choose Hide Medications and Doctors to collapse it again. Hiding the section keeps entered information, which is still included when the appointment is booked. To omit an entry, remove its row or clear its fields. The current disclosure choice and entries stay with the in-page booking draft; changing appointment type resets the review. The same compact form works on personal and team booking pages, on desktop and phones.

This small interface update retains schema 8, the existing encrypted snapshots, agent access and backup/restore behavior. It does not require a new setup key.

Included from version 1.10.0: optional Medicare Review information

Clients booking a Medicare Review can add information to help their assigned agent prepare, during the Your details step. Both sections and every field are optional; clients can continue without entering anything.

Section Fields
Medications Medication name, dosage, how often taken, quantity per fill
Providers Provider name, and an optional PCP or Specialist designation

Clients can add and remove multiple medication and provider rows. Dosage, frequency and quantity are text so they can enter their own wording and units. The form accepts up to 50 medications and 50 providers, ignores blank rows, and keeps the current draft while navigating within the booking page. It does not look up medications, advise on doses, or verify a provider's network participation.

Open Booking setup → Appointment types, edit the type, and use Medicare review details. Existing individual and team appointment names containing both words “Medicare” and “Review” are enabled once during the upgrade. Other names can be enabled manually, and the switch can be turned off. For a team booking, the optional sections appear when the team offering or its assigned agent's mapped appointment type enables them. Existing custom intake questions remain separate.

The assigned agent opens the appointment in Appointments / Schedule → Appointment details to see the submitted lists; an administrator can inspect the same details. The phone workspace uses the same appointment view. Medication and provider entries are stored encrypted and are excluded from client management pages, client portal lists, shared staff schedules, calendar events, email, SMS-Gate texts and push notifications. Public confirmation only acknowledges whether optional review information was submitted. Backups include the encrypted snapshot and restore it using the existing recovery workflow.

See Medicare Review information for setup, client and agent instructions, and Release validation for tested behavior and limits.

Included from version 1.9.0: a more professional interface

The main system now uses a consistent blue-and-white theme with clearer type, compact spacing, lighter panels and stronger selection states. The redesign applies to the administrator and agent workspace, public agent and team booking pages, client portal, agent directory, public homepage and integrated phone workspace.

The v1.9.0 redesign retained existing data and the original publisher identity. Its changes were limited to presentation and navigation grouping; the v1.10.0 additions are described above. Automatic Home travel retains the saved setting and stays off by default. The server update includes the integrated web/home-screen workspace; an older separately compiled native app binary is not replaced by this ZIP.

See Workspace and booking calendars for the new navigation and Release validation for verification and practical limits.

Included from version 1.8.4: separate Home address fields

The Home location step now provides Street address, Address 2 / Apt, City, State, and ZIP code on individual and team booking pages. Address 2 is optional; the other four fields are required. ZIP codes remain text so leading zeros and ZIP+4 values are preserved. State accepts the name or abbreviation.

The entered parts are combined into the existing appointment address for time selection, review, the saved booking, reminders, calendar details and navigation links. No database migration or new calendar connection is required. Draft values remain when moving back through the booking steps, and changing an address invalidates older availability or travel estimates. Existing saved addresses are kept intact instead of being split by guessing.

Automatic travel remains off by default as introduced in v1.8.3. This update does not change the chosen travel setting, appointment duration, ordinary buffers or existing reservations. If an administrator has explicitly enabled optional routing, the complete formatted address uses the existing verified-route flow.

See Booking locations for the updated form and Maintenance for the signed update.

Included from version 1.8.3: Home address entry without Google Routes

Automatic Home travel calculations now start off, including on an updated installation that already has a saved Google Routes key. Customers choose Home, enter their complete address, and select See available times. New Home appointments use the visit duration, normal appointment-type buffers and existing booking rules. They add no outbound drive, return drive or travel allowance.

The location choices and readiness guidance introduced in v1.8.2 remain. Incomplete Office setup still appears clearly; Home readiness reflects the selected travel mode. The update does not enable Home on an agent's behalf. See Booking locations.

Included from version 1.8.1: Office, Home, and Over the Phone

Clients choose where to meet before viewing available times, on both an agent's personal booking page and a public team page.

Agents configure their public office and Home availability in Profile & booking page → Office & home visits, then choose the allowed locations in Appointment types. Private travel origins, allowances and the administrator's Routes key are used only with optional automatic travel enabled. See Booking locations for setup, the individual and team booking flows, and troubleshooting.

The v1.8.1 location release kept schema 7 and did not rewrite existing appointments or require existing clients to update stored phone numbers. The same main-system website, accounts, calendar connections, and integrated phone workspace are used.

Included from version 1.8.0: bulk agent import

Open Agent accounts → Import agents in the same administrator workspace, including from More on a phone.

Unfinished import previews expire after 7 days. Import history is kept for 30 days. A deliberate historical restore clears staging/history while preserving the created accounts included in that backup. See docs/BULK-AGENT-IMPORT.md for the workflow, CSV columns, recovery, and password limits.

Included from version 1.7.0: teams, public discovery, and administration

Build 3 completes the planned series inside the same main installation. Agents keep Home · Schedule · Inbox · Profile · More on phones. Staff receive Schedule · Reports · Inbox · Profile · More, showing their authorized tools.

Start with docs/BUILD-3.md; details are in docs/TEAMS.md, docs/TEAM-BOOKING.md, docs/DIRECTORY-WEBSITE.md, and docs/REPORTS-MONITORING.md. No real provider credentials or messages are needed to apply the update.

Included from Build 2: clients and smarter scheduling

Build 2 adds the following tools to the same main installation and agent accounts. On a phone, open them from More; the five bottom items remain Home · Schedule · Inbox · Profile · More.

Start with docs/BUILD-2.md. Details are in docs/CLIENTS.md, docs/WAITLIST.md, and docs/BUILD-2-SCHEDULING.md. Private CRM notes, outcomes, task details, and contact preferences are not sent to clients or calendar providers. Editing a CRM email never transfers access to historical appointments; portal identity follows the original booking email.

Included from Build 1: Today, SMS-Gate, and phone notifications

The phone workspace now opens to Home / Today unless an explicit bookmark selects another section. It shows the next appointment, planned departure where a Home visit has reserved travel, daily counts, attendance state, calendar health, and quick progress actions. The five bottom items remain Home · Schedule · Inbox · Profile · More. Desktop and phone use the same main installation and agent accounts.

Appointment progress supports On my way for Home visits, Arrived / Call started, Completed, and No-show. These operational markers do not move an appointment or change its reserved time. Clients can confirm attendance from their private management link; a reschedule requires a fresh confirmation.

Optional SMS-Gate texts use the administrator's Android gateway account/device settings. Clients explicitly opt in, and agents choose their own text preferences. Queued notices, reminders, delivery history, STOP suppression, and authenticated gateway callbacks are included. See docs/SMS-GATE.md.

Optional background Web Push reaches enrolled, permitted browsers or installed home-screen apps. On supported iPhone/iPad versions, enable it from the installed home-screen app. The administrator enables Web Push, then each signed-in user enables their device in Inbox. A push contains generic activity text and opens the same authenticated installation. See docs/WEB-PUSH.md.

This remains an installable web app (PWA) in the main system. No separate account, database, mobile-source package, APK, or IPA is required or supplied. Internet access is required for appointments and changes. OS permissions, device settings, hosting, and providers affect notification timing; instant delivery is not guaranteed.

Included

Client and agent email reminders use the configured email service. Optional texting uses SMS-Gate. The integrated inbox updates while open with polling fallback; enabled Web Push provides background agent alerts on supported devices. Payments, group classes, Microsoft/Outlook synchronization, and automated video meeting creation are not included in this release. For video appointments, an agent can enter an existing meeting URL in the location details.

The older native v1.3.0 source is unchanged. Build 2 tools are delivered through the integrated phone workspace in the main system. This release does not rebuild or distribute a separate native project or signed phone binary.

Server requirements

SQLite is only for the bundled automated tests, not the production installer. Nginx/IIS require equivalent deny rules and hosting configuration by your server administrator; the packaged installer targets Apache/cPanel.

New installation in cPanel

  1. Create a new folder, for example /public_html/appointments. Use an empty folder so existing systems are not overwritten.
  2. Upload and extract the installer ZIP into that folder. install.php, index.php, vendor, src, assets, and .htaccess should be directly inside it. Enable Show Hidden Files in File Manager to confirm .htaccess was extracted.
  3. In MySQL Databases, create a new database and database user. Assign the user All Privileges on this database. Keep the full cPanel-prefixed names.
  4. Upload the separately supplied setup-key.php beside install.php. Open it in a text editor and copy the value between the quotes after return into the installer's Installation key field. Keep the file private. If generating a new key instead, copy setup-key.example.php to setup-key.php and replace the placeholder with a cryptographically random secret of at least 20 characters. Do not use your account password as the setup key.
  5. Visit https://yourdomain.com/appointments/install.php. Resolve any red server requirements. Enter the installation URL, database information, administrator details, and an empty private data directory. A suitable cPanel path is /home/CPANEL_USER/agent-booking-private; it must be outside public_html.
  6. Select Install Agent Booking NOW. The installer creates its tables, creates your administrator account, removes the setup key, and locks itself. No default password is shipped.
  7. Select Open Agent Booking NOW on the completion page to open the sign-in screen. Complete Settings, Calendar connections, and the cron setup below before sharing booking links. You can return to the public website at index.php and use its Log in button at any time.

The initial administrator also has a booking profile. New agents begin with a 30-minute consultation, 15 minutes after an appointment, Monday–Friday 9:00 AM–5:00 PM in their selected time zone, a 60-day horizon, and two hours of notice. Phone is available immediately; Office requires a public address and Home requires the agent to enable it and offer it on the appointment type. Routing setup is needed only when optional automatic travel is enabled. Review each agent's appointment types, real hours, and contact information before publishing their link.

If installation fails after creating database tables, do not retry against an existing business database. Empty only the new booking database or create another empty database, follow the error message, and retry. Configuration errors are recorded in the hosting PHP error log. A completed installation refuses to run the installer again.

Configure email

Open administrator Settings → Email delivery. Choose SMTP or SendGrid, enter a valid sender email and sender name, save, then use Send a test email to an address you control.

For SMTP, enter the server hostname, port, username, password, and TLS/SSL mode supplied by your email provider. A common configuration is port 587 with TLS, or 465 with SSL; use the provider's actual values. The server's certificate must validate.

For SendGrid, enter an API key that permits Mail Send and a sender that is verified for that SendGrid account. This application has its own delivery settings and does not change WHM/Exim or other applications' mail routing. See the SendGrid Mail Send documentation.

Appointment messages and waitlist verification/opening emails are queued and processed by cron. Requested password-reset and client-portal sign-in emails use the same configured service when requested. Disabled or incomplete email settings leave queued appointment messages pending; email configuration is required before enabling a waitlist. Failed sends are retried with backoff, and terminal failures can be requeued from system health after the configuration is corrected. A successful send means the mail service accepted the message, not that the recipient's inbox confirmed delivery. Check the provider for delivery, bounce, and spam outcomes.

The default reminders are 24 hours and 1 hour before the appointment. Agents can choose up to five reminder offsets in profile settings. Only reminders still in the future are scheduled for a new booking. Changing reminder settings affects newly created or rescheduled appointments; existing queued reminders retain their previous schedule. The worker avoids sending expired reminders after a prolonged outage.

Add the scheduled worker

Open Settings to copy this installation's exact cron command. In cPanel Cron Jobs, select Once Per Minute for the schedule and enter the command portion without the five schedule fields.

Example command:

/usr/local/bin/php /home/CPANEL_USER/public_html/appointments/cron.php >/dev/null 2>&1

For a raw crontab, the full line begins with * * * * *. The PHP CLI path can differ by host; for example, cPanel EasyApache may provide /opt/cpanel/ea-php83/root/usr/bin/php. Ask your hosting provider for the path matching PHP 8.2 or newer and the required extensions. Do not use a browser request to run the worker; cron.php intentionally rejects HTTP access.

Within a few minutes, the dashboard should show a recent successful worker run. Cron synchronizes calendars, sends due appointment and waitlist email, SMS-Gate, and enabled push jobs, checks eligible waitlist requests when automatic invitations are enabled, retries transient errors, cleans up expired security records, and runs due scheduled backups. Without cron, background calendar changes and reminder delivery cannot operate reliably.

Connect calendars and phones

Read docs/CALENDAR-CONNECTIONS.md for provider setup and verification. Google requires an OAuth web application configured by the administrator; each agent separately grants calendar access. iCloud and Yahoo require that account's generated app password and a selected calendar.

Connect the account displayed on a phone. An iPhone can display iCloud, Google, and Yahoo calendars; Android commonly displays Google Calendar. A device-only event cannot be synchronized by this server. Yahoo documents that default Android calendar apps do not directly synchronize Yahoo CalDAV; a compatible app may be required.

Select Check busy time and Write appointments for normal two-way operation. Separate connections can check multiple calendars. Finish calendar selection and verify Connected status before relying on the integration.

Synchronization is periodic, generally driven by the every-minute worker. Public availability also refreshes stale calendar snapshots, and a final booking attempt refreshes connected calendars. Provider delays and server load can add time. An outside owner can still create a conflicting event after the last check; conflicts are shown for the agent to resolve. Required calendar errors pause new booking availability instead of treating uncertain time as free.

Client calendars

Clients can accept the emailed calendar invitation or use the confirmation page's Google, Yahoo, or ICS controls. Apple Calendar and other compatible clients can open the ICS invitation. The client must accept or save the event; this application does not write silently to a private calendar that the client has not connected.

Invitation updates and cancellations keep a stable event identifier. A manually copied event created with a calendar-link button is a separate copy and may need to be updated manually. Agents whose connected calendars already receive bookings do not get an additional email ICS attachment, which helps avoid duplicate events.

Manage agents, profiles, and QR codes

Use the administrator Agents screen to create accounts or disable an account. Each agent signs in with their own credentials and can only manage their own workspace. Administrators can choose an agent workspace when assisting them. At least one active administrator must remain.

In Profile & booking page, upload a JPEG, PNG, or WebP photo, adjust its zoom/position, fill in contact details, and set the PURL. Company/agency name is optional. Website addresses must include https:// or http://. QR codes are generated locally from the current PURL, with no third-party QR service.

If a PURL changes, regenerate the QR code and replace previously printed links/codes. A saved SVG is suitable for sharp printed flyers and business cards. Review the public page before distributing it.

Use Appointment types, Availability, and Calendar connections to complete an agent's setup. Hiding an appointment type prevents new bookings; an existing client can still cancel under the cutoff, but must contact the agent to change an appointment type that is no longer offered. Existing appointments are not silently cancelled when hours or time-off settings change.

Office, Home, and Over the Phone

Each appointment type controls which locations a client may choose. In Profile & booking page → Office & home visits, save the public Office address and enable Home when the agent accepts Home visits. With automatic travel off, no Google key or starting/return address is needed for Home. The customer enters a complete address and books the visit using ordinary duration, buffers and availability.

The administrator can explicitly enable automatic Home travel under Settings → Home visit travel estimates. That optional mode requires Google Routes setup plus each Home agent's private starting/return address. The server then verifies both drives and adds each drive and configured travel allowance to the normal reservation. Google Routes uses a separately billed provider account; see the setup guide and usage and billing before enabling it.

Saved reservations remain authoritative for already confirmed appointments. Opening map directions does not calculate or alter the appointment's reserved time. See Office, Home and Phone setup for the current default, optional routing and rescheduling behavior.

Backups and restore

Open administrator System care. Generate a recovery key and store it in a password manager or another secure place away from the server. A recovery key encrypts a backup; it is separate from the one-time installation key and your administrator password. Losing it makes that encrypted backup unreadable.

Use Create backup to capture the database and agent photos. Download the resulting .abnbackup file and keep an off-server copy. Scheduled backups can run daily or weekly at the chosen UTC hour, with a retention count of 2–60. They use the every-minute cron job. The server stores the schedule's recovery key encrypted with its application key so unattended backups can run; keep your own copy independently. Changing the key affects newly created backups, not older files.

Restore first validates and previews the backup. Applying it requires your current administrator password and the typed confirmation RESTORE. It creates a recovery snapshot before replacing data, restores agent photos, and preserves the destination installation URL, database configuration, and application key. Encrypted calendar credentials and private booking-management tokens are re-encrypted for the destination. A compatible initialized installation is required when moving a backup to a replacement server.

After a restore, all browser/mobile sessions are invalidated. New bookings, outgoing email/SMS/push, and calendar synchronization stay paused. Sign in with an administrator account from the restored backup, review the appointment list and connected calendars, then explicitly resume from System care. Historical confirmations and push jobs are not replayed. Only eligible future email/SMS reminders are rebuilt. SMS preferences and STOP suppression are retained. Re-register/check SMS-Gate callbacks because the destination URL may differ. Web Push registrations are discarded; phones must sign in and enable notifications again.

An application backup is not a full hosting-account backup: it does not include the PHP runtime, web-server configuration, application binaries, or destination config.local.php. Keep a separate secure copy of the application files and server configuration, and keep the installed version's release package. Consult docs/MAINTENANCE.md for restore limits, recovery operations, and larger hosting workloads.

Updates and rollback

Version 1.5.0 is supplied as a signed update ZIP for versions 1.2.0, 1.2.1, 1.3.0, and 1.4.0. Target schema is 4. Version 1.1.0 first applies the included original v1.4.0 signed update, then v1.5.0. System care verifies the publisher signature, file hashes, paths, PHP syntax, source version, and schema compatibility. Applying it creates an encrypted pre-update backup and file rollback copies, blocks application writes temporarily, installs the files, and finalizes the additive migration in a fresh PHP request. A failed migration attempts automatic rollback. An interrupted operation stays blocked until recovery finishes.

Open maintenance.php directly if the main dashboard is unavailable. Keep the matching Upgrade Kit offline; its independent CLI recovery entrypoint includes the release's Core, Maintenance, Release, and SMS reminder libraries. A v1.0.0 installation must first complete its original v1.1.0 bridge.

Administrators upload and approve updates. There is no automatic remote code-update feed. Keep the owner publisher toolkit supplied with v1.1.0 offline and private. Its original signing key remains valid and is not redistributed in these public downloads. Installation keys, backup recovery keys, and release-signing keys have different purposes; an existing installation does not need a new setup key for this update.

Website, logo, and app icon

The existing branded feature website is served at the main index.php address in the application folder. It describes the product, shows sample booking/workspace illustrations, and links to the complete setup guide. Log in is a normal visible link to index.php?login=1; it does not depend on a separately configured website destination. The original website/index.html is now a local redirect with a visible fallback link, and the old setup page still links to the correct sign-in address.

The website and application share assets/brand-logo.png and assets/app-icon.png. The original brand kit continues to apply. This patch reuses the supplied website design and artwork within the existing PHP installation; it does not create or deploy a separate hosted Site. Each agent's downloadable booking QR still encodes that agent's PURL, not the feature website.

Phone workspace, installation, and live notifications

Open the main website on your phone and choose Log in. The workspace automatically uses its phone layout. Use Home for the overview, Schedule for appointments, Inbox for activity, Profile for your booking page and contact information, and More for other settings. Administrators retain the same role-based controls and agent selector.

For a home-screen icon, open More → Add to Home Screen. When a browser offers an install prompt, use that prompt. On iPhone/iPad, use the browser's Share menu and Add to Home Screen, enabling Open as Web App if that option is shown. Browser support and wording vary; the built-in instructions explain the available path. Use the installation's real HTTPS address.

The icon opens index.php?app=1 in the same installation. The same account and database are used. An installed browser context may ask the agent to sign in again; this is not a second account. The worker is scoped to the installation folder, avoids caching private pages or API results, and shows a connection-required screen if a navigation cannot reach the server. It does not store offline appointments or queue offline changes.

A normal signed system update delivers both desktop and phone code. After an administrator completes it, finish any current editing and reopen or refresh the workspace to load the new interface. Versioned assets and the network-only private-data policy avoid serving an old cached application shell. The app does not force a reload during form entry.

Foreground updates use the existing authenticated live stream and polling fallback. The inbox belongs to the signed-in user, including when an administrator inspects another agent's schedule. External-calendar changes still arrive through the configured synchronization worker. Web Push subscriptions are now available after administrator setup and explicit device permission. Email and opted-in SMS reminders continue through the scheduled worker when the workspace is closed. Keep the gateway phone online for texts. See docs/MOBILE.md.

Support and operating notes

Never upload config.local.php, private signing keys, or database exports for public download. The application .htaccess blocks internal directories and sensitive file types, and private data stays outside the web root. Keep the PHP runtime, hosting TLS certificates, and bundled dependencies maintained.

For a failed operation, record the error reference and consult the hosting PHP error log. Calendar errors are shown per connection, and mail/worker health appears in the dashboard. External event titles and descriptions are not stored in the busy-time cache or shown to clients.

Validation and production check

The release includes automated booking, calendar-adapter, mail-queue, maintenance, mobile, client/portal, intake, waitlist, and scheduling tests. Team/staff tests cover access, roster checks at mutation time, assignment, permanent-link continuity, directory privacy, reports, and monitoring. Import tests cover parsing, atomic account creation, temporary-password gates, UI recovery, and backup/restore behavior. Booking-location checks cover required Home addresses without routing, preserved old travel reservations, optional verified round-trip travel, calling numbers, legacy addresses, public response privacy, selected-but-unready choices, and guided setup. See docs/VALIDATION.md for the completed checks, exact signed-package upgrade coverage, and practical limits.

Real Google, Apple, Yahoo, SMTP, SendGrid, SMS-Gate, or device push credentials were not used during development. After installation, connect a calendar and a test client address you control, and verify both directions, confirmations, a reminder, rescheduling, and cancellation. Check the integrated home-screen installation and touch interactions on your own iPhone and Android phone before distributing it to agents.

All application source is included. Bundled third-party packages retain the licenses included in their respective vendor directories.

Back to guide navigation

Editing scheduled appointments

Version 1.13.0 adds Edit appointment to the existing appointment-details view on desktop and the integrated phone workspace. It uses the same account, schedule, client messages and calendar connections as the rest of Agent Booking NOW.

Open an appointment for editing

  1. Sign in as the assigned agent, or as an administrator working with that agent.
  2. Open the scheduled appointment from Today, Appointments or the calendar.
  3. Choose Edit appointment at the top of the appointment details dialog. The action stays accessible while scrolling long details.
  4. Change the necessary fields. The current date and time remain selected unless you choose another available time.
  5. Review the changes and save. The appointment remains the same record and selected client messages are queued through the existing worker.

Version 1.13.1 shows the server’s reason when editing is unavailable, including an appointment that has already started but still has a Scheduled progress label. If the editor did not load, use Reload workspace to open a fresh page.

This action is for future scheduled appointments. Completed, cancelled and past appointments retain their historical record. Team schedulers/viewers retain their established team permissions; they do not gain the broader agent edit action.

What can change

Information Behavior
Appointment type Select an available type belonging to the same agent. Changing the type does not change the agent or permanent booking identity.
Date and time Select another available slot in the client's chosen time zone. The server rechecks it before saving.
Duration Set 5–1,440 minutes for this appointment. Type defaults and other appointments are unchanged.
Client details Correct name, email, phone and time zone for this client and appointment.
Location Choose an offered Office, Home, Phone or supported service-defined location.
Home address Preserve the existing complete address or explicitly replace it using Street address, optional Address 2 / Apt, City, State and ZIP.
Office address Preserve the appointment's saved office or use the current office address from the agent profile.
Meeting instructions Update supported service-defined meeting details. Phone uses the client's calling number.
Appointment notes Edit the shared scheduling notes visible with this appointment. Private client-directory notes remain separate.
Notifications Select email, text or both, while respecting the client's permission and STOP preferences. Existing opted-out appointments can be corrected without forcing notification consent.
Intake answers Correct saved custom questions. A different type uses that type's current form. Original answers remain in history.

Use the existing Edit medications & doctors action for the optional Medicare information. Original medication-list photos remain available and unchanged when appointment details or type are edited.

Availability and duration

The editor excludes the current appointment from its own conflict calculation. Existing bookings, connected-calendar busy time, working hours, buffers and scheduling limits still apply. A newly selected start time follows the normal booking rules. Keeping an already scheduled future start allows an agent to correct the reservation without the public minimum-notice or time-grid rule alone forcing it to another slot; working hours and conflicts are still checked when the reservation changes.

A correction to client details or notes preserves the existing time, duration and saved travel reservation. It does not require recalculating a route or replace a saved address merely because profile settings changed. Existing inactive types can remain on an otherwise unchanged appointment; a newly selected type must be available.

A duration override belongs to the appointment and carries through later client, agent, team and mobile rescheduling, even if the shared type default later changes. A connected calendar remains authoritative for an accepted external date/time change. An existing unusual provider duration can be kept exactly for descriptive corrections; changing its reservation requires a supported 5–1,440-minute duration. The same booking ID and calendar mapping are used when publishing an update.

Automatic Home travel retains the administrator's existing setting and remains off by default. With travel off, a changed Home address uses appointment duration and normal buffers. Where routing was deliberately enabled, an applicable reservation change must use a valid estimate bound to the proposed appointment details.

Correcting client contact details

The form asks the agent to confirm that changed contact information belongs to the same client. Corrections apply to this appointment; existing client-directory relationships, unrelated notes and other appointments are not bulk rewritten.

When the client identity changes, the old appointment-management and private review links are invalidated and replacements are used in the updated messages. A replaced email loses portal access to this appointment. Newly enabling texts, or changing a texting destination, requires permission for that number and cannot override an existing STOP suppression.

An email can remain blank on a text-only appointment. If the client has stopped texts and email is disabled, the appointment can still be corrected without inventing an address or granting consent. The result explains when no client update message was queued. Existing selected channels can remain saved while their provider is temporarily unavailable; check the reported queue status and provider settings.

Notifications and calendar updates

An actual saved change increments the appointment revision and queues the appropriate update through the selected eligible channels. The existing scheduled worker processes email/SMS reminders and connected calendars. Superseded pending revisions are skipped; already attempted SMS payloads retain their provider identity for reconciliation.

Managed Google Calendar event descriptions use a normal system sign-in link instead of a private appointment-management link. This prevents a guest already invited through Google from obtaining a replacement management capability after a contact correction. Calendar sharing and any manually invited guests remain controlled in Google; remove obsolete guests there if they should no longer see ordinary event information.

A no-op save creates no appointment revision or notification. Retrying the same completed request acknowledges the previously applied revision and returns the latest appointment details without another update. Provider acceptance is distinct from confirmed delivery, and already delivered messages cannot be recalled by correcting an appointment.

Date, time, type, duration or location changes can require renewed attendance confirmation. Purely descriptive corrections retain the appointment's progress where its reservation and identity remain unchanged.

Preserving preparation and handling simultaneous changes

Changing the type keeps the original Medicare Review snapshot, previous manual review revisions and medication-list photos readable. The original medical service binding is retained privately; it is not exposed as an editable field or public capability.

Intake corrections are stored as encrypted revisions. The original booking-time question wording and answers remain unchanged. For the same type, the editor uses the saved questions so later template changes do not silently erase answers. A type change uses its current form, while the earlier information remains preserved in the original or revision history.

If the appointment changes elsewhere while a form is open, the stale save is rejected. The current draft remains available until the agent explicitly reloads the latest appointment and reviews the differences. An idempotency key protects retries after an interrupted response.

Update and recovery

Apply Agent-Booking-NOW-v1.13.1-Signed-Update.zip through Administration → System care → Update from v1.13.0, after downloading an encrypted backup and retaining its recovery key. Complete finalization and reload the full page or reopen the workspace. This first reload is necessary when the update began in an older interface. Once v1.13.1 is loaded, later version-changing updates automatically open a fresh workspace after successful finalization. No new setup key is needed.

Schema 10, retained unchanged by v1.13.1, includes a private stable review-service binding and optional duration override on bookings, encrypted appointment-edit receipts/history, and encrypted intake revisions. The backup contains 60 known application tables. Portable restore re-encrypts the new history for the destination installation key. Existing historical-restore protections remain: operations pause for review, old capabilities and message queues are not replayed, and protective rollback retains the original pre-operation state.

See Agent-created appointments, Medicare Review, SMS-Gate and Maintenance.

Back to guide navigation

Agent appointments and client editing

Version 1.12.0 adds these workflows to the existing main system and its phone workspace. The same accounts, calendar connections, SMS-Gate settings and scheduled worker are used.

Agent notifications when an appointment is set

Version 1.14.0 also provides immediate push attempts for enrolled devices and a live on-screen workspace alert. Open Notifications → Lock-screen notifications (Inbox on a phone) to enable the device and test it. The optional preview adds appointment time and meeting method; client identities, addresses, medications and doctor details remain excluded. See Phone notification setup.

From v1.13.2, every newly scheduled appointment uses the common agent notification path: email to the assigned agent's account email and eligible SMS through SMS-Gate. With no saved text preference, SMS defaults to the profile phone. A saved separate mobile number, disabled preference and STOP suppression remain respected. The client's Email/Text selections do not change these agent notifications.

Open Notifications → Agent appointment notifications to check both channels. Leave the optional different-mobile field empty to follow the profile phone. Saving these preferences prepares eligible future reminders for already-scheduled appointments without replaying their original confirmations. Missing phone/setup does not prevent booking; the panel explains what needs attention. See SMS-Gate.

Schedule an appointment for a client

  1. Sign in as an agent and choose New appointment on Today or the calendar. An administrator can select the intended agent. Delegated team schedulers and viewers do not receive this private agent capability.
  2. Choose an active appointment type. Enter the client's name, email and phone, or look up an existing client belonging to that agent. Check the time zone used for the appointment time and client messages.
  3. Choose the notification channels: Email, Text, or both. Email requires a valid address and configured mail settings. Text requires a usable mobile number, enabled SMS-Gate and the client's permission. Text-only appointments can leave email blank; the system does not invent an email address.
  4. Choose the meeting location. Office shows the agent's profile office address. Home asks for Street address, optional Address 2 / Apt, City, State and ZIP. Phone uses the client's calling number. The type's offered locations and profile setup still control which choices are available.
  5. Confirm that the client asked you to schedule and use their contact details. For texts, also confirm the client's permission to receive appointment messages. An existing STOP opt-out cannot be overridden by checking this box.
  6. Choose an available date and time. The usual working hours, notice period, booking window, calendar conflicts, daily limits, gaps and buffers apply. The appointment uses its selected duration and the saved travel behavior. Automatic Home travel remains off unless deliberately enabled in existing settings.
  7. Complete any applicable intake questions. For an enabled Medicare Review type, optional medications, doctors and medication-list photos can be added. Review the details and choose Create appointment & notify client.

A successful result reserves the appointment, records the creating account, queues the selected client confirmation and reminder channels, and uses the existing agent notification and calendar synchronization paths. It reports messages as queued, not delivered. A retry after a lost response returns the original appointment rather than creating a duplicate. A time that was taken while the form was open must be selected again.

Appointments created with a valid email use the existing client relationship history. A text-only appointment with no email remains available on the agent's schedule and through its private appointment link, without creating a false email-based client identity.

Add or correct medications and doctors

Open the appointment details and choose Edit medications and doctors. These controls are available to the assigned agent or an administrator when the appointment is eligible for Medicare Review editing. The agent can add information even when the client left the original optional form blank.

Each row remains optional:

Section Editable information
Medications Name, dosage, how often taken, quantity per fill
Doctors/providers Name and optional PCP or Specialist designation

There can be up to 50 medications and 50 providers, consistent with the original review form. Empty rows are ignored. The application stores the information as entered; it does not transcribe photos, recommend medication changes or validate clinical information.

Saving an actual agent change makes the latest entries visible in appointment details. It queues a client editing invitation through that appointment's chosen channels when a valid link is available. If a previous link has expired, use Send client editing link. Opening the form or saving identical values does not send another invitation.

Existing medication-list photos remain viewable and unchanged. The editing page changes typed fields only. The original booking-time snapshot is retained separately from encrypted later revisions, including when all typed rows are cleared.

The client's private editing page

A newly agent-created Medicare Review appointment can include the editing link in its selected email confirmation. From v1.13.3, routine appointment texts do not include a medication or doctor editing link. The agent can choose Send client editing link in appointment details to send a separate invitation. This uses the saved contact details and notification choices; it does not enable SMS or override STOP.

The client opens the private link, reviews the medication and provider rows, makes any corrections and saves. No client account or additional email code is required. The link itself grants access to that one appointment's review, so the message tells the client to keep it private.

A real saved client change:

Actual client preparation edits also create a generic Preparation updated activity event and eligible device push. No-op saves and completed-request retries do not create extra events. The email and push do not contain medication names, dosage, doctor names, photos or the client's editing token. The normal email worker configuration must be active for the agent to receive it. Administrators can see the aggregate Review email queue in System monitor; Retry failed email also retries failed review notifications without replaying already sent messages. No-op saves and completed-request retries create no extra change email. Transport retries reuse a stable email identity; actual SMTP acknowledgement remains subject to the provider.

If another person saves changes while a form is open, the stale submission is rejected. The editor offers to reload the latest information so the client or agent can review it before saving again.

Links expire seven days after issue or 24 hours after the appointment ends, whichever comes first. Sending a new link invalidates the previous link. Cancelling the appointment, disabling its agent or changing the bound client contact identity makes the old link unavailable. A valid link is not extended simply by opening it or rendering a reminder.

The review capability is separate from the appointment-management and calendar links. General client management pages, calendar URLs, public booking summaries, client portal lists and shared team schedules do not reveal the review. The private editor receives the capability from the URL fragment, removes it from the displayed URL and submits it in the request body. The page does not save medical drafts or tokens in browser storage. Reopen the original message link after a page reload or closed tab.

Backup and restore

Schema 9 adds encrypted review revisions, review-access records and a generic notification outbox. The existing encrypted backup contains the new durable history. Restoring to a different installation key re-encrypts the revisions along with existing sensitive fields.

A user-requested historical restore clears private editing links and review-message queues, invalidates sessions and leaves operations paused for review. After operations resume, an agent sends a new editing link if needed; historical change notifications are not replayed. An automatic protective rollback retains the pre-operation state. The appointment's selected email/SMS preferences survive recovery, and a text-only booking does not acquire client email reminders during restore.

See Maintenance, Medicare Review information, and SMS-Gate for the related settings.

Edit a scheduled appointment

Version 1.13.0 adds Edit appointment to appointment details for the assigned agent and administrators. Version 1.13.1 places this action at the top and keeps it accessible while scrolling; unavailable appointments show their reason. It supports type, date/time, per-appointment duration, contact information, location, notes, notification choices and intake corrections while preserving original review/photos and booking identity. See Editing appointments.

Back to guide navigation

Optional Medicare Review information

Version 1.11.0 lets people scheduling a Medicare Review supply medication-list photos, typed medication information and provider details so the assigned agent can prepare. The form belongs to the existing booking system and appears during Your details, after the appointment location and time have been selected. It works on individual agent PURLs and public team booking pages, including phones.

Open the optional form

Prepare for your Medicare Review starts collapsed to keep the booking form short. Choose Add Medications and Doctors to open it. Clients can book without opening it or entering any information.

The open section has a Hide Medications and Doctors button. Hiding the fields keeps everything already entered and still submits those entries with the booking. Remove an entry or clear its fields if it should not be submitted. The button works with a mouse, touch, Enter or Space; its expanded state is announced to assistive technology. Hidden fields are skipped during keyboard navigation.

Moving back and forward within the booking page keeps the draft and disclosure state. Changing appointment type resets the section. The section begins collapsed for a new booking.

Upload or take a photo

Inside the expanded review, the Medication list photos area offers Upload photo and Take photo. Use a saved photo, a clear screenshot, or the phone camera when the browser supports it. A desktop usually opens a file chooser. The browser controls which camera/picker options appear.

  1. Choose or take a clear photo with the entire list visible.
  2. Inspect the preview. Check that medication names and directions are readable.
  3. Add another photo for an additional page, up to three photos total.
  4. Remove a selected photo if it should not be included.
  5. Complete the ordinary contact fields and confirm the appointment. Typed medication and provider fields can remain blank.

Each source file can be up to 10 MiB. JPG/JPEG, PNG and WebP are supported. HEIC/HEIF can be converted when the browser can decode it; otherwise use a supported image or screenshot. PDF, SVG and document files are not accepted by this photo control. No external image-conversion service is used.

The browser prepares a JPEG at up to 2560 pixels on the longest side, with a bounded file size. The server independently checks and re-encodes every image before saving it. Original filenames and image metadata are not retained. Use separate photos for multiple pages instead of squeezing several pages into an unreadable image.

Photos are submitted with the final appointment request. Selecting a photo does not create a temporary server upload or a booking. Pending preparation must finish before submitting or navigating. Failed preparation or submission keeps the booking open for correction; it must not silently omit a selected image.

Clients can use photos, typed rows, or both. The feature does not transcribe medication names, interpret prescriptions or populate typed fields from an image. No photo is required.

What clients can type

Section Field Required?
Medications Medication name No
Medications Dosage No
Medications How often taken No
Medications Quantity per fill No
Providers Provider name No
Providers PCP or Specialist No

Use Add medication or Add provider for another entry, and remove an entry when it is no longer needed. The form accepts up to 50 medications and 50 providers. Empty rows are ignored. Clients can submit what they know, leave individual fields blank, or skip both sections entirely and still book the appointment.

Dosage, frequency and quantity are plain text. For example, a client can enter their own frequency wording and a quantity with units, rather than being forced to use a number that would lose context. Provider type can stay unselected. The form records information as entered; it does not recommend medications, calculate doses, verify prescriptions or check provider networks.

Draft entries remain while moving between steps within the open booking page. They are not placed in browser local storage. Changing the appointment type clears the review draft. Reloading or closing the page discards unsent entries. After booking, public confirmation acknowledges that information was submitted without displaying the medication or provider list.

Turn the sections on or off

For an individual agent appointment:

  1. Sign in and open Booking setup → Appointment types.
  2. Edit the Medicare Review appointment type.
  3. Turn Medicare review details on or off and save.
  4. Open that agent's public booking page and select the appointment type to check the final details step.

For a shared appointment, an administrator opens Administration → Team booking, edits the team appointment type and uses the same switch. The final assigned-agent review shows the sections when either that team offering or the assigned agent's mapped service enables them.

During the first schema 8 upgrade, existing appointment names containing both words Medicare and Review are enabled automatically. The migration does not repeatedly turn the switch back on after someone disables it. A different appointment name can be enabled manually. The new-type editor also recognizes a Medicare Review name until the user makes an explicit choice.

Existing custom intake forms keep their questions, required-field rules and stored answers. Medicare Review lists are a separate optional feature; they do not replace a custom form or make an existing required question optional.

Where the agent sees it

The assigned agent opens Appointments on desktop or Schedule on a phone, then opens Appointment details. A Medicare Review section shows the submitted photos, medications, dosage, frequency, quantity and providers. Select a photo to open its larger viewer. An administrator can view the same information when opening that appointment. The existing native detail API provides the list for the signed-in account’s own appointments; its existing account boundary remains in force.

Other agents and scheduling staff do not receive these lists through shared schedules. Client management links and portal appointment lists do not display them. Clients who need to correct information after booking should contact their assigned agent; this release does not add a client or agent editor for an already submitted review snapshot.

Storage, messages and recovery

Photos and typed medication/provider lists are encrypted with the installation's existing encryption key and stored as an appointment snapshot. They are saved in the same transaction as the booking. Rescheduling or cancellation retains the submitted snapshot, and retrying a successful request does not replace its answers.

The photos and lists are excluded from calendar invitations/downloads, Google/Yahoo/Apple calendar event details, email and SMS-Gate reminders, native/Web Push payloads, audit detail and reporting exports. The agent signs in to view them. Appointment contact information, time and location continue to use their existing confirmation and reminder flows.

The encrypted snapshot, including its photos, is included in system backups. Medication photos are contained in the review database record; the separate profile-photo count in backup previews still refers to agent profile photos. Restore authenticates it and re-encrypts it for the destination installation key when needed. Keep the backup recovery key with the existing recovery materials. Restoring an older backup restores that earlier set of review snapshots, along with the rest of the appointment data. See Backup, restore and updates.

Enter medication and provider details only in these dedicated sections. Do not enter Medicare identification numbers, Social Security numbers or payment information in the booking form. The supplied privacy wording explains the optional review fields; administrator-written privacy notices remain under the administrator's control.

Agents and clients can edit typed review information

Version 1.12.0 adds New appointment to the agent workspace and Edit medications and doctors to eligible appointment details. The agent can add or update typed review fields; the client receives a separate private editing link and can correct them. A real client change queues a generic email to the assigned agent. Existing photos remain intact and visible, and the original booking snapshot is not overwritten.

The private editor uses a separate expiring capability, not the standard management or calendar token. Existing medication and provider fields remain optional. It does not permit photo replacement or deletion. See Agent appointments and client editing for the complete flow, link lifetime, simultaneous edit handling and recovery behavior.

Update the existing system

Apply Agent-Booking-NOW-v1.13.1-Signed-Update.zip through Administration → System care → Update from v1.13.0 after downloading a current encrypted backup and retaining its recovery key. Schema 10 and 60 tables remain unchanged. Reload the full browser page after finalization. Earlier versions first follow the supported sequence to v1.13.0; see Maintenance. No new setup key is needed.

Changing an appointment type in v1.13.0 preserves the original review, photos and existing manual revisions. Their private original binding remains stable while the appointment uses its new type. See Editing appointments.

Hosting and technical limits

The existing required PHP GD extension processes images. Only the public final booking actions accept a larger, bounded JSON request of up to 3 MiB; other application request limits remain in force. Photos arrive as prepared JPEG images of at most 650 KiB each and are stored as independently normalized JPEG images of at most 700 KiB each. The three-image limit keeps an encrypted review within the existing 4 MiB portable-backup row limit, including ordinary typed entries. A host or reverse proxy can impose a smaller request limit; if the booking returns a request-size error, use fewer/smaller photos or contact the hosting administrator. Successful booking and photo storage commit together.

The system stores the normalized image, not an archival copy of the original camera file. Public booking pages do not receive a server URL that could reveal an uploaded image. The existing authenticated appointment-detail response supplies images only to its authorized account. The native API retains its existing own-account boundary.

Browser camera behavior is described in the MDN capture documentation. Native HEIC decoding depends on browser support; see WebKit image format support.

Back to guide navigation

Booking locations — Office, Home, and Over the Phone

Agent Booking NOW v1.8.4 · Schema 7

Clients choose a meeting location before viewing appointment times, on an individual agent PURL or a public team page. The appointment type determines the permitted choices. A selected choice that needs setup remains visible but disabled; ready choices continue to booking.

Automatic Home travel calculations start off in this release. Customers enter their Home address and book using the appointment's duration and normal buffers. No Routes key or private starting address is required while automatic travel is off. Existing confirmed appointments retain any travel time already reserved.

Choice What the client sees before times What the booking saves
Office The agent's public office address The resolved office destination for that appointment
Home Street address, optional Address 2 / Apt, City, State, ZIP code and See available times The customer's address, with no new driving-time reservation while automatic travel is off
Over the Phone Phone number for your appointment and See available times The number the agent should call and the telephone meeting location

Existing video and custom meeting instructions remain available when offered by the appointment type.

Selected locations and ready locations

Checking a location in Appointment types permits that mode; its configuration determines whether clients can use it. Location readiness shows Ready or Setup needed for each checked choice. Service cards distinguish Ready locations and Needs setup.

Selected choice Required setup
Office The profile's public Office address, or a real address on a legacy in-person appointment type when the profile office is blank
Home, automatic travel off Home enabled in the agent profile and on this appointment type
Home, automatic travel on Home enabled, a private starting/return address, and the administrator's Routes configuration; the submitted address must later produce a usable estimate
Over the Phone No office or routing setup; the client supplies a valid calling number

The update does not enable Home for an agent automatically. A saved Google key does not turn on automatic travel. The Existing meeting location and Location or meeting instructions fields describe the optional existing-location choice; typing Office, Home, Over the Phone into instructions does not configure the three choices or supply an office address.

Configure an agent's choices

  1. Sign in to the agent workspace. An administrator can select the agent they manage.
  2. Open Profile & booking page → Office & home visits. Save the public Office address, including street, city, region, postal code and country.
  3. Enable Offer Home appointments when this appointment type allows them if the agent accepts Home visits. With automatic travel off, a private starting address, Routes key and travel allowance are unnecessary.
  4. Edit the appropriate Appointment type, choose its locations, review Location readiness, and save. Different appointment types can offer different choices.
  5. The administrator can confirm Automatically reserve travel time for Home appointments is off under Settings → Home visit travel estimates. Leave it off for address entry without driving-time adjustments.
  6. Open the agent's booking link or QR destination and preview the choices. Select Home, enter the customer's full address and continue to available times.

Normal working hours, time off, appointment duration, service buffers, notice, booking limits and connected-calendar busy periods apply to every meeting mode.

Setup actions

The appointment-type editor saves your edits before opening the relevant setup screen. Save & set up Office opens the profile's Office address. Save & set up Home opens the agent's Home controls; a private origin is required only when automatic travel is on. When optional travel is on but the shared connection is missing, administrators can use Save & configure travel and agents receive an administrator-help message.

If the appointment type fails validation or cannot be saved, the editor remains open. A setup action does not invent an address or save a key. Save the destination profile or settings form, then return to the appointment type or preview the booking page.

Office: use the agent profile address

The public Office destination is resolved in this order:

  1. The agent's saved Office address.
  2. A legacy in-person appointment type's saved meeting address, only if the profile office is blank.

The booking page and saved appointment use the same resolved address. Client input cannot replace it. Phone/video instructions and the agent's private travel origin are never used as an office fallback. Public area or location in directory settings is descriptive listing information, not the Office address field.

An individual Office card shows the address before the time picker. Review and confirmation retain the meeting destination. Office reserves the duration and normal service buffers. A selected Office choice without a usable public address stays visible but cannot proceed.

For a team offering, clients see the possible public offices first and the assigned agent's exact office before confirming. Each agent can have a different office.

Home: save the customer's address

With automatic travel off, the client completes the fields below and selects See available times.

Field Required Example
Street address Yes 123 Main Street
Address 2 / Apt No Apt 4B
City Yes Plano
State Yes TX or Texas
ZIP code Yes 75074 or 75074-1234

ZIP codes are text values, preserving leading zeros. The form combines these entries into one complete address, omitting the optional second line when blank. It does not add or guess a country. On a narrow screen the fields rearrange to fit the available width.

The formatted address stays visible through time selection and review and is saved with the appointment, confirmations and calendar invitation.

The system requires an address but does not geocode it or check its driving distance while this mode is off. It adds no outbound drive, return drive or extra travel allowance to new Home appointments. The saved maximum-drive preference does not limit this address-only availability.

For example, a 1:00–2:00 PM appointment with no service buffers occupies 1:00–2:00 PM. With normal 15-minute buffers before and after, it occupies 12:45–2:15 PM. Working hours, calendar conflicts, time off, notice, daily limits and minimum gaps still apply. The selected time is the actual appointment start and is checked again at confirmation.

Agents can use Google Maps, Apple Maps or Waze direction links independently. Opening directions does not add travel time or change a reservation. The private planner does not fetch driving estimates while automatic travel is off.

Existing appointments and rescheduling

Turning travel off does not rewrite confirmed bookings. Home rescheduling keeps the original address and obeys the ordinary change cutoff and conflict rules.

Optional automatic travel

An administrator may later enable Automatically reserve travel time for Home appointments, configure the server's Routes key and complete each agent's private starting address. For new routed bookings, the client uses Check travel & available times, and verified outbound and return estimates plus allowances and normal buffers must fit around the appointment. The customer is told about the Google address request before it occurs. The stored key and preferences remain available while disabled.

Full setup, reservation examples and the existing-booking rules are in Home appointments and optional travel.

Over the Phone: ask for the calling number early

The client enters Phone number for your appointment before selecting See available times. It stays visible through time selection and carries into the final details form for review or editing. Final submission validates the number again on the server, including older service-defined telephone appointments.

Calling numbers accept 7–15 main digits, an optional leading +, spaces, parentheses, dots and hyphens. An optional 1–6-digit extension can follow x, ext, ext., extension, extension., or #. The full trimmed value can contain up to 50 characters. Examples: 555-0100, (212) 555-0100, +1 (212) 555-0100, or 212-555-0100 ext. 123. Include the area or country code the agent needs.

Text-message consent is separate. Entering a calling number does not opt the client into SMS. When SMS-Gate is enabled, the unchecked text-reminder option requires the existing SMS destination format; extensions and short local numbers do not satisfy those rules. Clients may leave texts unchecked and use ordinary calling details with email messages. Office, Home, video and custom-instruction appointments keep the phone field optional unless SMS reminders are selected. See SMS-Gate.

Individual booking flow

  1. Open the agent PURL or QR destination and choose an appointment type.
  2. Choose a ready Office, Home or Over the Phone option. Review the office, enter the Home address, or enter the calling number. Incomplete selected options are disabled as unavailable.
  3. Continue to available times and choose one in the displayed time zone. The selected meeting details remain visible.
  4. Complete contact details and intake questions, review the appointment, accept the booking privacy notice and confirm. SMS consent remains separate.
  5. Use the confirmation's calendar links or invitation to add the appointment to a client calendar. The existing workspace, calendar connections and reminders handle the agent side.

Viewing a time does not reserve it. If someone else books it first, refresh availability and choose another. Manage links allow changes within the agent's rules and keep the original location.

Team booking flow

Administrators map a public team's offering to eligible agents and appointment types with matching durations and supported locations. See Team booking.

The page shows selected location choices and disables any choice with no ready candidate. With travel off, Home candidates need Home enabled but do not need a private origin or Routes setup. Clients enter one Home address and continue to available times. Each candidate's working hours, ordinary buffers, calendar conflicts and limits are checked. Private configuration is not exposed.

Office choices list possible offices; Phone collects the calling number before times. After the client chooses a time, review shows the assigned agent, actual destination and intake questions. The client can go back before confirming. Final confirmation rechecks the reviewed assignment; the system does not silently substitute another agent.

Changing the automatic travel setting invalidates old team preparation where necessary. Clients should restart preparation if the page requests it. New bookings must follow the current server mode.

Troubleshooting

Situation What to check
Home is unavailable while automatic travel is off Enable Home in the agent profile and the relevant appointment type; for teams, confirm an eligible mapped agent offers it.
Home still says to check driving estimates Confirm the administrator switch is off, complete update finalization, and reopen the page/app so the current assets load.
Office is unavailable or has an old address Save the agent profile's Office address; review the legacy in-person fallback if the profile is blank.
A location does not appear at all Select it on the relevant appointment type and team offering.
No times appear Review working hours, time zone, notice, buffers, busy calendars, time off and booking limits. Old confirmed travel reservations still occupy their stored time.
Home still requires an origin or key Confirm automatic travel is off; those requirements apply when an administrator enables it.
A phone number is rejected Check the main digits, accepted formatting and extension; check separate SMS rules if texts are selected.
A team page asks to restart preparation Configuration or the reviewed assignment changed. Refresh the choices and select a current time.

Install the signed v1.11.0 update through System care → Update after making a current encrypted backup. See Maintenance for supported sources and Validation for the completed tests and practical limits. Test the installed booking page with addresses and accounts you control before sharing it. The update supplies the server and integrated web/mobile workspace, with no new app-store binary.

Back to guide navigation

Bulk agent import — v1.8.0

An administrator can open Agent accounts → Import agents to create many agent accounts from a CSV file. Existing accounts are skipped and remain unchanged. Imports never assign administrator or staff roles.

Prepare and review

Download the blank CSV template from the import screen. Save the completed file as UTF-8 CSV. Comma, semicolon, and tab delimiters are accepted, as are quoted fields and a UTF-8 byte order mark. Each file may contain up to 10,000 agent rows and 10 MiB; the hosting account's PHP upload limit may be smaller.

Required columns are name and email. Instead of name, provide both first_name and last_name. Common headings such as Full Name and Email Address are recognized. Optional columns are phone, company, title, timezone, purl, and website.

Choose a default time zone and optional company before previewing. A row's nonempty value overrides the matching default. timezone uses an IANA identifier such as America/Chicago; website needs a complete https:// or http:// address. The purl column contains only a personal link name, such as jane-doe, rather than a complete URL. Personal link names need 3–80 letters, numbers or hyphens and must begin and end with a letter or number.

Empty personal links are generated from the name and made unique. Existing and historical personal links cannot be reassigned. The preview shows the exact link that will be created. If someone claims it before the import runs, that row fails for review rather than receiving a different unreviewed link.

The preview separates ready, skipped and invalid rows. Existing email addresses are skipped regardless of account role or active state; repeated email addresses within a CSV are also skipped. Unsupported columns, including password or role, are ignored and their values are not retained. Fix invalid rows in the source CSV and preview a new file when necessary.

Create the accounts

Enter one shared temporary password twice. Use 12–72 UTF-8 bytes. The password is held only in the current page's memory and is never placed in a URL, download, audit entry, or browser storage. The server stores a one-way verifier while an import is unfinished. Each agent receives an independently salted password hash.

The import creates at most 25 accounts per request. Pause or leave the screen to stop further requests. An in-flight request may finish its current chunk. Reopen the import from history and enter the same temporary password to resume. If a response is lost, the screen checks the server's saved progress before allowing an explicit resume. Retrying completed work does not create duplicate accounts.

Each created account receives:

Review each agent's actual hours, services, profile, calendar connection and reminder preferences before sharing their booking page. Imports do not connect external calendars or send invitation emails, SMS messages, or passwords. Share access details separately through your approved secure process. Each agent replaces the temporary password before using private workspace features.

The report CSV includes the source row, status, name, email, personal link name, login URL, booking URL, permanent booking URL, QR URL and any error reason. Cells that could be interpreted as spreadsheet formulas are escaped.

QR downloads contain actual SVG QR images, an agents.csv index, and a short readme. Large imports are divided into ZIP parts of up to 250 QR codes. The QR images point to permanent booking links and continue to work after a personal link is renamed. Clients still cannot book an inactive or disabled booking page. All import reports and QR ZIP exports require an authenticated administrator.

Retention, backups and recovery

Unfinished previews expire after 7 days. Canceling or expiring an import discards uncreated pending rows and their staged personal information. Created accounts remain. Import history and reports are removed after 30 days by the scheduled worker; created accounts, bookings, personal links and permanent QR identities are retained.

The staging rows are encrypted using the installation's encryption key. A normal backup restore clears import staging and history so an old unfinished batch cannot be resumed accidentally. Created accounts and their first-login requirement remain in the restored account data. Protective update rollback preserves import staging and re-encrypts pending data when needed.

Version 1.8.0 is a signed, additive update for v1.7.0 / schema 6. Use System care → Update and follow its backup, preview, apply and finalization steps. Existing installations do not need a new setup key.

Back to guide navigation

Build 3 — Agent Booking NOW 1.7.0

Build 3 completes the planned three-build series with team scheduling, automatic appointment assignment, a public agent directory, permanent QR links, aggregate reports, and system monitoring. It runs inside the existing PHP installation with the same accounts, database, calendar connections, SMS-Gate settings, and integrated phone workspace. The database advances from schema 5 to schema 6.

Install the update

  1. Sign in as an administrator on the existing v1.6.0 installation. Open System care, create and download a current encrypted backup, and keep the matching recovery key separately.
  2. Under Update, upload the intact Agent-Booking-NOW-v1.7.0-Signed-Update.zip. The preview must show v1.6.0 / schema 5 → v1.7.0 / schema 6.
  3. Review the preview, supply the administrator password and recovery key, type UPDATE, and complete the update. The second, fresh request finalizes the database changes. If interrupted, reopen System care and follow its recovery action.
  4. Check the public homepage, one existing agent booking page, calendar connections, and SMS-Gate settings. Create a new backup after the update so it contains the new permanent QR identities and team records.
  5. Configure the features below. Existing agent profiles remain unlisted, the directory remains unpublished, and no teams or staff accounts are created automatically.

An existing installation does not need a new setup key. Do not upload the Standalone Installer over a working installation. It is for a new empty directory and database. Upload only a signed update ZIP to the updater; the larger Upgrade Kit is a collection of packages and instructions.

Installed version Signed update sequence
1.6.0 1.7.0
1.5.0 1.6.0 → 1.7.0
1.2.0, 1.2.1, 1.3.0, or 1.4.0 1.5.0 → 1.6.0 → 1.7.0
1.1.0 1.4.0 → 1.5.0 → 1.6.0 → 1.7.0
1.0.0 Separately supplied original 1.1.0 bridge, then 1.4.0 → 1.5.0 → 1.6.0 → 1.7.0

The Upgrade Kit includes the original, unchanged 1.4.0, 1.5.0, and 1.6.0 signed transition packages. Keep each ZIP intact and finish each step before starting the next. All packages use the existing publisher identity.

Teams and staff

Open Administration → Teams & staff. Create a team, select its agent members, and choose whether its public team page is enabled. Create staff accounts separately from booking hosts, then assign each staff account to the teams it supports.

Account Shared schedule access Appointment changes Administration
Administrator All teams, with appointment details Reschedule and cancel under the booking rules Teams, staff, offerings, website, system settings and monitoring
Agent Busy time for teams they belong to; their existing own workspace retains full detail Their own appointments through their existing workspace None
Scheduler Assigned teams, with contact and visit details needed to schedule Reschedule and cancel for current members of assigned teams None
Viewer Busy time for assigned teams None None

Staff do not get a personal booking page, calendar credentials, private CRM notes, or submitted intake answers. A scheduler can see a client's Home address to arrange the visit, but not an agent's private starting address. Viewers and other agent members see occupied periods without client identity or private external-calendar titles. Access is checked on the server, including when saving an appointment change. Changes to roles or team membership take effect on subsequent requests.

Shared schedules refresh every 30 seconds while visible and pause refresh during editing. The existing agent Inbox continues to follow the signed-in person's own notifications; this release does not duplicate every team member's messages into staff inboxes. See TEAMS.md for the full permission and scheduling behavior.

Automatic appointment assignment

  1. Create an active public team and add the participating agents.
  2. Open Administration → Team booking. Create a shared offering, select a duration and allowed locations, and map each participating agent to one active appointment type with that duration.
  3. Share the team link, such as /appointments/index.php?team=client-services. It is also discoverable in the enabled public directory.
  4. The client chooses the appointment type and Office, Home, or Over the Phone when offered. Home includes an address and per-agent driving checks before times are shown.
  5. The system combines eligible availability. When the client selects a time, it chooses an available agent using a rotating successful-booking cursor. The client reviews that agent, the location, and the agent's intake questions before confirming.

The final booking uses the normal calendar, conflict, working-hours, daily-limit, spacing, travel, intake, reminder, and client-management controls. An unavailable or reconfigured selection is rejected with a request to choose again; the system does not silently substitute a different agent after review. Selecting a time is not a reservation. Separate simultaneous reviews can temporarily choose the same agent, so rotation is best effort rather than a guarantee of equal workload. Each offering supports up to eight participating agents. See TEAM-BOOKING.md for setup and limits.

The main public website continues to open at /appointments/index.php, with Log in at the top. Administration → Website edits the page title, heading, introduction, public email/phone, and directory heading/introduction. Text is rendered safely; arbitrary HTML is not accepted as page markup.

To publish the directory, enable it in Website. Each host then opts in under Booking page → Public directory & permanent link, adding an optional public area and specialties. Clients can search and filter by public team. Inactive hosts, disabled booking pages, and hosts who have not opted in do not appear.

Each existing and new host receives a random permanent link. New QR downloads encode that link, which resolves the current friendly PURL each time. Old friendly PURLs recorded by this release remain aliases and cannot be transferred to another agent. Keep the installation at the same base URL, or preserve redirects when moving your domain/folder. A database backup taken before Build 3 does not contain identities created after it. Restoring such an older backup issues replacement permanent codes and records the restored current PURLs; previously printed permanent codes cannot be recovered from that backup. See DIRECTORY-WEBSITE.md for details.

Reports

Open Reports for your own agent activity or an authorized team. Administrators can also choose all agents. Reports include appointment counts, upcoming visits, cancellations, completed/no-show progress, attendance confirmation, appointment minutes, reserved Home travel, daily/weekly counts, and service/location breakdowns. Each rate displays its numerator, denominator, and definition. Dates use each agent's local time; team reports use the current roster. CSV exports contain aggregate counts and labels, without client contact details or private notes.

Reports are operational summaries. A progress marker is entered by the agent; it is not independently verified attendance or billing. A date range may span up to 366 days. All-agent reporting is limited to 200 hosts per request; larger installations should use team scopes. See REPORTS-MONITORING.md.

System monitoring and recovery

Administrators can open System monitor to review the scheduled worker, calendar errors, notification queue health, backup schedule, latest backup success/failure, missing backup files, and protected-storage checks. Actions point to the corresponding existing settings or System care screen. Monitoring is read-only: it does not send new alerts, run backups, or contact providers merely because someone views it.

The monitor distinguishes a backup retained on the server from an independently verified off-server copy. Download and retain copies outside the hosting account as part of your routine. Restore and update controls remain in System care and retain their preflight, password, confirmation, protective snapshot, and recovery steps.

Build 3 backups include teams, memberships, staff assignments, shared offerings, successful assignment history, directory opt-ins, permanent codes, and historical PURL aliases. Normal restore discards temporary team booking selections; clients choose a fresh time after restoration. Protective rollback restores the earlier state and re-encrypts retained secret payloads when needed. Existing normal-restore protections for sessions, delivery jobs, waitlist invitations, provider readiness, and paused operations remain in effect.

Phone workspace and existing integrations

Agents retain Home · Schedule · Inbox · Profile · More in the integrated phone workspace. Staff receive Schedule · Reports · Inbox · Profile · More, with only their authorized tools. New administration and reporting tools are available through More. This release supplies the installable main-system PWA and server files; it does not supply a newly compiled APK, AAB, or IPA.

Texting continues through SMS-Gate. The update retains its settings, agent preferences, consent, opt-outs, and queue behavior. Google Calendar, iCloud, Yahoo, email, Web Push, Office/Home/Phone appointments, route directions, and client add-to-calendar links remain part of the main system. Live provider behavior and physical-device notification delivery must be checked with the configured accounts on the installed system.

Back to guide navigation

Teams, staff access, and shared scheduling

Build 3 adds team administration and shared scheduling to the existing installation. Staff use the same sign-in screen, account controls, and mobile application shell as agents. They do not need a separate application or database.

Configure a team

An administrator opens Teams & staff, creates a team, and selects existing agent accounts. An agent can belong to several teams. Team members remain ordinary booking hosts with their existing appointment types, hours, personal links, calendar connections, and reminders.

The team booking link name must contain 3–80 letters, numbers, or hyphens and start and end with a letter or number. Public booking starts disabled. Turning it on publishes a team only after the administrator configures its appointment offerings in Team booking. Team publication and an agent's public directory listing are separate choices.

Inactive or booking-paused agents can remain on the roster for history. They cannot receive new automatic team assignments. To remove delegated access to an agent's appointments, remove that agent from the team. This does not delete or rewrite their appointments, clients, notes, calendar credentials, or previous automatic-assignment records.

Deactivate a team to hide it from assigned staff and agents and stop public team booking. Administrators can still inspect the inactive team, but it must be active before its appointments can be changed through the shared workspace.

Create staff accounts

Under Staff accounts, the administrator enters a name, email address, password, time zone, role, and assigned teams. New staff accounts have booking disabled and receive no appointment types, booking hours, personal booking page, or agent QR code. Existing agent or administrator accounts cannot be converted to staff through this editor.

Saving a staff account does not send an invitation. Share the installation's sign-in URL and initial sign-in instructions with that person separately. Staff can update their own name, email, and password through the existing account controls. Their role, active status, and team assignments remain administrator settings.

Account Shared schedule Appointment details Cancel / reschedule Teams and staff settings
Administrator All teams Active teams Active teams Yes
Scheduler Assigned active teams Client contact and meeting details within assigned teams Within assigned teams No
Schedule viewer Assigned active teams, busy times only No No No
Agent Active teams they belong to, busy times only Own appointments remain in the ordinary agent workspace Own appointments remain in the ordinary agent workspace No

The shared module never returns private CRM notes, intake answers, follow-up tasks, private agent travel origins, provider credentials, client management links, or calendar-download capabilities. Schedulers receive the booking's original client name, contact details, meeting location, and home-visit address so they can arrange an appointment. Editing a client contact record later does not rewrite the booking's identity snapshot.

Access is checked inside the module on every request, in addition to API routing and CSRF protection. Deactivating staff, changing their role, removing team access, or removing an agent from a roster takes effect on subsequent requests. Password replacement invalidates existing sessions through the existing session stamp. A scheduler change also rechecks current authority inside the booking transaction, after calendar refreshes finish, so revocation during a slow provider response cannot authorize a new write.

Use the shared schedule

Choose a team, a date range of up to 31 days, and confirmed, cancelled, or all appointments. Times use the viewer's selected time zone. Each appointment shows the meeting interval and the full reserved interval when preparation, wrap-up, or travel extends it. Home visits include outbound driving time, the appointment, return driving time, and configured padding in both directions.

Time off and outside-calendar busy periods also appear with generic labels. Connected-calendar busy periods reflect the latest completed synchronization; simply opening this screen does not call every provider. The shared screen refreshes every 30 seconds while it is visible and idle. It pauses polling while a form is focused or edited, while appointment details are open, or while the app is in the background. Leaving the screen removes its timer and listeners. Refresh and team-selection requests capture their team, and older responses cannot replace a later selection.

The range is limited to 1,000 appointments and 1,000 periods of each busy source. If a large roster exceeds these limits, choose fewer days. The shared screen uses the current roster, including inactive hosts retained on it; it is not a historical report of former team membership.

Schedulers and administrators can open an appointment, choose Reschedule, pick a date, review the available times, and explicitly confirm the new time. The existing booking engine checks availability, travel, connected calendars, appointment revision, and scheduling rules again at confirmation. The original agent, appointment type, and location stay fixed. Home visits obtain a new encrypted driving quote for the address already saved with the booking; the staff request cannot replace that address or the agent's private origin.

Cancellation also checks the appointment revision. If another person or connected calendar has changed an appointment, the scheduler must refresh before changing it. Existing configured change notifications and calendar synchronization run through the same booking hooks as ordinary appointment changes. The shared schedule does not copy agents' personal notifications into a staff member's Inbox.

Integration contract

The main API is responsible for sign-in and CSRF checks. Module methods independently enforce their role, team, record, and recovery-pause checks.

API action HTTP method Module call Inputs
teams GET Teams::listing() None
team_admin GET Teams::adminData() None; administrator only
team_schedule GET Teams::schedule($input) team_id, from, to, timezone, status
team_booking GET Teams::bookingDetail($input) team_id, id
team_save POST Teams::saveTeam($input) id, expected_version, name, slug, description, active, public_enabled, member_ids
staff_save POST Teams::saveStaff($input) id, expected_version, name, email, password, role, timezone, active, team_ids
team_cancel POST Teams::cancel($input) team_id, id, expected_revision
team_reschedule_options POST Teams::rescheduleOptions($input) team_id, id, expected_revision, from, to, date, timezone, optional travel_token
team_reschedule POST Teams::reschedule($input) team_id, id, expected_revision, start_utc, optional travel_token

New team/staff records use id=0; existing records require their last observed expected_version. Empty passwords on staff edits retain the current password. Existing appointment changes require expected_revision. Dates use YYYY-MM-DD; appointment starts use an ISO timestamp with an explicit UTC offset, as returned by the booking engine. Array ID lists are bounded at 100 and normalized to unique sorted integer IDs. No endpoint performs hard deletion.

Shared internal helpers are Teams::requireAccess($teamId, $write=false), Teams::memberAgents($teamId, $includeInactive=false), Teams::bookingMembers($teamId), and Teams::publicTeam($slug). The first two enforce the current signed-in user's scope. bookingMembers returns only active, booking-enabled agent/admin IDs for an active team. publicTeam requires active, explicitly public teams and returns only minimal team branding, version, and eligible member IDs.

ABNTeams.mount(host, {api, h, current, mode, timezone, actor, hideHeader}) mounts the integrated browser workspace. mode is schedule or admin; current is the parent route-validity callback. Set hideHeader when the parent shell already supplies the page heading. It returns destroy(), which the parent calls when changing routes. The API adapter accepts api(action, body, query).

Storage, updates, and locking

The additive schema creates teams, team_members, staff_accounts, and staff_teams. Team slugs are unique. Membership and staff assignment tables use composite primary keys and foreign keys; staff versions are separate from ordinary users. Schema creation is repeatable in SQLite and MySQL/MariaDB. These records belong in normal backups and rollback snapshots alongside the existing users and appointments. Team offering, selection, and attribution tables are owned by the automatic assignment module.

For MySQL, delegated booking writes lock the sorted set containing the selected agent and acting staff/admin user before locking the team and delegated membership. Roster updates lock the sorted union of old and proposed agent IDs before the team row. This also accounts for InnoDB's implicit locks on referenced users during foreign-key checks, including the case where an administrator is also a booking host in the team. Team offering and selection locks follow team locks. Network calls happen outside booking transactions.

Teams::hold($teamId, $callback) is a standalone configuration transaction and supplies the current locked team row. It must not be nested inside Booking::holdAgent on SQLite, which manages its own immediate transaction. Delegated booking guards use direct row reads/locks within the existing booking transaction instead. Optimistic versions reject concurrent stale configuration saves.

Verification

Run php tests/teams.php and node tests/teams_ui.cjs. The PHP suite exercises cross-team isolation, role and account changes, roster versions, original booking identity, busy-only projections, real booking reschedule/cancel hooks, Home travel quotes, and permission revocation injected during provider refresh. The browser-module suite exercises scoped requests, stale response rejection, escaping, versioned mutation payloads, draft retention, explicit confirmation, and timer/listener cleanup. Provider and driving calls are mocked; no real calendar, SMS, email, or push request is sent by these tests.

Back to guide navigation

Team booking and automatic assignment

Introduced in v1.7.0; location entry was updated in v1.8.1 and selected-versus-ready choices in v1.8.2. In v1.8.3, automatic Home travel estimates are off by default. A Home booking collects the client's address and uses the appointment duration and normal service buffers. In v1.8.4, address entry has Street address, optional Address 2 / Apt, City, State and ZIP code, matching the individual agent page. The same formatted address carries through preparation, assigned-agent review and the saved appointment. See Booking locations for the shared Office/Home/Phone setup, readiness actions and calling-number rules.

Team booking gives a group of agents one public booking link in the main installation. A client chooses an appointment type, a meeting location and an available time. The system selects an eligible agent, shows that agent's profile and exact meeting location, and asks the client to review the assignment before confirming. The resulting appointment belongs to that agent's existing calendar, client records, notification settings and mobile workspace.

Individual agent PURLs continue to book the specified agent. Team assignment applies to the separate team link, such as /appointments/index.php?team=advisors, using the same accounts and database.

Set up a bookable team

  1. Sign in as an administrator and open Teams. Create a team, add the existing agents who will accept appointments, and choose its public link name. Enable the team and its public booking page when ready.
  2. In the team appointment configuration, choose the team and select Add team appointment type. Enter its public name, description, duration and permitted meeting locations.
  3. For each participating agent, choose one of that agent's existing appointment types. The duration must match the team appointment's duration. A team appointment can include one to eight agents. A team can have up to 20 team appointment types.
  4. Confirm each agent has working hours, an active appointment type, booking enabled and the required calendar connections. Review Location readiness in each mapped agent appointment type. Office needs a real public address in that agent's profile. Home must be selected on the team offering and mapped appointment type, and enabled in that agent's profile. With automatic travel off, Home needs neither a private starting address nor a Routes API key.
  5. Select Offer this appointment on the public team page, save it, and open the team booking page to check the published choices.

New team appointment types start unpublished. Administrators manage the mappings; scheduler and viewer staff permissions do not grant permission to change automatic assignment configuration. A saved configuration has a revision number, so an outdated administrator form cannot silently overwrite a newer edit.

Each mapping uses the agent's own appointment type. It preserves that type's buffers, intake questions and location settings. Different service names are allowed, while a common duration keeps pooled time choices unambiguous. A mapping does not copy or replace the agent's service.

If an agent leaves the team, pauses booking, becomes inactive, changes roles, pauses the mapped service or changes its duration, that agent is excluded from eligible candidates. Review the team configuration after these changes. An invalid outstanding selection requires the client to choose again.

What a client sees

The client first chooses a team appointment type. The page displays the offering's selected meeting locations and labels a choice Temporarily unavailable when no eligible member has the required configuration. Such a choice is disabled; it cannot prepare times or create a booking. An offering with eligible mapped members can remain visible even when none of its selected locations is ready, so the client sees the unavailable state.

For a ready choice, the flow is:

Meeting location Before showing times Before confirming
Over the Phone The client enters the required calling number. The system considers members whose mapped service supports telephone appointments. The assigned agent is named and the number carries into the editable final form.
Office The page lists the distinct public offices of eligible mapped agents and explains when the assigned office can vary. The selected agent's actual office address is shown. A team does not imply a shared office.
Home The client enters a complete address and chooses See available times. With automatic travel off, eligible members use their ordinary appointment duration and buffers. The assigned agent, client address and appointment time are shown. No driving time is added to this new booking.

The date and timezone controls show the combined available times. Each time indicates how many agents are currently available for it. Calendar details and other clients' appointments are never included in that response.

Checking Office or Home on the team offering does not supply the mapped agent's address or enable their Home profile. The individual appointment-type editor shows the exact missing setup and provides save-first navigation to the existing settings. Office uses a real public address; a list of location names in meeting instructions is not a replacement. The v1.8.3 update preserves each agent's Home opt-in and every selected location. A private starting address and verified outbound/return routes become Home requirements only if the administrator explicitly enables automatic travel later. Public unavailability messages do not disclose private settings.

After a time is selected, the review shows the assigned agent's photo with the agent's saved crop, name, company, title, biography and public contact information. It also shows the appointment time, meeting details and cancellation window. The agent's own service intake form appears at this stage, including required and conditional questions.

The client explicitly agrees to share contact details and answers with the named agent. Optional SMS consent appears only when SMS-Gate is configured and enabled, and starts unchecked. A telephone appointment requires a calling number before times and again at confirmation, even if the client declines appointment text messages. Familiar calling formats and extensions are accepted within the booking-number rules. SMS opt-in applies the existing, separate SMS-destination requirements. The early number stays in the current page until the final booking request; availability and preparation requests do not include it.

The confirmation uses the same appointment confirmation as an individual booking. It includes the existing management link, calendar invitation/download links and client portal link. Email confirmations and reminders go through the current notification worker. SMS continues to use the existing SMS-Gate settings and opt-out rules. The assigned agent's mobile notification events are created through the existing booking pipeline.

How assignment works

Each team appointment type keeps the last agent who successfully received a team booking. Among agents available for the chosen time, the next eligible agent in the rotation is selected, wrapping to the beginning when necessary. The rotation uses stable agent IDs; editing an agent's displayed name does not rearrange the rotation.

The rotation advances only when an appointment is successfully saved. Opening the team page, viewing times, selecting a time or abandoning a review does not consume a turn. Failed validation, unavailable calendars and failed final scheduling checks do not advance it either. Cancellation does not rewind a previously completed turn.

This is an availability-based, best-effort round robin. It is not weighted assignment, a promise of equal daily booking counts, or a reservation of capacity while a client fills out a form. If several clients review appointments at the same time, they can initially see the same assigned agent. Final confirmation checks that agent's availability again under the same scheduling lock used by ordinary bookings. If the reviewed slot has become unavailable, the client must choose and review again. The system never silently changes the reviewed agent on final submission.

A new selection can choose a different available agent. The client can return to the time choices before confirming. There is no automatic transfer of an already booked appointment to another team member in this release.

Availability and Home travel

Every candidate goes through the existing scheduling engine. That includes agent working hours and date exceptions, existing bookings, time-away blocks, outside calendar busy events, minimum notice, booking horizon, service buffers, daily appointment limits, daily Home limits and the required clear gap between reserved appointments.

A connected calendar that cannot be verified excludes its agent from the available pool. Other verified agents can still be offered. If no agent can be verified, the team page offers no verified times. Final submission refreshes the selected agent's outside calendars and refuses the booking if they cannot be checked.

With automatic travel off, preparing Home times saves the complete client address without contacting Google Routes. A 60-minute Home appointment occupies 60 minutes plus that mapped service's normal buffers and applicable booking rules. The address is not geocoded or verified as a driving route. The assigned-agent review keeps the destination visible and does not claim that travel was calculated or reserved. Authenticated agent views retain Google Maps, Apple Maps and Waze links for manual directions.

Previously confirmed Home appointments keep any travel time already reserved, including while rescheduling with automatic travel off. They continue to block that saved interval for other bookings. A new address-only Home booking remains address-only if automatic travel is enabled later; changing the setting does not retroactively add a route or change a confirmed appointment.

Explicitly enabling automatic travel later

An administrator can enable Automatically reserve travel time for Home appointments in Settings after configuring Google Routes and the participating agents' private starting addresses and travel settings. Saving a key alone does not enable automatic travel. Agents must still opt into Home visits, and both the team and mapped appointment types must offer Home.

When enabled, each candidate's route estimate is bound to that agent, mapped service, client address, travel origin and travel settings. The private starting address is held in encrypted server capabilities and stored booking data; it is not returned in the public team profile, time results or review response. The client then checks travel before seeing available times, and the review explains the separate travel reservation.

For example, with automatic travel enabled, a 60-minute Home appointment with a 45-minute outward drive and a 45-minute return drive occupies 150 minutes before additional service buffers, travel padding or clear gap. Both legs are checked separately. Estimates do not promise live traffic or an optimized multi-client route.

The eight-member limit bounds an enabled Home preparation request to at most 16 route requests: outward and return for each participating eligible agent. Preparing another address or refreshing expired choices may request new estimates and incur the routing provider's normal usage. Failed routes exclude the affected candidates; missing or unverifiable travel is never replaced with zero minutes. With automatic travel off, this preparation makes no routing requests.

Expiry, retries and changing configuration

Prepared choices last 20 minutes. A reviewed agent selection lasts at most 10 minutes, and can expire sooner if the prepared choices are close to expiry. The review shows its expiration time. Neither capability holds a slot. The final booking must still fit the current schedule.

The server binds a selection to the team, team configuration revision, appointment type revision, eligible mapping configuration, assigned agent, agent service, exact start time and meeting location. Changes to the team, offering, participating roster or relevant agent/service configuration invalidate uncompleted selections. Current scheduling rules and intake form revisions are also checked by the booking engine at submission. Clients cannot replace the assigned agent, service, time, location or Home address with editable request fields.

The browser keeps one request key while retrying the same confirmation. A committed retry returns the same appointment and does not create another appointment, assignment, queue entry or rotation turn. A request key cannot be reused for different appointment details or another selection. The server verifies this even when another request commits between the initial check and the final scheduling lock. Once a selection has been consumed, a new appointment requires a new selection.

Pausing the public team or appointment type prevents new bookings. An exact retry of an already completed request can still retrieve its original confirmation; it does not create another booking. A system-wide recovery pause blocks public operations until the administrator completes restore review.

Backup, update and recovery

The new records are part of the normal encrypted system backup:

Records Purpose Normal backup restore
team_offerings Appointment configuration and last successful rotation member Retained
team_offering_services Agent/service mappings for each appointment type Retained
team_booking_assignments Durable association between a booking, team, appointment type and assigned agent Retained
team_booking_selections Short-lived reviewed booking capabilities and retry fingerprints Discarded

Teams, membership and staff permissions are covered by the Teams module. Durable assignment records do not depend on a selection row, so removing temporary selections during normal restore preserves appointment history. Clients with an unfinished page must start again after restore. Existing confirmed bookings keep their ordinary management and calendar links according to the system's established restore behavior.

Automatic protective rollback restores the matching snapshot state; encrypted selection payloads are rekeyed when required. Use System care for updates and recovery, and follow the main maintenance guide. Do not manually delete table rows or change configuration keys to bypass a failed update or recovery pause.

Integration and validation notes

The team page uses index.php?team=SLUG and the existing API/CSRF layer. Public context, route and selection capabilities are sent in POST bodies. They are not placed in query strings or links.

API action Purpose
team_public_profile Read the public team and available appointment types
team_booking_prepare Bind a meeting location and prepare eligible candidates; obtain Home routes only when automatic travel is enabled
team_booking_slots Return the union of verified available times for a date and timezone
team_booking_select Choose an agent and return its explicit profile/intake review
team_book Confirm the reviewed selection through the existing booking engine
team_offerings Administrator view of one team's appointment mappings
team_offering_save Save an administrator mapping with its expected revision

The final booking acquires the agent scheduling lock, then the team, offering and selection rows. Configuration mutations acquire relevant agent rows in numeric order before the team. This also accounts for parent row locks acquired by InnoDB foreign keys. Provider and route requests run outside those database locks. Assignment stamping, selection consumption, rotation advancement and notification queue creation commit with the appointment; failure rolls them back together.

tests/team_booking.php exercises the actual schema, booking transactions, intake, travel verification, scheduling rules and notification queues with offline provider fixtures. It includes stale-review conflicts, configuration changes between refresh and final locking, exact retry fingerprints, Home travel with different candidate durations and unavailable calendars. tests/team_booking_ui.cjs checks public/admin API contracts, optional consent, safe profile output, stale-response protection, context expiry recovery and retry keys. Its address-only cases check the complete-address requirement, available-times wording, retained address through review, and confirmation without fabricated travel data. These focused fixtures do not establish live Google/CalDAV, real SMS delivery or device push behavior. Release-wide validation records the additional database, upgrade and browser checks completed for the packaged build.

Optional Medicare Review information

Version 1.10.0 adds dedicated optional medication and provider lists, separate from the custom intake form builder. Clients complete them during booking only when the appointment type enables Medicare review details; a team review enables them when its offering or assigned agent's service does. Every field is optional. The assigned agent or an administrator opens the saved appointment to read the encrypted snapshot. The lists are excluded from client portal pages, shared staff schedules, external calendars and reminders. See Medicare Review information.

Version 1.11.0 adds up to three optional medication-list photos inside the same collapsed review section. Clients may submit photos without typing the list. Authorized appointment details provide a larger photo view; backup/restore includes the encrypted images. The same public, staff, calendar and reminder exclusions apply.

Back to guide navigation

Public directory, website, and permanent links — 1.7.0

Website editor

An administrator opens Website from the main navigation or phone More menu. Edit the title, main heading, introduction, public email/phone, and directory text. Heading line breaks control its presentation. Saving uses a version check: an older open form cannot overwrite a newer administrator save. Reload after a conflict and reapply the intended changes.

The public homepage remains the main index.php. Its top Log in button opens the existing system. Enabling the directory adds Find an agent to the main navigation and a booking action in the hero. Contact details appear in the footer. The existing logo, icon, calendar explanations, feature sections, and integrated phone workspace remain included. The editor accepts text, not executable HTML or scripts.

Publish agents deliberately

Enable Public agent directory under Website. This alone publishes no agent profiles. Each host, or an administrator viewing that host, must enable Include my profile in the public agent directory under Booking page. Add a public location label and specialties if useful. These are display/search fields and do not change the private travel origin, office address, calendar settings, or geographic eligibility.

The directory is index.php?directory=1. It lists active booking hosts who have opted in. Search matches name, company, professional title, location label, and specialties; literal % and _ characters do not become search wildcards. Results are paginated at 20 agents. Public team filters use current membership. Only active public teams appear, with a link to their shared booking page.

Cards show the host's public photo crop, name, title, company, public area, specialties, biography excerpt, time zone, and a link to their full booking page. Public API responses include the public contact information already available on the agent's booking page. They omit passwords, calendar credentials, private CRM/intake information, and private starting addresses. The directory supports navigation and search without JavaScript; booking still requires JavaScript.

Directory publication and accepting bookings are separate settings. Removing a directory opt-in hides discovery while leaving the host's direct booking link available. Disabling booking or deactivating the host makes both the directory entry and public booking resolution unavailable. Staff accounts are never booking hosts.

Permanent QR destinations

Build 3 creates one random public code for every existing administrator/agent and for each newly created host. The permanent link has the form index.php?agent_link=…. It is public, not an account authentication credential. The downloaded SVG QR contains that destination. Each visit resolves to the host's current friendly booking page with a non-cached redirect.

Copy booking link on the profile and QR dialog now copies the permanent URL. Preview page continues to open the readable current PURL. The printed QR does not change when the agent edits the personal-link name. The system preserves the original name present at the Build 3 migration and every subsequent recorded name as an alias. Another host cannot claim those aliases.

PURLs changed before this update cannot be recovered automatically if the old values were not stored. Existing QR codes that contain the friendly PURL active at the time of the update continue to resolve through the recorded alias. Disabled hosts can inspect their own QR in the authorized workspace, but its public destination will remain unavailable until bookings are enabled again.

Keep the installation base URL stable. Changing the domain or /appointments folder requires redirects at the old web address to preserve old printed URLs. Back up after installing Build 3: a pre-update backup cannot contain permanent codes or aliases created later. Normal backups and restores retain the identities that exist in the selected backup. Restoring a pre-Build-3 backup into this release creates replacement permanent codes and records the restored current PURLs; it cannot recover permanent codes or historical names absent from that backup. The restore preview explains this before applying the replacement.

Server operations

The migration adds agent_public_links, agent_slug_aliases, and agent_directory_profiles; editable website content lives in the existing settings table. Registration and profile writes lock the host and retain previous aliases transactionally. Repeated migration does not rotate existing codes. Directory preference and website saves use version checks. New routes reuse the existing index.php, api.php, and qr.php entrypoints so the previous signed updater can install them.

No new public account registration or credential setup is introduced. Only existing administrators create hosts, teams, or staff. All text output is escaped; directory enablement, active/booking status, and explicit public team visibility are enforced server-side.

Back to guide navigation

Appointment reports and system monitoring

Build 3 adds two pages inside the existing Agent Booking NOW installation. Reports summarize appointments for an authorized agent or team. System monitor gives administrators a read-only checklist for the worker, calendar snapshots, delivery queues, protected storage, and backups.

These pages do not need another database, application account, or scheduled task. They use the same users, teams, booking records, and maintenance data as the main system. They create no tables and send no messages.

Reports

Open Reports, choose the scope and an inclusive date range, and select Show report. The default is the last 30 local calendar dates. A request may cover 1–366 dates. Use Download CSV to export the currently displayed scope and dates.

Access

Account Allowed report scopes
Agent The agent's own appointments and aggregate reports for teams of which the agent is currently a member
Scheduler Explicitly selected assigned teams
Viewer Explicitly selected assigned teams; aggregate reports only
Administrator A selected agent, a selected team, or all booking hosts

Staff do not inherit access to arbitrary agent reports. The server reads current roles and team membership for every report and export. Revoking membership or disabling an account takes effect on the next request. The options endpoint only lists choices the signed-in account may use.

Team reports count the current roster, including inactive hosts that remain members. They include each current member's appointments in the selected range regardless of how those appointments were booked. Removing a member removes that member's appointments from subsequent current-roster reports. This is not historical reporting by the team that originally assigned an appointment. The page states this distinction beside team results.

An all-agent or team report is limited to 200 hosts. Larger installations should choose a smaller team or one agent. Scheduler and viewer accounts are never counted as booking hosts.

Dates and totals

An appointment belongs to the date on which it starts in its agent's time zone. Each date begins at that agent's local midnight and ends at the next local midnight. This includes 23-hour and 25-hour daylight-saving dates. A visit crossing midnight is counted once on its start date, with its full saved duration.

Team and installation-wide results combine agents' local dates. For example, a late evening visit may belong to the same report date for one host and the following date for a host in another time zone. The report labels this basis; it is not a single UTC reporting window.

Reports use the saved start and end times, current booking status, current service name, current agent time zone, and current team membership. They do not reconstruct status or roster changes as they existed on an earlier day. Renaming a service changes its displayed report label. Cancelling a visit changes the current cancellation total for its start date.

Metric Meaning
Appointments All appointments starting on a selected local date, including cancelled appointments
Confirmed / not cancelled Appointments with confirmed booking status; completed and no-show visits retain this booking status
Upcoming Confirmed appointments whose start instant is still ahead
Started confirmed Confirmed appointments whose start instant has passed; this can include a visit currently in progress
Completed Started confirmed appointments marked completed
No-show Started confirmed appointments marked no-show
Attendance confirmed Confirmed appointments with a client's attendance confirmation for the current booking revision; confirmation for a previous time does not count
Appointment minutes Saved end minus start, for confirmed appointments; cancelled appointments contribute zero
Reserved travel minutes Home outbound drive plus return drive plus travel allowance for each leg, for confirmed appointments; cancelled appointments contribute zero

Reserved travel excludes service buffers. These are planned reserved minutes, not measured driving time. A Home visit with 45 minutes each way and a 10-minute allowance on each leg contributes 110 travel minutes, in addition to its appointment duration.

Rate denominators

Each rate displays its numerator, denominator, percentage, and definition. A zero denominator displays an em dash and is returned as null, rather than a misleading percentage.

Rate Calculation
Cancellation Cancelled ÷ all appointments in the range
Completion Completed ÷ started confirmed appointments
No-show No-show ÷ started confirmed appointments
Attendance confirmation Current-revision attendance confirmed ÷ confirmed appointments

Future appointments do not enter the completion or no-show denominator. Visits with a start time that has passed but no recorded progress do enter it. Attendance confirmation is the client's acknowledgment of the current appointment; it is separate from a staff-recorded completed visit.

Daily trends contain zero-count dates. Ranges longer than 45 dates display Monday-based weekly trends; the first and last weeks only contain dates selected in the report. Exact chart counts are also available in an accessible table. Location and service breakdowns include cancellations and display cancellation counts separately.

CSV and privacy

The CSV contains one row for each agent/local-date combination with appointments. Zero-count dates are omitted from the CSV. It includes the agent's name, ID, time zone, and aggregate count/minute fields. Each export is recalculated and reauthorized at download time, so bookings that changed after the page was displayed can change the downloaded totals.

The CSV has a UTF-8 marker. Text that could start a spreadsheet formula is neutralized with an initial apostrophe, including formula prefixes after whitespace or a byte-order mark. Embedded line breaks, tabs, and NUL bytes in text labels become spaces. Numeric counts remain numbers.

Reports and CSV do not select or export client names, email addresses, phone numbers, home addresses, intake answers, private CRM notes, private tasks, booking management tokens, or agent origin addresses. Agent and service labels remain available for comparing aggregates.

Administrator system monitor

Open System monitor to see the current checklist. The page refreshes every 30 seconds while visible and has a manual Refresh button. Navigating away stops its timer. Checks link to the relevant existing settings, health, notification, waitlist, or System care page.

Only an active administrator can call this endpoint, including direct API requests. The response contains summarized facts and counts. It omits credentials, raw provider errors, message bodies, recipient contact details, and filesystem paths.

Checks and thresholds

Check What requires attention
Scheduled worker No recorded successful run, a recorded failure, or last success more than five minutes ago
Calendar synchronization Active connection without a selected calendar, recorded error, non-connected status, or no successful refresh within five minutes
Email / SMS-Gate / push / waitlist queues Enabled channel with incomplete configuration, due messages waiting more than 15 minutes, exhausted/terminal failures, uncertain gateway results, or a send locked more than 15 minutes
SMS-Gate callbacks SMS enabled without registered delivery/opt-out callbacks
Scheduled backups Incomplete schedule or recovery-key setup, recorded scheduled-backup failure, or latest scheduled UTC slot overdue by at least 15 minutes
Backup files No downloadable local backup, missing file behind a valid index, unreadable/unsafe metadata or backup, or inspection limit reached
Protected storage Private storage missing, inside the application/public document root, not writable, or less than 100 MB or 2% free volume space
Public address Configured address does not use HTTPS; certificate validity is not tested
Recovery state Background operations paused while a restored installation awaits review

Disabled optional channels are labelled Disabled. Retained queue items in those channels do not produce a false enabled-channel warning. When recovery is paused, enabled delivery and worker checks are labelled Paused.

Waiting counts include future reminders and eligible retries. Appointment email treats failed attempts below eight as eligible retries; waitlist email uses five. SMS-Gate and push use their explicit queue states. Counts describe the present queue, not delivery percentages. Gateway acceptance is not proof of phone delivery.

Calendar freshness is a check of saved snapshots. It does not contact Google, iCloud, or Yahoo during the monitor request and does not prove that the remote account is presently reachable. The page lists up to 100 connection exceptions while retaining the total issue count.

Backup presence, schedules, and off-server copies

Scheduled backup dates are evaluated in UTC, matching the existing maintenance scheduler's daily/weekly setting. The last scheduled success is separate from the latest available local backup. Deleting a backup file can leave a success timestamp behind; the monitor still flags the missing file.

The file check reads existing metadata without creating directories or running maintenance cleanup. It rejects symlinked indexes and files, malformed metadata, and indexes larger than 16 KB. It inspects up to 5,000 indexes and shows the ten newest available files. File presence is not decryption, validation of backup contents, or a completed restore test.

Off-server copy is always shown as unverified. A backup existing on this server, or having been downloaded through the application, does not prove that a separate copy exists elsewhere. Keep the downloaded backup and recovery key away from the hosting account and use the existing restore preview/review workflow when testing recovery.

The monitor displays recent relevant maintenance activity using event labels and timestamps. It does not include audit detail payloads. There is no new acknowledgment table: resolve a condition in the linked page, then refresh to see its current state.

No automatic alerts or repairs

Opening the monitor does not retry a message, send email or texts, send push, trigger a backup, invoke a calendar sync, change settings, or resume recovery. It sends no administrator alerts. Existing configured workers continue operating according to their saved settings. A future optional alert feature would need explicit channel configuration and recipient consent.

Integration and verification

Authenticated read actions:

Action PHP method
report_options Reports::options()
reports Reports::summary($input)
reports_csv Reports::csv($input)
system_monitor SystemMonitor::status()

Report input accepts scope (agent, team, all), the relevant agent_id or team_id, and from / to in YYYY-MM-DD. The optional service_id filter is accepted only for an owned service in a single-agent scope. CSV is returned as authenticated JSON with filename, content_type, and content; the browser creates a local download Blob.

The integrated UI mounts ABNReports and ABNSystemMonitor with the normal API client, helpers, actor, and current-route guard. It must not force an agent ID onto team/all requests. Both return a destroy() function for route cleanup.

Run php tests/reports.php and php tests/system_monitor.php in the isolated test runtime. They use temporary private directories and in-memory SQLite. The suites exercise actor/team boundaries, membership revocation, local dates and DST, precise rate denominators, safe CSV, data minimization, queue aging/retries, calendar state, backup scheduling and missing/linked files, read-only behavior, and administrator-only access. These tests require no live calendar, SMS, email, push, or backup operation.

Back to guide navigation

Build 2 — Agent Booking NOW 1.6.0

Build 2 adds clients and smarter scheduling to your existing appointment system. It uses the same main /appointments installation, administrator and agent accounts, calendars, booking links, QR codes, notification settings, and SMS-Gate connection. The main website still opens at /appointments/index.php with its top Log in button.

On a phone, the five bottom navigation items remain Home · Schedule · Inbox · Profile · More. Open the new agent tools from More. This release updates the integrated installable web app and PHP system; it does not provide a new APK, AAB, or IPA or create a separate mobile database.

Install the update

For an existing v1.5.0 installation:

  1. Sign in as an administrator and open System care.
  2. Create and download a current encrypted backup. Keep its recovery key separately.
  3. Upload the intact Agent-Booking-NOW-v1.6.0-Signed-Update.zip under Update.
  4. Review the v1.5.0 / schema 4 → v1.6.0 / schema 5 preview. Enter the requested administrator password and recovery key, type UPDATE, and allow the application to complete fresh-request finalization.
  5. Finish active edits in other windows, then close and reopen the workspace or home-screen app to load the new interface.

No new setup key is needed for an update. The standalone installer is for a new empty folder and database. Do not extract it over a running system.

The v1.6.0 signed update directly accepts only v1.5.0. The Upgrade Kit includes the unchanged original v1.4.0 and v1.5.0 signed releases. Earlier routes are:

Current version Stages before completing Build 2
1.4.0, 1.3.0, 1.2.1, or 1.2.0 Install 1.5.0, then 1.6.0
1.1.0 Install 1.4.0, then 1.5.0, then 1.6.0
1.0.0 Complete the separately supplied original 1.1.0 bridge, then 1.4.0, 1.5.0, and 1.6.0

Finish each stage before applying the next. The historical updater cannot skip schema stages. The original publisher signing identity remains in use. See docs/MAINTENANCE.md for recovery instructions.

What starts enabled

Feature Behavior after updating from v1.5.0
Client directory Existing appointments produce agent-owned client histories; no messages are sent
Private notes and follow-ups Available to authorized agents; existing records gain no invented notes or tasks
Client portal Clients can request a link for an existing booking email; working email delivery is required
Intake questions No new questions are required until an agent creates and enables a form
Public waitlist Disabled until the agent enables it and chooses appointment types
Automatic opening invitations Disabled until explicitly enabled by the agent
Daily appointment/Home limits Zero, leaving the additional limits disabled
Extra clear interval Zero; existing service buffers and travel reservations still apply
Date-specific hours Ordinary weekly hours continue until an exception is saved
Travel planner Available privately; fresh route requests happen only after Check driving times
SMS-Gate and Web Push Existing configuration, preferences, and consent are retained

No update step automatically opts a client into texting or sends invitations on the agent's behalf.

1. Review the client directory

Open Clients. Search for a client by name, email, or phone and open their record. The record combines their appointment history with editable current contact details, meeting preferences, private notes, and follow-up tasks.

Histories match only the same agent and normalized original booking email. The system trims outer whitespace and normalizes letter case. It does not merge different people by a similar name, remove dots or aliases from email addresses, or share one agent's clients with another agent.

Use Edit details to save current contact information or archive the client. The original booking email remains visible and separate from the editable contact email. Historical appointment details remain as they were booked; a new contact address does not rewrite a Home appointment's saved route.

Use Add note for a confidential note or appointment outcome, and optionally associate it with an appointment. Use Add task for an internal follow-up with a due date and open/completed state. Follow-ups shows open, overdue, completed, or all tasks. Enter due dates in the device time zone shown by the editor; the list displays the agent's time zone.

Private notes, outcomes, task details, and internal contact preferences stay in the authorized agent workspace. They do not appear in client pages, calendars, email, SMS, or push previews. A task organizes work; this release does not send clients a message when an internal task becomes due. See docs/CLIENTS.md.

2. Check the client portal

Open Client portal from a client record or the public booking page. Its address is part of the main installation:

https://yourdomain.com/appointments/index.php?client_portal=1&agent=First-Last

The client enters the email used for appointments with that agent. If matching bookings exist and mail delivery is configured, the system sends a private link through the existing email settings. The link expires after 15 minutes and can be used once. The client explicitly chooses Open my appointments; simply previewing the link does not consume it.

The portal displays upcoming and historical appointments, the client's own submitted intake answers, and links to the established appointment management page. From there, the client can use available reschedule/cancel controls, attendance confirmation, SMS preferences, and add-to-calendar links. Book another appointment returns to the normal agent booking page and its current availability rules.

The portal uses a separate client session, valid for up to 12 hours, with a Sign out control. It does not create an agent account. Changing a CRM contact email does not grant that address access to bookings made with the original email. A manually added client without an appointment cannot receive a portal link until a matching booking exists.

For an initial check on your installed system, use a booking email address you control. Confirm that the requested email arrives and that only that agent's matching appointments appear. Existing SMTP or SendGrid configuration is used; the update does not create a new mail account.

3. Add intake questions to an appointment type

Open Intake forms, choose Create form, and select an appointment type. Add a title and practical preparation questions, then enable Show this form during new bookings.

Choose short text, long text, one-choice selection, or checkbox answers. Mark a question required when needed. To show a follow-up only when relevant, select an earlier choice or checkbox question and the answer that should reveal the follow-up. For example:

Question Show when
What would you like help with? — Review / New question Always
Tell us what you need help with The earlier answer is New question
I need access assistance — checkbox Always
What access assistance would help? The checkbox is checked

The browser shows matching questions, and the server validates them again. Hidden answers are discarded. Each form supports up to 20 questions; a choice question supports 2–12 options. Collect appointment preparation details, not medical records, payment-card data, or uploaded documents.

Each booked appointment saves the form title, question labels, version, and visible submitted answers. Editing or pausing the form affects new bookings and preserves existing snapshots. Rescheduling retains the saved answers. If an agent changes the form while a client is booking, the client is asked to refresh and use the current questions before the appointment is accepted.

4. Set realistic booking rules

Open Booking rules. Set the maximum appointments per day, a separate maximum for Home visits, and an optional minimum clear interval. Zero disables the additional limit or interval. Existing working hours, travel reservations, before/after buffers, notice, booking horizon, time away, and connected-calendar busy time still apply.

Daily limits use the appointment's start date in the agent's time zone. Home appointments count toward both the total and Home limits. Cancelled appointments do not count. Rescheduling excludes the appointment being moved before checking the destination date.

The clear interval goes between complete reserved appointment blocks. A Home block includes the drive out, appointment duration, drive back, extra travel allowance, and service buffers. For example, a 45-minute outbound drive, 60-minute visit, and 45-minute return already reserve 150 minutes before service buffers or extra allowance. A new clear interval is additional space between occupied blocks.

Use a date exception to close a date or replace that date's weekly hours with one or more intervals. This can also open a normally closed weekday. Removing the exception returns the date to ordinary weekly hours. Existing time-away blocks and external-calendar conflicts still apply.

New settings affect offered availability and final booking/rescheduling checks. They do not move or cancel existing appointments. See docs/BUILD-2-SCHEDULING.md.

5. Enable a verified waitlist when ready

Open Waitlist for the agent. Configure email delivery first, enable the public waitlist, select participating appointment types, and choose the invitation lifetime from 15 to 240 minutes. Keep automatic invitations off initially to review the workflow with Check & invite.

Clients can request a different time from the booking time picker. They enter their preferred date window, daily time range, contact details, and email permission. A separate unchecked choice controls optional waitlist text alerts. They must confirm the emailed request before the system sends opening invitations.

The system checks actual availability and, for Home visits, a fresh server-generated travel estimate before offering an opening. It rechecks before sending the invitation. An invitation does not reserve the time. The client follows it into normal booking, where the final transaction checks the slot again. Another client may complete a booking first.

Optional automatic invitations run through the existing scheduled worker. Each request has at most one active invitation. An expired invitation returns the request to waiting; automatic retries wait at least six hours and do not repeat the same offered start time. The agent can intentionally check another opening sooner.

Texts use the existing SMS-Gate credentials and sending device. Global STOP suppression remains effective. Waitlist text permission is separate from appointment-reminder consent; joining the waitlist does not enable appointment texts. Check the configured sending phone, worker, and delivery status before enabling automatic invitations for real clients. See docs/WAITLIST.md and docs/SMS-GATE.md.

6. Review the day's travel plan

Open Travel planner and choose the agent's local date. The planner shows confirmed appointments, relevant unavailable periods, the saved starting/return address, and route links. Opening the page does not request fresh routing estimates.

Choose Check driving times to use the installation's existing Google Routes configuration. Consecutive Home visits may show a direct drive between client addresses. Phone/video appointments, unknown locations, time away, and other-calendar busy periods use a clearly labeled conservative return-to-origin assumption.

Driving estimates exclude live traffic. Unverified or imprecise legs remain unverified, and partial totals are labeled. The view guards against an itinerary changing while an estimate is being requested. Map links open Google Maps, Apple Maps, or Waze; Waze starts from the device's current location.

The planner is advisory. It does not move appointments, shorten saved round-trip reservations, release travel time for new bookings, or rewrite connected-calendar events. The public booking engine continues to protect each Home appointment's reserved round trip and buffers. The agent can compare practical driving with the time already reserved.

After a backup restore

Normal restoration keeps the selected backup's durable client records, notes, tasks, intake snapshots, waitlist requests/preferences, scheduling rules, and date exceptions. It invalidates client portal sign-in links and sessions, clears old waitlist invitations and delivery jobs, discards route caches, and leaves operations paused for review. Unverified waitlist requests expire; verified active requests return to waiting. Automatic invitations are switched off.

Review appointments against the connected calendars, check SMS-Gate callbacks and future reminders, and review each agent's waitlist before resuming. Clients request a new portal link after operations resume. Automatic invitations stay off until the agent deliberately enables them again. An automatic rollback of a failed update restores the protective pre-update state instead of applying these historical-restore resets.

Verification and continued operation

Build 2 is packaged and checked with synthetic fixtures. Read docs/VALIDATION.md and the external release manifest for the final test results and exact package hashes. Development checks do not substitute for confirming your live calendar access, mail sender, Android SMS-Gate phone, device notification permissions, or actual navigation on your hosting installation.

Keep the existing every-minute worker running. Calendar synchronization still depends on provider access and refresh timing; live workspace updates do not remove that provider delay. The existing calendar health/reconnect, System care, SMS-Gate history, and notification controls remain available in the main system.

Back to guide navigation

Clients, follow-ups, intake forms & client portal — v1.6.0

Build 2 adds these tools to the existing Agent Booking NOW installation. Agents keep the same sign-in, profile, booking page, calendar connections, mobile workspace, and SMS-Gate settings.

Open the client workspace

Open Clients in the agent workspace. On a phone, use More → Clients. An administrator can select an agent before opening their directory. Every directory, appointment history, note, form, and task remains attached to that selected agent.

Existing appointment history creates client records automatically when the release migrates, and the directory checks again for unlinked historical appointments when opened. A client is grouped only by the same agent and the same normalized original booking email. Normalization removes outer whitespace and changes letter case. It does not combine Gmail aliases, remove dots, infer household relationships, match by name, or merge different agents' records.

The most recent existing booking initializes the contact fields. Future bookings attach to the same client history without overwriting details the agent has edited. The client directory supports searching names, email addresses, and phone numbers, with 50 results per page. The record displays up to 200 recent appointments, notes, and tasks.

Add or edit a client

Choose Add client, or open a record and choose Edit details. Save a name, contact email, phone, address, time zone, preferred meeting location, and private contact preferences. Archive a record to remove it from the active directory; its appointment history remains available in the archived view.

The original booking email is preserved separately from the editable contact email. Changing contact details does not rewrite an appointment's name, email, phone, home address, or travel reservation. It does not redirect existing appointment emails or grant the new contact email access to earlier appointments.

Contact preferences are an internal reference. They do not opt anyone into SMS, replace a client's STOP request, change notification settings, or cause messages to be sent. Continue using the existing SMS-Gate preferences and per-appointment consent controls.

Private notes and appointment outcomes

Open a client and choose Add note. Select Private note or Appointment outcome, optionally associate an existing appointment, and save the text. Notes can be edited or deleted. A version check prevents an older open form from overwriting a newer edit; refresh and review the latest record when a conflict is reported.

These records are confidential workspace fields. They are not copied into public booking profiles, client appointment summaries, client portal responses, calendar event descriptions, emails, or text messages. The audit trail records that a note changed without copying the note's contents.

Follow-up tasks

Use Add task inside a client record. Enter a task, optional due date, optional related appointment, and private details. Mark it completed or reopen it. The Follow-ups tab provides Open, Overdue, Completed, and All views, up to 200 tasks per view.

The editor explicitly labels the browser device time zone used for entering a due date. The server stores an unambiguous UTC instant; the task list displays the selected agent's time zone. A due date organizes the internal task list. This build does not send follow-up messages to clients or schedule texts from task details.

Conditional intake forms

Open Intake forms from the workspace or client area. Each appointment type can have one form, with a saved version history recorded in each appointment's answer snapshot. Create a form for an appointment type, choose a title, add questions, and enable Show this form during new bookings.

The visual builder supports:

A form has 1–20 questions. Labels can have up to 200 characters and helper text up to 300 characters. Questions can be required or optional. A conditional question can depend on an earlier choice or checkbox answer. Conditions use an exact selected option, or checked/unchecked; they cannot refer forward or form a cycle.

For example, ask What would you like help with? with choices Review and New question. Show Tell us what you need only when the answer is New question. The browser displays the matching follow-up, and the server independently enforces the same rule before reserving the appointment. Answers to hidden questions are discarded, including values submitted manually outside the displayed form.

Changing a form advances its version. A booking submitted from an older form is rejected with an instruction to refresh, rather than silently accepting different questions. Form edits use the same agent schedule lock as booking creation. Each booked appointment keeps its original title, question labels, version, and validated visible answers. Rescheduling retains that snapshot; later form edits or pausing the form do not rewrite it.

The agent can review submitted answers in the appointment details and the client's history. The client can see their own submitted answers through their private appointment link and verified portal. Intake answers are not added to calendar descriptions, emails, SMS, or notification previews. Collect practical appointment preparation details; these fields are not designed as medical-record, payment-card, or document-upload storage.

Client portal

The portal is part of the main installation:

https://your-domain.example/appointments/index.php?client_portal=1&agent=Agent-Slug

The actual link appears in the agent's client record and public booking experience. Copy Client portal link or open it for review. This is a general agent portal address and contains no private appointment token or client email.

Client sign-in

  1. The client opens the agent's portal and enters the email used for their bookings.
  2. If appointments exist for that email and email delivery is configured, the system emails a private link through the installation's existing SMTP or SendGrid settings.
  3. The link expires after 15 minutes and can be used once. Opening it does not consume it. The client explicitly chooses Open my appointments.
  4. The portal session lasts up to 12 hours. The client can sign out at any time; signing out revokes the server-side session.

The request page returns the same message for known and unknown email addresses. Requests and token redemption are rate limited. Magic links store only token hashes in the token table; the email link places its raw token in the URL fragment so ordinary web-server access logs do not receive it. The browser removes the fragment from its displayed address and submits the token through an explicit CSRF-protected POST.

Client sessions use a separate HttpOnly cookie and server-side token hash. They do not authenticate the client as an agent or administrator. Portal actions use origin and CSRF checks. On an HTTPS installation the cookie is Secure. Use HTTPS for the live system, as required by the calendar and notification setup.

What a client sees

The portal shows upcoming and past/cancelled appointments for the verified original booking email with that one agent, up to 200 recent appointments. Each appointment has its details, submitted intake answers, and a link to the existing private appointment management page. That page retains the system's established change cutoff, rescheduling, cancellation, attendance, SMS preference, and add-to-calendar behavior.

Book another appointment opens the same agent's normal booking page. It does not place private contact details in a URL, bypass availability checks, or assume texting consent.

The client does not see the agent's internal notes, outcomes, follow-up tasks, contact preferences, private travel origin, other clients, or another agent's history. Changing a CRM contact email never grants access to bookings made with the original address. A manually created client with no bookings does not receive a portal sign-in link until an appointment exists for that booking email.

Backup, restore, and updates

Client records, immutable appointment links, notes, tasks, form definitions, and answer snapshots are included in the system's encrypted backups. Ordinary updates retain them, alongside existing bookings, calendar mappings, texting preferences, and suppression records.

A normal backup restore invalidates client sign-in links and portal sessions along with the system's other temporary authentication and delivery state. It pauses operations for administrator review. Clients request new portal links after the administrator resumes the restored installation. Portal requests are blocked during update recovery or a restored-data review pause.

An old backup without these tables remains compatible with the newer application. The tables are created by the schema migration, and opening an agent's client directory rebuilds missing relationship records from that agent's original booking history without sending messages. Older bookings have no invented intake answers or private notes.

Verification and operational limits

The shipped CLI tests exercise agent isolation, original-email identity binding, optimistic edits, nested schedule locking, literal search, private-field exclusions, hashed single-use and expired portal links, session revocation, conditional questions, hidden-answer clearing, stale form rejection, and immutable intake snapshots using synthetic data and the mail test transport.

These tests do not send email, SMS, calendar events, or push notifications. Live sign-in email delivery depends on your configured mail provider, sender permissions, hosting connectivity, and the recipient's inbox filtering. The existing system health and email test tools can be used by the administrator to check the configured service.

Optional Medicare Review information

Version 1.10.0 adds dedicated optional medication and provider lists, separate from the custom intake form builder. Clients complete them during booking only when the appointment type enables Medicare review details; a team review enables them when its offering or assigned agent's service does. Every field is optional. The assigned agent or an administrator opens the saved appointment to read the encrypted snapshot. The lists are excluded from client portal pages, shared staff schedules, external calendars and reminders. See Medicare Review information.

Version 1.11.0 adds up to three optional medication-list photos inside the same collapsed review section. Clients may submit photos without typing the list. Authorized appointment details provide a larger photo view; backup/restore includes the encrypted images. The same public, staff, calendar and reminder exclusions apply.

Back to guide navigation

Cancellation waitlist

Build 2 adds verified opening requests to the existing Agent Booking NOW installation. Each agent chooses whether to offer a waitlist and which appointment types participate. It starts off. Email delivery must be configured before an agent enables it; optional texts use the existing SMS-Gate settings and sending device.

In v1.8.3, automatic Home travel estimates are off by default. Home waitlist requests retain the client's address and use the appointment duration and normal buffers when looking for an opening. The agent must still enable Home visits in their profile, and the selected appointment type must offer Home.

Enable an agent’s waitlist

  1. Open Waitlist in the agent workspace.
  2. Enable the public waitlist and select its appointment types.
  3. Choose how long an invitation stays open, from 15 to 240 minutes.
  4. Choose whether the scheduled worker may automatically offer matching openings. Leave this off to use Check & invite for individual verified requests.
  5. Save the settings.

The main system’s scheduled worker checks requests and processes verification and opening emails. SMS-Gate’s existing queue sends any eligible text invitations. The two providers’ statuses remain separate: email acceptance is not an inbox delivery receipt, and SMS-Gate acceptance is not confirmed delivery.

Client workflow

The time picker offers Need a different time? Join the waitlist when the selected appointment type participates. The client supplies a contact name, email, contact number, preferred date window of up to 31 days, and daily time range. The request uses the selected Office, Home, Over the Phone, or existing service location. Times use the client’s selected time zone.

The client explicitly agrees to waitlist emails. Text alerts have a separate unchecked opt-in. Waitlist text permission does not opt a client into appointment reminders; they make that choice on the eventual booking form.

The initial response is deliberately generic. The system emails a private link, valid for verification for 48 hours. Opening the link displays the request; Yes, join this waitlist explicitly confirms it. Email preview tools and link scanners cannot confirm a request merely by opening its URL. No opening alerts are sent before that confirmation.

Clients can use the same private page to leave the waitlist or turn waitlist texts off. Existing global SMS STOP suppression is respected even if the request’s text checkbox remains enabled. Resuming texts requires the system’s existing opt-in/START rules. Keep private links confidential.

An opening invitation is not a reservation

The system checks the real booking rules before choosing an opening: working hours, date horizon, minimum notice, blocks, existing appointments and buffers, external-calendar freshness and busy time, daily booking limits, and any explicitly enabled Home travel requirements. It checks again before dispatching an opening email or text. An unverifiable connected calendar prevents an invitation from being sent with assumed free time. Previously booked travel reservations remain occupied intervals when testing a new opening.

With automatic travel off, a Home request requires a complete address but makes no Google Routes request and adds no driving allowance to a new booking. The address is retained as entered for the agent; it is not verified as a route. A private starting address and Routes API key are not needed in this mode. The client's invitation never contains the agent's private starting address.

An invitation remains valid only for its limited lifetime and does not hold the suggested slot. Several clients may see an available time; the first completed booking reserves it through the existing schedule transaction. Clicking Check times & book opens the normal booking flow with the request's contact, appointment type, location, and date preferences. Home bookings retain the entered address. The final booking submission checks availability again using the current effective travel setting.

The invitation is tied to its agent, appointment type, client email, location and Home address. Completing a booking marks the request booked, invalidates the invitation, and cancels pending invitation messages. Repeating the same successful booking request remains idempotent.

If automatic Home travel is enabled later

The administrator must explicitly enable Automatically reserve travel time for Home appointments in Settings and configure Google Routes. Participating agents also need their private starting addresses and travel settings. A saved key alone does not switch routing on, and an agent's Home opt-in remains required.

In that enabled mode, the server obtains fresh round-trip estimates for Home opening checks and new bookings. It does not trust browser-supplied driving minutes. An unverifiable route prevents an invitation from being sent for assumed free time. The client sees the routing disclosure before submitting the Home request. Existing address-only appointments retain their original duration and buffers if the setting changes; older appointments with reserved travel keep their saved intervals while routing is off.

Agent workflow

Requests are shown oldest first. Filter by waiting, opening offered, email confirmation pending, all active, or all requests. The workspace shows the preferred dates and times, contact details, the last offered time, invitation expiry, email queue status, and any actionable calendar/delivery error. Agent views do not expose clients’ private management capabilities.

Check & invite searches for the earliest currently matching opening. It does not create an appointment on behalf of the client. Close request closes that request and cancels pending opening invitations. Another agent cannot view or change the request unless the signed-in administrator is explicitly viewing that owner’s workspace.

When automatic invitations are enabled, the worker checks eligible requests oldest first. Each request has at most one active invitation. After an invitation expires, the request returns to waiting; automatic invitations wait at least six hours before offering again and do not offer the same start time again. An agent can intentionally check for another opening sooner. Turning the waitlist off withdraws pending offers and hides public signup.

Updates, backups, and restores

A normal update preserves requests, verification state, opt-ins, settings, and queue state. A normal backup restore keeps client requests and opt-out choices but clears old invitation capabilities and delivery jobs. Unverified requests expire; verified active requests return to waiting. Automatic invitations are turned off for review, and the system’s recovery pause prevents sending until the administrator resumes operations. Review each agent’s waitlist before turning automation back on. Old verification or invitation emails are not replayed.

The updater’s protective rollback restores its original database/queue snapshot. It does not treat rollback as a normal data restore.

Verification

tests/waitlist.php exercises disabled defaults, service ownership, input bounds, explicit consent and email verification, generic signup responses, capability protection, duplicate suppression, current-slot matching, calendar failure, Home travel, agent ownership, stale versions, invitation expiry, cancellation, normal booking fulfillment, same-request idempotency, SMS-Gate configuration and stable IDs, STOP suppression, stale-slot checks before dispatch, and recovery pause. Provider transports in these tests are isolated fixtures. The tests send no live emails or SMS messages and make no live routing/calendar requests.

On the deployed HTTPS installation, verify the worker, mail delivery, and existing SMS-Gate setup with accounts and phone numbers you control before enabling automatic opening invitations for clients.

Back to guide navigation

Scheduling rules and travel planner

Build 2 adds rules and private day planning to the existing Agent Booking NOW installation. Open More → Booking rules or More → Travel planner from the same agent account. Administrators can select an agent using the normal workspace selector.

In v1.8.3, automatic Home travel estimates are off by default, including after an upgrade with a saved Routes key. New Home appointments collect the client's address and reserve the appointment duration and normal service buffers. Existing travel reservations remain part of the occupied schedule.

Daily limits and clear time

In Booking rules, set a maximum number of appointments per day, a separate maximum for Home visits, and a minimum clear interval between appointments. A value of 0 leaves that limit or additional gap disabled. Existing installations begin with all three values at zero.

Daily totals count confirmed appointments by their start date in the agent’s time zone. Home visits also count toward the overall appointment limit. Cancelled appointments do not count. When an appointment is rescheduled, the system excludes that appointment before checking the new date’s capacity.

The clear interval separates complete occupied appointment blocks. A new address-only Home appointment occupies its duration plus service preparation or wrap-up buffers. An older Home appointment with saved travel also occupies its saved outward drive, return drive and travel allowance. The clear-time setting adds space between those complete blocks. Time-away blocks and outside-calendar busy events keep their existing collision rules.

These rules affect available days and times, the final booking attempt, and client or agent rescheduling. The final booking attempt checks again while holding the same agent schedule lock. A stale browser cannot bypass a newly reached daily limit. Saving a stricter rule does not move, cancel or alter appointments that are already booked.

Different working hours for a date

Add a date exception to close a particular date or replace the weekly hours with one or more working intervals. This can open a normally closed weekday. Dates use the agent’s time zone, including daylight-saving changes.

Each interval must start and end on that date. Use 24:00 as an end time to include the end of the day. Up to eight non-overlapping intervals are supported. Removing an exception restores the ordinary weekly hours. Existing time-away blocks and connected-calendar conflicts still apply inside any replacement hours.

Rules and exceptions use version checks so an older open form cannot overwrite another saved change. Removing and recreating the same date retains its version history internally. Up to 400 active date exceptions are supported per agent; remove older exceptions as needed.

Reviewing visits and directions

The Travel planner shows a selected local day's confirmed appointments, relevant unavailable periods, saved visit addresses and map links. With automatic travel off, it says Automatic travel estimates are off, hides Check driving times, and displays no cached driving durations, calculated departures or route-setup warnings. Opening the planner, changing dates and attempting a refresh make no Google Routes requests while that setting is off.

An Office appointment uses its saved office address; a Home visit uses the address supplied by the client. Navigation remains available without a private starting address: a map app can choose the agent's current location. The planner's Travel already reserved total represents saved reservations on existing appointments, which can remain positive while automatic estimates are off.

The map buttons support Google Maps, Apple Maps and Waze. Waze navigates from the device's current location. Opening a map link shares its address parameters with that mapping service; it does not ask this system to calculate travel or change a booking.

Explicitly enabling automatic travel later

An administrator can enable Automatically reserve travel time for Home appointments in Settings after configuring Google Routes. Saving a key alone does not enable it. New routed Home bookings also require the agent's Home opt-in, a private starting address and the selected appointment type's Home option. The update does not turn on agents' Home visits automatically.

When enabled, the planner starts at the agent's saved starting address and includes a final return. Consecutive Home visits can show a direct drive from one client address to the next. Phone or video appointments, unknown appointment locations, time away and other-calendar busy periods interrupt the itinerary at the saved starting address. The planner labels these planning assumptions for review.

In that enabled mode, select Check driving times to request fresh route estimates. Opening or revisiting the planner does not make routing requests by itself. Driving estimates exclude traffic. The agent's travel allowance is included when calculating a suggested departure and whether the gap between stops is long enough.

Existing reservations stay protected

The itinerary is planning information. It does not change appointment times, release reserved travel time, or rewrite connected-calendar events. New address-only Home bookings use their duration and normal buffers. Previously saved round trips remain reserved, including during rescheduling while automatic travel is off. Turning automatic travel on later does not add a route to an existing address-only booking. When enabled, the planner shows estimated driving separately from travel already reserved.

When automatic travel is enabled, a schedule or address change during a routing request causes its result to be discarded and the agent is asked to reload. Unavailable or imprecise routes remain unverified; they do not count as zero-minute drives. The interface shows partial totals when any leg is unverified. Each refresh is limited to twelve distinct driving requests. Very busy days can use the provided map links for remaining legs.

Privacy, delivery and recovery

The planner is available only to the authorized agent or administrator. It does not expose other agents' addresses, client management links, client email addresses, appointment notes, or calendar credentials. While automatic travel is enabled, its server cache is encrypted, tied to the exact current itinerary and marked expired after twenty minutes. That cache is ignored while automatic travel is off. The planner shows when stored external calendar data needs a fresh sync.

No booking, email, SMS or notification is sent by viewing or refreshing a plan. An explicitly enabled routing refresh sends the required origin and destination addresses to the configured Google Routes service. API credentials stay on the server.

Backups preserve booking rules, date exceptions and the automatic-travel setting. A normal restore discards the advisory route cache; if automatic travel is enabled, refresh estimates after reviewing and resuming the restored system. An update or protective rollback retains the appropriate existing data. This feature uses the main system's existing accounts and database.

Provider reference

When explicitly enabled, the request uses computeRoutes with DRIVE, TRAFFIC_UNAWARE, and a narrow response field mask for duration and address matching. Provider reference: Google Routes computeRoutes and Understanding route responses.

Verification

Isolated tests cover daily and Home limits, rescheduling exclusions, cancelled appointments, minimum clear intervals with saved travel buffers, date exceptions, version conflicts, ownership, public slot enforcement and final booking rechecks. Planner tests cover consecutive Home legs, other appointment types, busy-period barriers, spring and autumn daylight-saving boundaries, stale and invalidated caches, provider failures, imprecise addresses, bounded provider calls, private response fields and unchanged booking reservations. Tests use synthetic routing responses. Real Google Routes service configuration and physical-device navigation must be checked on the installed HTTPS system.

tests/home_address_mode_ui.cjs checks the disabled planner, absence of route-refresh requests, retained map links and historical totals, address-only and historical Home rescheduling, waitlist disclosures, and Today/Day/Month presentation. These fixtures make no live provider requests.

Back to guide navigation

Build 1 — Agent Booking NOW 1.5.0

This update improves daily work and notifications inside the existing installation. Apply it through System care → Update after downloading a backup and keeping its recovery key. No new installation key is needed for an update. Versions 1.2.0, 1.2.1, 1.3.0, and 1.4.0 update directly. For v1.1.0, first apply the original v1.4.0 Signed Update included in the Upgrade Kit, then apply v1.5.0; the older updater permits only one schema step at a time.

What changes

Area New behavior
Home / Today The agent's local day, next appointment, planned Home departure, appointment/travel totals, attendance, and connection warnings. Phone entry opens Home unless a bookmark specifies another page.
Appointment progress Mark Home travel as On my way, record Arrived or Call started, and mark an appointment Completed or No-show after its start. Progress changes preserve the appointment's calendar time and travel reservation.
Client attendance A client can select Yes, I will attend on the private management page. Moving the appointment clears the effective attendance confirmation for the new time.
SMS-Gate Optional confirmations, changes, cancellations, and scheduled reminders through the administrator's Android sending phone. Agent preferences and client consent are separate.
Web Push Background activity/reminder notifications for enrolled devices, subject to HTTPS, platform support, permission, and administrator setup.
Calendar health Per-connection state, last refresh, pending changes, worker status, and reconnect guidance.
Safe reconnect Reauthorizes an existing compatible connection while preserving its ID, selected calendar, and appointment/travel mappings.

Enable SMS-Gate

  1. Open administrator Settings → SMS-Gate text messages and leave texting off during initial setup.
  2. Enter the Cloud Server username and password from the Android SMS-Gate app, then choose Save SMS-Gate settings. The default base is https://api.sms-gate.app/3rdparty/v1.
  3. Choose Check saved connection, select the sending phone, enable texting, and save again. An account with exactly one device can select it automatically; the save/check/select sequence also works with several phones.
  4. Advanced options contain the private HTTPS server URL, SIM, and per-minute limit. Open Delivery updates & opt-out replies, enter the literal phone webhook signing key, and save it.
  5. Choose Register this system’s webhooks. Existing callbacks for other systems are preserved. Choose Queue a test text only when ready to send a controlled message; the scheduled worker sends it.
  6. Agents enable their own number in Inbox → Text reminders. Clients choose the unchecked text-message option when booking, or enable it from their private appointment page.

SMS-Gate sends through the Android phone and its SIM/carrier plan. Keep that phone online, permitted to send/receive SMS, and available to the gateway. Carrier limits and charges can apply. The application stores settings locally; it does not copy another system's credentials. See SMS-Gate setup and delivery for callback signing, cancellation races, part delivery, retries, and STOP handling.

Enable background phone alerts

  1. In administrator Settings → Background phone notifications, enable Web Push and save a contact address.
  2. On the intended device, sign in with the agent's normal account and open Inbox → Device notifications.
  3. On a supported iPhone/iPad, first add the workspace to the Home Screen and open that icon. Android/browser support is detected in the panel.
  4. Enable notifications from the panel and grant the operating system's permission. Choose event/reminder preferences, then use its test control.

If the panel reports an older app worker, finish edits, close all workspace windows, and reopen the home-screen app or browser. The system does not forcibly replace an active form. Device notifications follow the signed-in account; selecting another agent as an administrator does not subscribe your phone to that agent's private feed. See Web Push.

Daily use

Open Home for Today. Home visits include the planned departure and directions. The saved origin still drives a separate round trip for each visit; this build does not add route optimization or live GPS tracking. Open Schedule for month/week/day/agenda views and rescheduling. Operational progress is separate from rescheduling and cancellation.

The client's private link permits attendance confirmation and text preferences without a new client account. Treat the link as private. Opening it alone does not confirm attendance; the client must press the confirmation button. An attendance confirmation does not bypass cancellation cutoffs or move the booking.

Calendar reconnect

Open Calendar connections and use the reconnect action on the existing row. Reauthorize Google or provide a fresh iCloud/Yahoo app password for the same account. The server verifies access to the selected calendar before replacing stored credentials. If the calendar is missing or no longer writable where required, the old connection is kept and a corrective message is shown. Reconnect does not merge unrelated calendars or silently switch accounts.

After a restore

Operations stay paused. Review appointments and outside calendars and re-register/check SMS-Gate callbacks. Restored SMS preferences and STOP suppression remain; old messages and old push subscriptions are not replayed. Only future reminder times are rebuilt. Resume from System care once the restored records and integrations are ready. Afterward, agents sign in and enable Web Push on their devices again.

Release boundaries

This is Build 1. It does not add payments, a full client CRM, team round-robin routing, Outlook synchronization, automatic video meetings, or compiled app-store binaries. The mobile workspace remains part of the same main PHP application. The package is tested in isolated installations; the real host's credentials, actual gateway phone, and iPhone/Android notification permissions still need a controlled installation check.

Back to guide navigation

Workspace and booking calendars — version 1.11.0

Version 1.8.3 turns automatic Home travel estimates off by default. Clients enter their home address and choose a time using the appointment duration and normal buffers. The integrated phone/desktop workspace retains Today, operational progress, client attendance, optional SMS-Gate, background Web Push, four appointment views, the public date-and-time picker, bottom menu, home-screen installation and signed-in rescheduling. The public website remains at the main installation address, including /appointments/index.php when installed in that folder. The top Log in button opens the workspace. Each agent keeps their own booking link and QR code.

Update an existing installation

From exact v1.8.0, v1.8.1, v1.8.2, v1.8.3, v1.8.4, v1.9.0, v1.10.0 or v1.10.1, create/download a current backup, keep its recovery key separately, and apply the intact Agent-Booking-NOW-v1.11.0-Signed-Update.zip through System care → Update. Earlier versions must complete their documented upgrade sequence first; see Backup, restore, and updates.

This release uses schema 8 and retains the original publisher identity. Supported direct sources use schema 7. A v1.7.0 installation must first apply the previously released v1.9.0 update. Apply the signed update to the existing installation using System care.

The same update delivers both desktop and phone interfaces. Finish edits, close all open workspace windows, and reopen so the new service worker can activate. Public booking pages load the versioned assets on refresh. No separate mobile package is required.

Professional theme and navigation

Version 1.9.0 uses white surfaces, restrained blue actions, readable dark text and consistent spacing across the main system. On desktop, the sidebar groups daily work separately from setup and administration. The active section has a clear blue state; expandable groups open automatically when one of their pages is active.

Navigation group Existing tools
Workspace Today, Appointments, Clients, Waitlist, Travel planner, Notifications
Booking setup Booking page, Appointment types, Availability, Booking rules, Intake forms, Calendar connections
Team & insights Shared schedules, Reports
Administration, for administrators Agent accounts, Teams & staff, Team booking, Website, System monitor, System care, System settings, System health, Activity log
Account footer Account security, Sign out

Staff accounts retain their existing Shared schedules, Reports and Notifications access. A new visual grouping never grants additional permissions. The phone menu still uses Home, Schedule, Inbox, Profile and More for agents and administrators; staff retain their role-specific tabs. More opens the same navigation groups.

The public booking page uses a single joined panel with the full agent profile beside the current step on desktop and above it on phones. All four progress labels stay visible. Team pages add a summary of the selected appointment, duration, location and time, while preserving the assigned-agent review. Both flows keep the existing five Home address fields and stored address behavior.

The homepage, client portal and agent directory share the theme. The public website still opens at the installation's main address, and its Log in button remains visible at the top on phones and desktop.

A more focused workspace

The left navigation groups everyday agent tasks separately from administration. Today highlights the next appointment, daily counts, attendance, operational progress, sharing, and calendar health. A Home visit shows a planned departure only when that appointment has saved travel time; an address-only visit keeps its directions link without inventing a departure. Forms, cards, and dialogs use consistent spacing and action placement.

On a narrow screen, use the persistent Home, Schedule, Inbox, Profile, and More bottom menu. More opens the remaining navigation. The menu closes with its close button, Escape, or navigation to another section. Focus stays inside the open menu. Administrators can use the agent selector to inspect another agent's workspace; calendar results follow the selected agent and their time zone.

The connection indicator distinguishes live updates, periodic checking, and a disconnected state. It describes this application's connection, not the last successful refresh of every external calendar. Use Calendar connections to review those connections and their errors.

Choose the appointment view that suits the task

Open Appointments on desktop or Schedule on a phone and choose a view:

View Best use Navigation
Month Scan a month and choose a day to inspect Previous/next month; select a date
Week Review the distribution of appointments across seven days Previous/next week
Day Read one day's appointments and travel reservations Previous/next day
Agenda Read appointments as a chronological list for the displayed period Previous/next period

The initial view is Week on wider screens and Day on narrow screens. Today returns to the current date in the agent's configured time zone. Jump to date opens another date without repeatedly stepping through periods. Changing views retains the selected date.

Search by client or appointment type, then combine the search with Status and Location. The result count reflects those filters. Clear filters restores all appointments in the current period. On narrow screens, search stays visible while Filters expands the status, location, and date controls; its badge shows active filters even after the panel is closed.

Select an appointment to see its details and available actions. Status and meeting location remain visible in the calendar. Cancelled items can be inspected without treating their old travel time as reserved. Long or overnight appointments show their continuation in the relevant days; a warning identifies overlapping reservations for review.

Appointment time and travel time

With automatic travel off, a new Home booking contains the client address, meeting time and normal service buffers. Day and Week show those buffers without zero-length driving segments. Month labels it Home visit, and Today does not show a calculated departure. No Routes key or private starting address is required in this mode.

Older Home bookings retain their saved outward travel, return travel and allowance. Day and Week continue to show those reserved segments; Month labels them Home · travel reserved. For example, an existing 60-minute visit with 45 minutes of saved travel in each direction still needs 150 minutes before its allowance or service buffers. The booking engine checks the entire saved interval against working hours, bookings, time away and imported busy periods. Disabling automatic estimates does not release historical travel reservations.

An administrator may explicitly enable Automatically reserve travel time for Home appointments in Settings after configuring Google Routes and agents' private starting addresses. Saving a key alone does not enable it. Home must still be enabled in the agent profile and selected in the appointment type. Then new Home bookings use verified round-trip travel. Existing address-only appointments retain their original duration and buffers even if the setting changes later.

The agent calendar is an appointment overview. It does not list every private event imported from connected accounts. Imported busy events and time away still affect the times offered to clients. Use the availability settings and connected provider calendar to investigate why a time is not offered. Home routing setup and mapping behavior are described in Office, Home, and Phone bookings.

The public booking experience

Clients follow the same agent link or QR code and see the agent's profile and contact information. They choose an appointment type and one of its enabled meeting locations: Office, Home, or Over the Phone. Existing appointment types with other configured meeting instructions remain supported.

For Home in the default mode, the client supplies a complete address and selects See available times. Availability uses the appointment duration, normal service buffers and existing scheduling rules. The system saves the address without checking a driving route or adding travel time. If automatic travel is explicitly enabled later, the page instead offers the travel check and explains the routing disclosure. A rescheduled Home visit always retains its saved address.

Choosing a date and time

  1. Confirm the displayed time zone. Changing it recalculates the date boundaries and available times for that zone.
  2. Available dates are marked in the month calendar. Past, unavailable, and out-of-range dates cannot be selected as new options. Today and the selected date have distinct states.
  3. Select a date to check its current slots. Times are grouped into Morning, Afternoon, and Evening.
  4. Choose 12h or 24h formatting. The preference is retained in that browser. Time-zone abbreviations distinguish repeated local times around a daylight-saving change.
  5. Select a time, review the selection, and choose Continue. Enter client details and confirm the booking using the existing final booking form.

Next available searches forward from the displayed context through the configured booking horizon. It checks one month at a time and supports stopping the search. The absence of a time is shown separately from a failed availability request. Refresh checks availability again; an outdated selected time is cleared when it is no longer returned.

The calendar is keyboard accessible: move between available dates with the arrow keys, use Home/End within the week and Page Up/Page Down between months, and press Enter or Space to select a date. Available controls also retain visible keyboard focus.

Monthly markings are a snapshot. Selecting a day refreshes its slots, and confirming the booking performs the authoritative server check again. If another booking takes a time in the meantime, the system rejects the conflict and the client can choose another available time. Changing appointment type, location, Home address, effective travel mode, travel estimate, agent or time zone invalidates results from the previous choice so a slow earlier request cannot replace the current calendar.

Changing an existing appointment

The client's private appointment link opens the saved booking. Where rescheduling is allowed, choose Reschedule, select an available date and time, and review the new appointment before confirmation. The original date remains the starting context even if no alternative times are available that day. For Home, the saved address remains part of the change. While automatic travel is off, a new address-only appointment uses its ordinary buffers, and an older routed appointment retains its saved travel reservation without requesting a new route.

Booking cutoffs, disabled services, account state, and existing cancellation/rescheduling rules continue to apply. A calendar entry is not a promise that an already blocked or expired change will be accepted. The final operation checks the current rules and conflicts.

After a successful booking or change, the confirmation provides the existing calendar choices and private management link. Email reminders and provider updates use the installation's configured mail, calendar, and cron services.

Integrated phone workflow

Open the main website, choose Log in, and use the existing account. Phones start on Home / Today unless a link names another section. A compact header shows the active section and live connection state, with booking-page and QR shortcuts. The bottom menu stays available while the page scrolls. More exposes the same agent settings and authorized administrator tools; it closes when you choose a section or press its close button/Escape.

Appointment details, the QR code, and ordinary workspace dialogs use full-screen phone layouts. Call and email links use the phone's available handlers. Home appointment details keep Google Maps, Apple Maps and Waze direction choices. A travel timeline appears only for appointments with actual saved travel; address-only visits show their saved destination and meeting time. Profile editing, photo controls, calendar connections, time away and administration remain part of this same workspace.

For an allowed appointment change, choose Reschedule in its detail dialog. Pick a marked date, choose a returned time, review the old and new time, then Confirm new time. The current time is identified and cannot be selected as a new change. The session endpoint checks agent ownership or the administrator's explicit selected agent, CSRF, booking revision, change cutoff, external-calendar availability and the final slot under the same booking lock. Home rescheduling keeps the stored location and address. With automatic travel off it uses Refresh times and needs no travel quote; older reserved travel is preserved. A travel quote is refreshed only when automatic travel is enabled and the appointment requires it. If a save is uncertain or a newer change has occurred, refresh availability before trying again.

More → Add to Home Screen opens installation guidance for the same system. The icon uses the main installation and can open a standalone app window on supported phones. This is a PWA; no compiled native build is supplied in v1.11.0. The live inbox works while open. Email and opted-in SMS-Gate reminders use the scheduled worker. Background Web Push is included after administrator setup and explicit enrollment/permission on a supported device. See Phone workspace and home screen for installation and connection details.

Troubleshooting

Symptom What to check
Old appearance after the server update Confirm the release shows 1.11.0, then finish edits and close/reopen workspace windows. Check any host cache or proxy that strips asset version query strings.
Phone still shows an older interface Open the main system’s login/workspace address and refresh or reopen its home-screen icon after the server update. An older separately built native binary is outside this integrated interface.
No available date or time Check time zone, service duration, notice, booking horizon, working hours, time away, connected busy events, and any complete Home travel reservation.
Home availability error With automatic travel off, check the complete address, the agent's Home opt-in and the appointment type's Home choice. Routes credentials and a private origin are not required. Recheck travel and review Routes setup only if automatic travel has been explicitly enabled.
An appointment seems missing from the workspace Use Today or Jump to date, clear filters, check the selected agent, and refresh.
A reschedule reports a changed appointment Reload its current details and choose again. The system prevents an older screen from overwriting a more recent change.
Notifications arrive late Review the connection indicator, cron health, notification settings, provider configuration, and phone permissions. The integrated inbox updates while open. Background Web Push needs enabled device enrollment and OS permission; SMS-Gate needs its sending phone and callback setup. Email and text reminders use the worker.

The complete validation scope and its limits are in Release validation.

Version 1.5.0 Today and operational progress

Introduced in v1.5.0, Home uses the selected agent's local day and shows the next appointment, daily counts, saved travel totals, attendance and calendar health. A planned Home departure is shown for appointments with saved travel. In v1.8.3, new address-only Home visits have no calculated departure. The phone defaults to Home unless a link specifies another route. On my way is available for Home visits; Arrived (Call started for phone), Completed, and No-show track work without changing the appointment's calendar revision or reserved interval. Completed/No-show require the appointment to have started. Progress requests include their own revision and reject a stale dialog.

Clients explicitly confirm attendance on the existing private management page. A reschedule invalidates the prior confirmation. Inbox activity, its timezone, and Web Push enrollment follow the signed-in account, even when an administrator has selected another agent's workspace. The administrator can manage that selected agent's text preferences, while device notifications stay attached to the administrator's own account.

Back to guide navigation

Calendar connections

Agent Booking NOW 1.5.0 • Self-hosted edition

Version 1.13.0 appointment editing

Assigned agents and administrators can edit scheduled appointments in the main workspace. The existing calendar mapping is retained when the appointment type, date/time, duration, location or contact details change. A per-appointment duration is carried through later supported reschedules, without changing other appointments or the type's default.

Newly written Google event descriptions contain a normal system sign-in link instead of a private appointment-management capability. An update replaces the earlier description. The Google guest list is retained, and this application does not send attendee invitations through that write. Existing calendar sharing and manually invited guests can still see ordinary event details; the agent controls those sharing permissions in Google.

See Editing scheduled appointments for availability, corrected-contact notifications and preservation of optional preparation information.

What connects

Agent's calendar Connection in this system Result
Google Calendar Google authorization Read busy events; create, move, and cancel the agent's booked appointments.
iCloud Calendar Apple account email and an app-specific password Read busy events and write appointments through CalDAV.
Yahoo Calendar Yahoo account email and a generated app password Read busy events and write appointments through CalDAV.
iPhone / iPad Calendar Connect the Google, iCloud, or Yahoo account that the device displays Appointments appear on the device when that account's calendar sync is enabled.
Android calendar app Connect the underlying Google account, or a supported calendar account used by that app Appointments appear through the device's account sync. Yahoo may require a compatible CalDAV app.

An iPhone or Android device is not itself a cloud calendar provider. An event saved only to a device-local calendar cannot be read by this server. Move such events to a connected account when you want them to block booking time. Yahoo documents its CalDAV endpoint and notes that Android's default calendar does not directly support Yahoo CalDAV. Yahoo connection instructions · Yahoo on Android

Choose calendar behavior

Open Calendar connections from the agent's dashboard, connect an account, and select a calendar from the returned list.

Existing future appointments are delivered when a write connection is enabled. The connection status must become Connected after the first synchronization. Any connection error explains what needs attention.

Google Calendar: administrator setup

One Google OAuth application can serve the agents in this installation; each agent separately authorizes their own Google account.

  1. Create or select a project in Google Cloud Console, and enable the Google Calendar API.
  2. Configure the OAuth consent screen for the intended audience, with your application name, support email, domain, and privacy information.
  3. Create an OAuth client of type Web application.
  4. Copy the exact Google redirect URI shown in this system's administrator Settings into the client's authorized redirect URIs. For a sample installation at https://example.com/appointments, it is https://example.com/appointments/oauth.php. The scheme, host, subdirectory, and filename must match.
  5. Save the client ID and client secret in administrator Settings. Use HTTPS for the installation URL.
  6. If the Google application remains in Testing, add the agents as test users. For use beyond testing, complete the publishing and verification steps required by Google for your audience and permissions.
  7. Each agent selects Connect Google, signs in to the desired account, grants the two calendar permissions, and selects a calendar when they return.

The application requests calendar.events and calendar.calendarlist.readonly, plus offline access so cron can synchronize without keeping the agent's browser open. Google documents the web application flow, redirect URIs, permission scopes, and verification requirements. Google OAuth setup · Calendar scopes and verification

If authorization is revoked, expires, or is limited by a Google Workspace administrator, reconnect after resolving that account or application setting. Google OAuth tokens are not permanent credentials. Google OAuth token lifecycle

iCloud / Apple Calendar

  1. Ensure the Apple account uses two-factor authentication.
  2. At account.apple.com, open Sign-In and Security → App-Specific Passwords and generate a password for Agent Booking NOW.
  3. In the agent's Calendar connections, choose iCloud and enter the Apple account email and the generated app-specific password.
  4. Select the intended iCloud calendar and choose its busy-time and write behavior.
  5. On the iPhone, iPad, or Mac, enable Calendar for that same iCloud account and show the selected calendar.

Use the generated password in this application. Apple states that changing or resetting the primary Apple account password revokes its app-specific passwords; reconnect with a newly generated one after that happens. Apple app-specific password instructions

The application discovers the calendar through https://caldav.icloud.com/ and Apple's authorized CalDAV shard hosts. You do not have to determine the account's calendar URL yourself.

Yahoo Calendar

  1. Open Yahoo account security and generate an app password for Agent Booking NOW.
  2. Choose Yahoo in the agent's Calendar connections and enter the Yahoo email and generated password.
  3. Select a calendar and its busy-time/write behavior.
  4. Confirm that the connection status is Connected and test both directions.

The application uses https://caldav.calendar.yahoo.com/, the endpoint documented by Yahoo. App-password generation is controlled by Yahoo and may not be available to every account immediately. If Yahoo does not offer a password, the system cannot bypass that restriction. Yahoo calendar access · Yahoo app passwords

What happens when something changes

Change System behavior
A client books on the agent PURL The local appointment is reserved, confirmations/reminders are queued, and selected write calendars receive the appointment.
The agent adds a personal event outside this system Its busy period blocks new public appointments after the next successful sync. The event stays in its original calendar.
The agent moves a system-created appointment in a connected calendar The appointment time is updated here, other selected write calendars are updated, and update notices are queued for agent and client.
The agent deletes a system-created appointment in a connected calendar The local appointment is cancelled and cancellation notices are queued. The cancellation also reaches other selected write calendars.
An app appointment is cancelled or rescheduled here The corresponding managed calendar events are changed, and the reminder schedule is replaced.
A connected calendar cannot be checked New availability pauses for required busy calendars; existing appointments remain stored.
An outside edit makes confirmed appointments overlap, or overlaps unrelated busy time including buffers The system flags a sync error and pauses additional availability. It does not silently cancel either conflicting event. Resolve the times and synchronize again.
The same appointment is moved here and outside before either change synchronizes A conflict is shown. Set the outside event to the time shown in this system, then synchronize again.
A connection is disconnected The credential and local sync cache are removed. Existing events in that calendar are retained.

Only events created by this system are edited or deleted by its synchronization worker. Ordinary external events are used to check availability. Moving an existing appointment into a conflicting time directly in another calendar can create a real scheduling conflict before this system detects it; no self-hosted booking application can atomically lock a separate provider's calendar while an owner edits it.

Timing, recurrence, and client calendars

Set up the every-minute cron command shown in administrator Settings. Cron processes calendar synchronization and reminder delivery. Public availability also refreshes required calendar data when its successful snapshot is older than 60 seconds. These are polling connections, so provider latency, worker load, and network delays can affect when a change appears. There is no promise of instantaneous device updates.

Google expands recurring events through its API. CalDAV calendars use the bundled Sabre VObject parser for recurrence, exclusions, overrides, all-day events, and daylight-saving transitions. Unsupported rules, unknown time zones, excessive responses, or incomplete reads pause availability rather than making uncertain time appear free. A system-created appointment must remain one timed appointment; converting it to an all-day event or recurring series requires restoring that form before sync resumes. Google event listing · Sabre recurrence support

Clients receive calendar invitations and can use Add to Google, Add to Yahoo, or the downloadable ICS file for Apple and other compatible calendars. Their calendar application may ask them to accept or save the invitation. The system cannot silently write to an unconnected client's private calendar. Accepting the email invitation gives supported calendar applications a stable appointment identifier for update/cancellation invitations; a manually copied event made with an add-to-calendar link is a separate copy and may need to be changed manually.

Agents with a configured write connection receive email confirmations/reminders without an additional email calendar attachment, to avoid duplicating the automatically synchronized appointment. Agents without a write connection can use their invitation attachment.

Verify after installation

Use an agent account and a test client email you control:

  1. Connect a calendar, select it, synchronize, and confirm Connected status.
  2. Add an ordinary busy event in the external calendar and verify its time cannot be booked on the PURL.
  3. Book another available time and verify that the appointment appears in the selected calendar and both confirmation emails arrive.
  4. Move that created event in the outside calendar, synchronize, and verify the updated time and both update notices.
  5. Cancel that test appointment and verify the calendar event and client-facing status.
  6. Confirm the cron health indicator and test a reminder with a short lead time.

Automated tests exercise provider requests through a mock transport, calendar payloads, recurrence, conflicts, encryption, and synchronization behavior. Real Google, Apple, Yahoo, and email accounts must still be validated on the installed server; no live account credentials were supplied with this build.

Version 1.5.0 health and reconnect

Home and Calendar connections show worker freshness, last successful refresh, pending calendar writes, disabled/incomplete connections, and errors. No active calendars is shown explicitly; it does not imply provider synchronization is current. Health is a diagnostic snapshot, not proof that another calendar owner cannot change an event afterward.

Use Reconnect on an existing connection when authorization expires. Google returns through the same OAuth callback; iCloud/Yahoo need a fresh app password for the same account. The server verifies access to the existing selected calendar, including required write permission, before replacing encrypted credentials. Connection ID, chosen calendar, busy/write options, and remote appointment/travel mappings remain in place. A failed verification keeps the old credentials. Use the existing calendar selection tools for an intentional calendar change.

Back to guide navigation

Home appointments and optional travel estimates

Agent Booking NOW v1.8.4 · Schema 7

Automatic travel calculations default off, including when a saved key exists without an explicit enable setting. A deliberate administrator choice made since v1.8.3 is retained by this update. Home customers enter their address and select See available times. New Home appointments reserve the appointment duration and its normal buffers, without adding driving time or a travel allowance. Google Routes is unnecessary in this mode.

Update your existing installation

Use Agent-Booking-NOW-v1.11.0-Signed-Update.zip for an exact v1.8.0, v1.8.1, v1.8.2, v1.8.3, v1.8.4, v1.9.0, v1.10.0 or v1.10.1 installation. A v1.7.0 installation first needs the previously released v1.9.0 update. Download a current encrypted backup and retain its recovery key, then upload the intact signed ZIP under System care → Update. Review and apply it, complete finalization, and reopen the workspace. The target is schema 8; an update does not need a new setup key. See Maintenance for the complete supported paths and recovery steps.

Existing accounts, addresses, appointments, calendar mappings, encrypted credentials and travel preferences are retained. Turning off automatic travel does not shorten any confirmed appointment's existing reservation.

Use Home appointments with automatic travel off

  1. As an administrator, open Settings → Home visit travel estimates. Leave Automatically reserve travel time for Home appointments off and save if you changed the form.
  2. In the agent's Profile & booking page → Office & home visits, enable Offer Home appointments when this appointment type allows them. Save the profile. A private starting address is optional while automatic travel is off.
  3. Edit the relevant Appointment type, check Home, review Location readiness, and save. Agents and services still decide whether Home is offered; the update does not enable it on their behalf.
  4. Open the agent PURL or team page. Choose Home, enter the full customer address, select See available times, and complete a test booking with details you control.

The customer now enters Street address, optional Address 2 / Apt, City, State, and ZIP code. Street, city, state and ZIP are required. The form combines them into the existing complete appointment address and preserves apartment/unit information, leading-zero ZIP codes and ZIP+4 values. The system requires an address but does not geocode it or check drive distance in this mode. The agent uses the saved address for the appointment and can open directions independently.

What affects available times

Item With automatic travel off
Appointment duration Reserved normally
Appointment type's before/after buffers Reserved normally
Working hours, time off and notice Enforced normally
Connected-calendar busy periods Enforced through the existing calendar checks
Daily booking and Home limits, minimum gaps Enforced normally
Outbound/return driving time Not added to new Home bookings
Saved travel allowance and maximum drive Not used for new address-only bookings
Google Routes key or quote Not required or requested

A 1:00–2:00 PM Home visit with no service buffers reserves 1:00–2:00 PM. If the appointment type has a 15-minute buffer before and after, it reserves 12:45–2:15 PM. The customer's selected time is the actual appointment start. Availability is checked again at confirmation; viewing a slot does not reserve it.

The address is included in the review, saved appointment and calendar invitation. Client invitations show the actual appointment time and destination; they do not contain a private agent starting address. The same address-only behavior applies to individual and team bookings, waitlist checks and eligible rescheduling.

Existing bookings and rescheduling

Confirmed bookings retain their saved location and reservation. A Home reschedule keeps the original customer address. Contact the agent to arrange a different destination or meeting format.

Normal change cutoffs, working hours, current calendar busy time and final conflict protection continue to apply.

Directions and the private Travel planner

Agents can open the saved destination in Google Maps, Apple Maps, or Waze. Where a saved origin is available, the agent's route links can include it. Waze navigates from the device's current location. Opening a navigation app does not change the appointment or add travel blocks.

While automatic travel is off, the private planner can show the day's visits and directions but does not refresh Google driving estimates. It does not label an address-only visit as a zero-minute route or invent a departure time. Historical appointments can still show travel that was already reserved. The planner never moves appointments, shortens saved reservations or rewrites calendar events.

Optional: enable Google travel calculations later

This section applies only when an administrator deliberately turns on Automatically reserve travel time for Home appointments. A saved key alone does not enable it.

  1. In the owner's Google Cloud project, enable Routes API and billing. Create a server API key for the existing Compute Routes integration. This is separate from Google Calendar's OAuth client ID and secret.
  2. Restrict the key to Routes API and, where supported, the hosting server's stable outbound IP addresses. Server calls do not use browser-referrer restrictions. Review the provider's current pricing and choose project quotas.
  3. In administrator Settings → Home visit travel estimates, enable automatic travel, enter the Routes key and save. A blank key field preserves the encrypted stored key; the explicit removal checkbox clears it.
  4. For each participating agent, save a complete private Travel starting and return address, enable Home visits, and review the extra allowance and maximum drive each way. The profile's public Office address is a separate field.
  5. Check Home on each intended appointment type. Preview a Home booking and verify its address estimate and full reserved interval before sharing the link.

Official setup and usage references: Routes API key setup and Routes API usage and billing. No Google subscription or API credit is included with this application.

When automatic travel is enabled

The client enters the full address and chooses Check travel & available times. The page explains that the necessary origin and destination addresses will be sent to Google for the estimate. The server obtains outbound and return estimates separately; the return duration may differ. Both routes and address matches must be usable and within the agent's range. The integration uses driving estimates without live traffic and does not track the agent's current location.

An encrypted estimate is bound to the agent, appointment type, address and travel configuration. It expires after 20 minutes. Changing the address or configuration requires a new estimate. A missing or failed estimate cannot create a new routed Home appointment without travel protection.

The complete reservation includes the normal buffer before, outbound drive plus allowance, appointment duration, return drive plus allowance, and normal buffer after. For example, a 1:00–2:00 PM visit with 45 minutes each way and no other buffers or allowances occupies 12:15–2:45 PM. It must fit working hours and avoid other occupied periods. The client books 1:00 PM. Private agent details show the departure, visit, return and occupied interval; client invitations retain only the appointment and destination.

The travel allowance can be 0–120 minutes per leg; the maximum estimated drive can be 5–480 minutes each way. These preferences remain stored when automatic travel is disabled but are not applied to new address-only bookings. Each routed booking reserves its own round trip. The planner's optional direct-stop estimates do not replace those reservations.

Verification and practical limits

Validation records the completed automated and update checks. Provider transports use local fixtures during release testing. Live calendar delivery and reminders require the installed server's configured connections and scheduled worker. This signed update includes the server and integrated web/mobile workspace; it does not contain a newly compiled native app-store binary.

Back to guide navigation

SMS-Gate appointment texts

Agent Booking NOW includes optional appointment texts through SMS Gateway for Android (SMS-Gate). The settings are part of the main booking installation. The integration uses your SMS-Gate account and selected Android sending phone; it does not use Twilio or copy credentials from another application.

The system-wide SMS-Gate transport starts disabled until an administrator configures it. Once configured, agent appointment texts default to the phone number in each agent's profile; existing explicitly saved disabled preferences and STOP suppression remain effective. Existing clients are not automatically opted in. Email confirmations and reminders continue to use the existing email settings.

Administrator setup

  1. Open Settings → SMS-Gate text messages and leave texting off for initial configuration.
  2. Enter the Cloud Server username and password shown in the Android SMS-Gate app. The default API base is https://api.sms-gate.app/3rdparty/v1. Choose Save SMS-Gate settings.
  3. Choose Check saved connection. This uses saved credentials to read the device list; it does not send a text or prove carrier service. Select the intended sending phone, enable texting, and save again. Automatic selection is available only when the account has exactly one device.
  4. Open Delivery updates & opt-out replies. Copy the phone's Settings → Webhooks → Signing Key into the signing-key field and save. Paste the exact literal value, including any +, /, or =; it is not decoded from Base64. Keys of eight or more characters are accepted for compatibility with existing setups.
  5. Choose Register this system’s webhooks. This registers sms:received, sms:sent, sms:delivered, and sms:failed for this installation's callback without removing other applications' callbacks.
  6. Choose Queue a test text with a number you control. The scheduled worker submits the requested test. Review history to distinguish gateway acceptance, phone sending, partial delivery, and confirmed delivery.

The Android phone must have its SMS-Gate Cloud connection enabled, internet access, and a working SIM capable of sending the texts. Phone, carrier, and SMS-Gate service limits still apply. Keep the existing every-minute scheduled worker configured on the hosting account.

Passwords and webhook keys are encrypted in application settings. The settings page reports whether a secret is stored; it does not return the secret to the browser. Leaving a secret field empty preserves the saved value unless its explicit clear control is selected.

A shared phone used by other systems

The appointment installation uses its own callback URL:

https://yourdomain.com/appointments/api.php?action=sms_gate_webhook

Use the exact URL displayed in Settings. A different installation folder produces a different URL.

Configuring appointment webhooks adds only missing registrations for this URL, the selected device, and the four supported events. It never deletes another application's webhook or changes the phone's global settings. Repeating configuration reuses existing matching registrations. An existing account-wide registration for the exact same appointment callback and event already covers the selected phone, so the system reuses it without adding an overlapping hook.

Do not replace the handset signing key just to configure this application if your other applications already rely on that key. Copy the existing key into each application's own appropriate settings instead.

Incoming ordinary replies are not interpreted as booking commands. For example, an ambiguous YES does not confirm, change, or cancel a booking. Clients use the secure appointment link to confirm attendance or manage the appointment. The signed inbound integration handles the opt-out words STOP, STOPALL, UNSUBSCRIBE, CANCEL, END, and QUIT, and the opt-back-in words START and UNSTOP. These affect this appointment installation's suppression list. Other applications sharing the phone retain their own behavior and settings.

Agent and client preferences

From version 1.13.2, agents without a saved preference receive appointment texts at their profile phone by default once SMS-Gate is configured. This includes new and bulk-imported accounts with a usable phone number. The account email continues to receive appointment emails independently. Personal PURL, team, waitlist-completed and agent/admin-created bookings all use the same notification path, for Office, Home and Over the Phone appointments.

Open Notifications → Agent appointment notifications to review email and text readiness. Leave Different mobile number (optional) empty to follow the profile phone, or enter a different mobile number if the public profile phone cannot receive texts. A previously saved separate number remains selected. The selected SMS recipient is private and is never published as the client-facing agent contact. The sending phone remains the administrator's selected SMS-Gate device.

Existing saved disabled preferences are preserved, as are recorded STOP requests. The panel explains an unavailable channel, including missing/invalid recipient, disabled preference, STOP suppression or provider setup. Missing SMS configuration or a usable number does not reject a booking or suppress its agent email. Phone-format validation cannot establish that a landline is SMS-capable.

New appointment confirmations, changes, cancellations and eligible upcoming reminders use the current agent destination. When the profile number or notification preference changes, only eligible future agent reminders that have never had a send attempt can be refreshed. Already-attempted messages retain their stored recipient, encrypted body and provider identifier for reconciliation. Saving preferences does not replay historical confirmations.

Clients explicitly choose text reminders while booking. Only clients who choose this option are queued for texts. The existing privacy acknowledgement alone does not grant text-message consent. A valid mobile number is required for SMS; clients can continue using email reminders without opting into texts.

For SMS destinations, ten-digit U.S. numbers automatically receive the +1 prefix. Clients and agents do not need to type the country code for those numbers:

Entered number SMS-Gate destination
2125550100 +12125550100
212-555-0100 +12125550100
(212) 555-0100 +12125550100
1 212 555 0100 +12125550100
+1 (212) 555-0100 +12125550100
+44 20 7946 0958 +442079460958

The examples illustrate formatting only. International numbers must include + and the country code; an initial 00 is also recognized. A number already carrying a country code is not prefixed again. Extensions, letters, multiple numbers and short local numbers are not accepted as SMS destinations. Validation does not prove that a number is assigned, belongs to a mobile subscriber, or can receive texts.

Version 1.11.1 retains the established normalizer and also applies canonical comparisons to legacy saved destinations, SMS preference suppression and waitlist eligibility. A never-attempted queued message is normalized as part of its first send claim. This does not bulk-edit contact records or replay a skipped/failed historical message. Once a job has had a dispatch attempt, its stored recipient, encrypted body and provider identifier stay unchanged for status checks and any eligible same-ID retry.

These destination rules apply when texts are selected. An ordinary Over the Phone booking has a separate required calling-number field before time selection, accepts familiar formatting and an optional extension, and does not require a leading + or grant SMS consent. See Booking locations.

The secure appointment-management page can turn texts off for that appointment. Turning them on schedules only eligible future reminders; it does not replay historical confirmations. A recorded STOP cannot be cleared by a booking checkbox. The recipient must send START or UNSTOP from that number to the configured sending phone before enabling texts again. An inbound START clears suppression but does not create new client consent or replay old messages.

Text templates include the brand, the appointment date and time in the recipient's time zone, and the appropriate link. They omit private notes and home addresses. Client links permit appointment management; agent messages use the authenticated main workspace link. Message bodies are encrypted in the queue, and the visible history masks recipient numbers and does not expose management tokens.

Notification-only sender and direct agent contact

Client confirmation, upcoming reminder, appointment-change, cancellation and waitlist texts explain:

This number sends appointment reminders only. Replies are not monitored. For changes, contact your agent directly.

The actual message names the assigned agent and supplies available public profile phone/email details; the agent’s booking page is the fallback when direct contact is unavailable. Keep each agent’s public profile current. The sender may be an administrative SMS-Gate phone shared by many agents, so it is not a substitute for the assigned agent’s contact number.

Existing eligible messages that have never had a send attempt receive the current notice before their first dispatch. Already attempted messages keep their original text and identity; the update does not send a replacement merely to add this notice. The notice is separate from automated STOP/START handling. A Reply STOP instruction remains when the installation’s signed callbacks are configured. Ordinary replies do not request appointment changes.

Receiving both email and text reminders

Appointment email and SMS queues operate independently. The assigned agent receives email at the account email and, by default, SMS at the profile phone when both channels are ready. A saved separate SMS number overrides the profile destination. Explicitly disabled preferences and STOP remain respected. A client's choice of email only or text only does not change the agent's channels.

Client email uses the saved appointment email when selected. Client SMS uses the configured SMS-Gate device, a normalized mobile number, explicit client consent and an eligible unsuppressed message. The agent default does not grant or change client permission.

The scheduled worker must run every minute and each agent must have reminder times configured. Email transport must be enabled for email, and SMS-Gate must be enabled for text. A failure or disabled transport in one channel does not turn off the other channel. The update preserves these existing settings and permission choices; it does not automatically enroll earlier clients in texts.

Edit appointment confirmation texts

Administrators can open Settings → Appointment confirmation texts, below SMS-Gate settings, to change the wording sent when an appointment is first booked. There are separate Client confirmation and Agent confirmation editors. These are system-wide templates; the assigned agent and recipient details are filled in for each booking. Reminder, change, cancellation and dedicated preparation-invitation wording are separate.

  1. Edit the client or agent message using plain text. Use the insert buttons to add supported placeholders at the cursor.
  2. Keep {{appointment_time}} in each template. It includes the appointment date, time and the recipient's time zone.
  3. Preview the message using example people and an example appointment. The preview includes the automatically added links and sender guidance. It does not access a real client's appointment or send a text.
  4. Choose Save confirmation texts. Invalid placeholders or an incomplete message keep your draft available for correction. A conflicting newer administrator save must be loaded before replacing it.
  5. Restore default puts the original wording back into the editor. Save to apply that change.

Available placeholders:

Placeholder Value
{{brand}} System display name
{{client_name}} Client's full name
{{client_first_name}} Client's first name
{{agent_name}} Assigned agent's name
{{agent_phone}} Agent's public profile phone, not the private SMS destination
{{agent_email}} Agent's account email
{{service_name}} Appointment type name
{{appointment_time}} Full appointment date, time and recipient time zone; required
{{appointment_date}} Appointment date in the recipient's time zone
{{appointment_clock}} Appointment time in the recipient's time zone
{{time_zone}} Recipient time-zone name
{{location_type}} Office, Home, Over the Phone or the saved meeting type

For example:

Hi {{client_first_name}}, your {{service_name}} appointment with {{agent_name}} is confirmed for {{appointment_time}}. We look forward to speaking with you.

The editable body is limited to 1,500 characters. The preview reports the rendered message's character count; it is not a carrier billing or delivery estimate. The system automatically adds the client's private appointment-management link and reminder-only/direct-agent-contact notice, or the agent's authenticated schedule link. The existing STOP guidance remains when SMS-Gate callbacks are configured. Do not paste those system-managed links or a medication-editing capability into a global template.

Changes apply to new confirmation jobs and eligible confirmations that have never had a dispatch attempt. Saving a template creates no messages and does not resend earlier confirmations. Already-attempted messages retain their exact body, recipient and provider identifier so retries can reconcile the same message. Before the first attempt, ordinary client texts also receive the current wording without the automatic medication-editing section.

Template settings are saved separately from SMS-Gate credentials. Editing or previewing a message does not enable/disable the transport or change its sending phone. Templates are retained by the existing backup/restore settings inventory and require no schema change.

Advanced settings

The default Cloud API works with the public SMS-Gate service. A privately hosted SMS-Gate backend can use its public HTTPS API endpoint, commonly:

https://sms.yourdomain.com/api/3rdparty/v1

Enter the API base, ending in /3rdparty/v1, not the final /messages URL. The integration requires a publicly reachable HTTPS domain on the standard HTTPS port, a valid TLS certificate, and public DNS addresses. Direct LAN phone addresses, HTTP URLs, redirects, and URLs containing credentials are not accepted. This protects the server and prevents credentials from being forwarded to an unexpected destination.

SIM selection can use the device default or a supported SIM index from 1 to 3. The per-minute limit controls how many messages this installation attempts to submit; it does not modify the phone's own carrier limits, working hours, or sending delays. Requests use normal priority and do not bypass those handset controls.

Changing the API account, base URL, selected device, or SIM prevents already queued messages from silently switching to a different sender. New booking activity uses the new settings. Password rotation for the same account retains stable message identifiers.

What delivery states mean

State Meaning
Pending Waiting for this installation's scheduled worker.
Accepted SMS-Gate accepted the message or is processing it; handset delivery is not confirmed.
Sent The sending phone reported sending it; delivery is not yet confirmed.
Partially delivered At least part of the message was reported delivered, but complete delivery has not been established.
Delivered Signed delivery receipts account for every expected message part, using the actual part count reported by the phone.
Uncertain A connection or acknowledgement failed; the worker checks the same message identifier before retrying.
Failed The gateway rejected the message or reported a failure.
Unconfirmed Acceptance or delivery could not be verified; a new message ID is not generated automatically.
Skipped The message became obsolete, expired, or lost the recipient's permission before dispatch.
Cancel pending Cancellation was requested or the gateway reports Cancelling; the system is waiting for the phone's final result.
Cancelled The gateway confirmed that the phone cancelled the pending message. A cancellation-request acknowledgement alone does not set this state.

An API acceptance response does not prove delivery. SMS-Gate emits a delivered webhook for each part of a long message, and its API can also report Delivered when only one part arrived. The system therefore uses the phone's actual part count and unique signed part receipts before showing Delivered. If the count or receipts are missing, the message remains Partially delivered. A later failure is shown even after earlier delivery reports. Some carriers or phones do not supply a final delivery report, so a message may remain Sent even when the recipient received it.

Each outgoing message has a stable unique ID. When a network timeout leaves acceptance uncertain, the worker queries that ID before retrying. It does not invent a second ID to work around an uncertain result. Pending messages also carry an expiry, so an offline phone is not instructed to deliver a stale reminder indefinitely.

SMS-Gate Cloud may replace processed recipient numbers with a shortened SHA256 hash. Status polling recognizes the hash of the exact number submitted by this installation while still checking the stored message ID and sending device. A hash for a different recipient cannot confirm a message.

Changing or cancelling an appointment suppresses its obsolete unsent reminders. The worker also attempts to cancel older messages that are still pending at SMS-Gate. A text already handed to the phone or carrier cannot reliably be recalled; the updated or cancellation notice remains a separate message.

Backups, restore, and updates

SMS settings, preferences, and suppression records are included in encrypted backups. The release updater preserves the main installation and its agent data. Normal restore does not replay old outbound SMS jobs or old webhook receipts. Only eligible future reminders may be rebuilt from restored bookings, and outgoing delivery remains paused until the administrator resumes operations through System care.

After restoring on a different domain or installation path, review the callback URL and configure the appointment webhooks for that destination. Existing registrations belonging to other systems are not removed automatically.

Verification limits

Automated tests use an isolated database and a simulated SMS-Gate transport. They cover consent, scoped history, signing, device selection, queue states, expiry, opt-out handling, duplicate protection, lost acknowledgements, cancellations, and maintenance pauses. No live text is sent by the tests, and passing them does not verify your phone, account credentials, SIM, or carrier delivery.

Official SMS-Gate references

This release supports the username/password authentication used by existing SMS-Gate installations. The provider also documents JWT authentication; bearer-token management is not part of this release's settings.

The agent's New appointment form can select text alone or alongside email. Text-only appointments can leave email blank. The agent must confirm the client's permission to receive appointment texts; existing STOP suppression still applies. Public booking keeps its existing email requirement and optional SMS consent.

From v1.13.3, routine appointment confirmation, reminder and appointment-change texts do not include the private medication and doctor editing link. The ordinary appointment-management link remains, and email editing invitations remain available. An explicit Send client editing link action uses the same saved contact/consent settings. Link invitations expire and are skipped when the appointment, contact identity or capability is no longer eligible. Already attempted SMS messages keep their exact provider identity/body for reconciliation. Actual medical values and photos are never copied into these messages.

A saved client review change emails the assigned agent through the configured mail service. This is a separate outbox from SMS-Gate, processed by the same scheduled worker. See Agent appointments and client editing.

Back to guide navigation

Live appointment and lock-screen notifications — v1.14.0

Agents can receive visible phone alerts while the workspace is closed or the phone is locked, after enabling notifications on a supported device. Live activity also appears inside the open workspace. Both use the same Agent Booking NOW installation and agent account.

Administrator setup

  1. Apply the signed v1.14.0 update through Administration → System care → Update, complete finalization and use the installation's HTTPS address.
  2. Open Settings → Background phone notifications, enable the feature and enter a service contact such as mailto:admin@example.com.
  3. Save. The installation generates VAPID notification keys only if needed; the private key is encrypted. Existing keys and enrolled devices survive ordinary updates.
  4. Keep the every-minute scheduled worker running for retries, remaining queued work and upcoming reminders.

PHP needs cURL, mbstring and OpenSSL with P-256 support. The sender and dependencies are bundled; your host needs neither Composer nor Node.js. Integrated Web Push does not require a separate Firebase project, Expo account or Apple Developer Program membership. The server must be able to reach supported browser push services over HTTPS. Saving the setting does not grant permission on an agent's phone. Existing disabled choices remain disabled.

Agent setup

  1. Sign in with the agent's own account on the device.
  2. Open Notifications → Lock-screen notifications, or Inbox in the phone's bottom menu.
  3. Choose Enable on this device, then allow notifications when the device asks.
  4. Name the device, choose the appointment alert categories, and save.
  5. Optionally select Show appointment time and meeting method.
  6. Choose Send test notification and check the phone itself, including its Lock Screen.

An administrator viewing another agent's schedule still enrolls devices for the administrator's own account. Permission is requested only after a deliberate tap. A blocked permission must be changed in the device/browser settings; retries cannot override it.

iPhone or iPad

Use iOS/iPadOS 16.4 or later. Open the HTTPS workspace in Safari, choose Share → Add to Home Screen, then open that installed app, sign in and enable notifications there. Leave Open as Web App enabled if offered. The device's notification settings control Lock Screen, Notification Center and banner display. Menu wording varies by OS version. Apple documents these requirements in Web Push for Web Apps on iOS and iPadOS.

Android

Use a browser supporting Web Push, such as Chrome. Choose Install app or Add to Home screen for the integrated app window, then enable notifications. Browser and Android settings control display and sound. An embedded browser inside another app may not support push; use the supported browser or installed app. See Google's Push notifications overview.

After an update

Finish active forms, close all workspace windows and reopen the installed app so the new notification worker can activate normally. It does not forcibly take over an active form. An older worker can continue generic alerts; the panel explains when reopening is needed for the optional time preview. No new setup key is required.

This updates the integrated phone workspace, without a separate phone build. It does not build or replace a historical native APK/IPA. Previously configured native Expo devices use the improved shared server dispatch and retain generic payloads.

Appointment activity

Activity Alert category
Personal PURL, team, accepted waitlist, or agent/admin-created booking New appointments
Appointment edit or reschedule Changes
Cancellation Cancellations
Client attendance confirmation Changes
Actual client preparation edit Changes; generic Preparation updated message
Upcoming reminder Reminders; created when due by the scheduled worker

New device enrollment does not replay history. Saving identical preparation information or retrying a completed request creates no additional event. An agent's own preparation edits do not generate a client-change alert back to themselves.

Lock-screen content and opening an alert

By default, notifications are generic: New appointment — Open your workspace to view the appointment. The optional Show appointment time and meeting method setting adds the scheduled time in the agent's time zone and Office, Home, Over the Phone, Video or Appointment. This choice starts off for existing and new devices. The worker formats restricted fields rather than displaying arbitrary text.

Client names, emails, phone numbers, street addresses, private notes, service descriptions, medications, doctors, photos and private editing/management links never enter these push payloads. Full details are fetched inside the authenticated workspace. Tapping an alert checks the intended account and offers an explicit Open appointment action when needed, preserving an existing form until the agent chooses to open it. Supported app icons receive unread badges.

Immediate delivery and live updates

Each event and its durable push jobs are recorded with the appointment transaction. No push is sent from an uncommitted or rolled-back transaction. At request completion, the application attempts a bounded immediate send for that request's new committed events, selected ahead of unrelated older jobs. Appointment push requests use high delivery urgency.

PHP-FPM can finish the response before the send attempt. Other hosting uses a bounded request-end fallback. Best-effort outbound calendar synchronization runs after the push attempt when the response has been successfully finished; otherwise the existing scheduled worker handles outbound calendar writes. Pre-booking availability and conflict checks still run before the appointment is accepted. A provider failure does not undo the appointment or turn its successful response into a delivery error. Busy queue locks, temporary errors and exhausted quick-send budgets leave jobs for the scheduled worker. Retries retain backoff and duplicate protections; due reminders remain independent of email configuration.

While the workspace is visible, its authenticated live stream receives changes as they become available. When streaming is unavailable, visible workspaces poll approximately every five seconds and catch up on return to the foreground. New events update the Inbox/unread count and show a banner without discarding form input. Background alerts use real push, without depending on a suspended phone page.

Immediate server dispatch does not guarantee immediate screen display. Internet connectivity, hosting load, the push service, OS settings and Focus/Do Not Disturb can delay or hide an alert. Sound, vibration and Lock Screen preview visibility belong to the phone/browser. An Accepted by push service result does not prove display or reading; check the actual device during a test.

Preferences, security and recovery

Verification and first phone check

The bundled tests use synthetic transports, including independent Web Push wire-payload decryption and VAPID verification. They cover immediate delivery, rollback, account isolation, preferences, privacy, retries, expiry, recovery and form-preserving frontend behavior. See Release validation for executed checks and limits.

After installing, send a test to an enrolled phone and lock it. Then create one controlled appointment through the agent's PURL and check the alert and authenticated opening behavior. This final device check requires the real HTTPS installation and phone. Development verification sends no live messages and does not claim physical iPhone/Android delivery or deployment.

Primary implementation references

Back to guide navigation

Backups, recovery, and signed updates

Agent Booking NOW provides System care for administrators. It creates encrypted, portable backups and accepts signed application updates. Ordinary agents cannot open these controls. Every backup configuration change, manual backup, restore, update, deletion, recovery, and resume action requires the current administrator password and a valid page security token.

For version 1.14.0, the signed direct update supports v1.13.0, v1.13.1, v1.13.2 or v1.13.3 / schema 10 → v1.14.0 / schema 10. No database schema change is introduced.

Use Administration → System care → Update with the intact Agent-Booking-NOW-v1.14.0-Signed-Update.zip. Download a current encrypted backup and retain its recovery key first. The original publisher verification key is retained, and an existing installation does not need a new setup key. On a phone, Administration is under More.

Installed release Required sequence to v1.14.0
v1.13.0, v1.13.1, v1.13.2 or v1.13.3 Apply v1.14.0 directly
v1.12.0 Apply v1.13.0, then v1.14.0
v1.10.0, v1.10.1, v1.11.0, v1.11.1 Apply v1.12.0, then v1.13.0, then v1.14.0
v1.8.x or v1.9.0 Apply v1.11.1, then v1.12.0, then v1.13.0, then v1.14.0
v1.7.0 Apply v1.9.0, then v1.11.1, then v1.12.0, then v1.13.0, then v1.14.0

This download contains only the v1.14.0 signed update. Earlier steps use the previously released signed packages. Unsupported source versions, skipped schema stages, repeated installations and downgrades remain rejected. A standalone installer is only for a new empty directory and database.

A workspace already loaded at v1.13.1, v1.13.2 or v1.13.3 refreshes after this update has successfully finalized. If updating from a v1.13.0 tab, reload the full browser page once (Ctrl+F5 on Windows), or close and reopen the home-screen app. Navigating between sections is not a full reload. Same-version backups retain their ordinary completion behavior.

Version 1.14.0 improves immediate, event-scoped push delivery and adds clearer per-device lock-screen setup and optional appointment time/meeting-method previews. Existing VAPID keys, encrypted subscriptions and four-category device choices remain intact during an ordinary update. The new preview choice defaults off for existing devices. No schema change or historical event replay is introduced. Finish forms, close all workspace windows, and reopen the Home Screen app to activate the new worker normally; an old active worker can continue displaying generic alerts until then.

A historical backup restore retains its established security behavior: it discards device registrations and queued push jobs, signs users out and leaves operations paused. After the administrator reviews and resumes operations, each agent signs in and enables the device again. A restore does not replay old appointment notifications. A protective rollback retains its pre-operation state. Encrypted VAPID settings remain in the existing settings backup/rekey inventory. See Phone notification setup.

Version 1.13.3 adds administrator-editable client and agent confirmation SMS templates stored in the existing settings table. Existing backups include these values; restoring an older backup without them uses the default wording. Saving or restoring template settings does not replay historical confirmations. Routine client appointment texts no longer add the private medication-editing section; dedicated review invitations and email behavior remain available. New and never-attempted confirmations use the current template, while attempted messages keep their existing body and provider identity.

Version 1.13.2 defaults agent appointment texts to the profile phone when there is no saved separate SMS number or explicit disabled preference. Existing SMS-Gate settings, separate numbers, disabled choices and STOP records are preserved. Client consent is unchanged. A newly booked appointment queues agent email and eligible SMS independently of the client's choices. Open Notifications → Agent appointment notifications to review channel readiness. Saving the agent's text preferences also prepares eligible future reminders for appointments that already exist; it does not replay booking confirmations or past reminders.

After updating, the main index.php address shows the public feature website. Choose its top Log in button, or open index.php?login=1, to reach the workspace and System care. Existing ?app=1 native links and PURL/management/reset/calendar-return links keep their application behavior. maintenance.php remains the separate recovery entrypoint.

These features run on the PHP server without shell execution. PHP 8.2 or newer, ZIP, Sodium, PDO MySQL, cURL, OpenSSL, and the normal application extensions are required. The installation's private directory must be outside the application directory and protected from HTTP access. The normal installer uses storage outside the document root. Keep it there.

Version 1.13.0 adds editing of scheduled appointment details, type, time, duration and intake answers. It retains agent-created appointments and private medication/doctor editing from v1.12.0. It retains SMS destination handling and reminder-only sender guidance. It retains the medication-list photos introduced in v1.11.0 and the optional Medicare Review fields introduced in v1.10.0, collapsed behind Add Medications and Doctors. The professional interface, five Home address fields and default-off travel behavior remain included. An explicit automatic-travel choice already saved by an administrator is preserved. With automatic travel off, new Home bookings collect the client address and reserve ordinary appointment duration and buffers. Existing saved appointments, travel reservations and encrypted provider settings are retained. Review Settings → Home visit travel estimates before deliberately enabling automatic travel again.

The phone workspace is included in the main application update. Agents finish any active form and refresh or reopen their workspace after the update. Their home-screen icon continues to use the same installation address; no separate mobile package is needed.

Start with a recovery key

In System care → Backup schedule, generate a recovery key or supply a long, random secret. The application requires at least 20 characters; the generator provides 32 random bytes encoded as 43 URL-safe characters. Save the key in an offline password manager or another location independent of this hosting account. Save the form to use that key for scheduled backups.

The recovery key is separate from the administrator password, database password, and installation encryption key. You need the recovery key to restore an encrypted backup on a replacement server. Losing both the original server and the recovery key makes that backup unrecoverable. Changing the scheduled backup key does not change older backup files: keep the keys needed by older retained files.

The scheduled key is encrypted in the database using the installation key, so unattended cron backups can run. That makes a saved key recoverable by a person who controls the running server; it is not a substitute for securing the hosting account. A backup downloaded without its recovery key remains authenticated ciphertext.

What a backup includes

A downloadable .abnbackup file contains the known application database tables and profile photos. This includes accounts and password hashes, services, working hours, blocked periods, appointments, calendar mappings and credentials, settings, audit history, notification state, and native application records. Build 2 adds client relationships, private notes/outcomes, follow-up tasks, intake form definitions and immutable booking answers, waitlist requests/settings, scheduling rules, and date exceptions. Version 1.10.0 adds encrypted Medicare Review medication and provider snapshots; v1.11.0 includes medication-list photos, and v1.12.0 adds separately encrypted manual revisions, private editing access and generic review notification state. The original installation key is inside the encrypted payload so encrypted fields can be recovered on a different server.

The portable backup deliberately excludes the destination's database connection credentials, config.local.php, application source code, live PHP session files, hosting configuration, and release signing secrets. Keep the matching application installer and the recovery toolkit as well as your data backups. For a whole hosting account, very large data set, or custom database tables, also use the host's backup system.

Backup format details:

The current limits are 512 MB for an uploaded encrypted backup, 512 MB per expanded archive file, 768 MB expanded archive contents, approximately 24,000 profile photos, and 4 MB per JSON database row. PHP's upload_max_filesize and post_max_size can impose lower limits; System care displays them. Large installations should use hosting-level backup and a tested restoration plan rather than increasing these constants casually.

Manual and scheduled backups

Choose Create backup, enter your current administrator password, and use either a one-time recovery key or the saved scheduled key. Download the resulting encrypted file from the backup list. Creating a backup does not automatically copy it to another server. Download copies regularly and store them separately from this hosting account.

Daily or weekly schedules run through the existing cron.php worker. Choose an hour in UTC and, for weekly schedules, a UTC weekday; Sunday is 0. A missed due backup runs at the next successful cron opportunity. The status shows the last successful run and the last error. A failed attempt waits an hour before retrying, while a busy maintenance lock simply retries on a later cron tick. Scheduled backup does not require a logged-in administrator.

Retention is 2–60 local backup files. It counts manual, scheduled, and protective snapshots together, newest first; download important recovery points before normal retention ages them out. An active update/restore protects its required snapshot by blocking conflicting backup deletion and maintenance actions. Storage remains local until you download or otherwise securely copy the files.

Backups take the installation's exclusive maintenance lock. A busy request or worker causes a safe retry instead of taking an inconsistent snapshot. Normal web requests, mobile requests, and the scheduled worker hold a shared lock while they access the database. Live event streams release the shared lock while waiting and reacquire it for each poll.

Restore on the existing server

  1. Download a current backup and keep its recovery key safely before testing an older restoration.
  2. Open System care → Restore, select the encrypted backup, and enter its recovery key and your current administrator password.
  3. Review the source version, creation time, row counts, photo count, and warnings. The preview lasts 30 minutes and is bound to your administrator identity and password hash.
  4. Type RESTORE and re-enter your current administrator password to apply the preview.
  5. The system creates a fresh encrypted snapshot of the current state before changing data. It uses the currently configured backup key, or the uploaded backup's recovery key if no scheduled key is configured.
  6. After restore, sign in again using an administrator account contained in the restored backup. Accounts and password hashes come from the backup.

Restoration keeps the destination's base URL, private directory, database credentials, and installation encryption key. Calendar secrets, booking management tokens, secret settings, and Medicare Review snapshots/revisions are authenticated using the source key and re-encrypted for the destination. The destination's maintenance schedule and saved backup key remain in place. A backup from a newer application or schema is rejected; install the matching or newer supported release first.

Data replacement uses prepared inserts inside a database transaction. Table deletion follows foreign-key order and uses DELETE, not implicit-commit TRUNCATE. Profile photos are staged and swapped using directory renames with a durable recovery journal. A caught failure attempts to restore the full protected snapshot and original photos. Disk failures, process termination, or a broken PHP environment can prevent automatic completion; the maintenance barrier stays in place until recovery succeeds.

Operations stay paused after a user restore

Restoring database history cannot undo messages already delivered or change history already written to an external calendar. An appointment created after the selected backup may still exist in Google, iCloud, Yahoo, or another provider even though the restored database no longer knows it. An appointment in the backup may have since moved or been cancelled externally.

For this reason, new booking and booking changes, calendar synchronization, email/SMS/push workers, client portal access, and waitlist operations remain paused after a user-initiated restore. The administrator can still inspect the restored records and configuration. Check the source date, actual appointments, remote event mappings, and connected provider calendars before choosing Resume operations and typing RESUME. Reconnect or reconcile accounts as needed. Resuming does not automatically deduce which historical state is correct.

Restore also performs these explicit resets:

An automatic rollback of a failed update is different: it restores the pre-update notification state and settings, including the original recovery pause value, instead of treating that protective rollback as a user-requested historical restore.

Recover on a replacement server or without an administrator login

Install the same or a newer supported release on the replacement hosting account and create its destination database and private directory. Keep its new config.local.php; do not copy old database passwords into it. Upload the encrypted backup and a protected text file containing its recovery key outside the document root.

With hosting CLI access, run:

php maintenance.php restore /protected/backup.abnbackup --confirm=RESTORE < /protected/recovery-key.txt

This command uses server access and the portable recovery key instead of requiring an existing administrator login. It creates a protective snapshot of the destination, then applies the same validation, re-encryption, session revocation, and recovery pause as the web restore. The restored account passwords are the ones in the backup; use their normal password-reset flow if necessary. The destination database must already have been initialized by the installer.

Avoid placing recovery keys in command-line arguments, shell history, URLs, or world-readable files. The examples read the key from standard input. Remove temporary key files after use and retain the offline password-manager copy.

Useful commands:

php maintenance.php status
php maintenance.php backup < /protected/recovery-key.txt
php maintenance.php recover --confirm=ROLLBACK
php maintenance.php finish OPERATION_ID

recover rolls back an interrupted operation using its private journal and protected snapshot. It cannot be used as an arbitrary downgrade mechanism. finish finalizes an update whose replacement files have already been written.

Signed application updates from 1.1.0 onward

A normal installation ZIP is not an update package. Obtain the publisher's signed release ZIP. The application accepts only the Ed25519 public key already pinned in src/Release.php; it never trusts a key supplied with an upload.

In System care → Update:

  1. Upload the signed release and enter your current administrator password.
  2. Review the source/target versions, schema transition, file count, release notes, and warnings.
  3. Type UPDATE, enter your password, and provide a backup recovery key if none is saved.
  4. Keep the page open while the application writes the release and then automatically finalizes it in a second request.

Before replacement, the updater verifies the signed raw manifest, explicit supported source versions, newer target version, schema compatibility, PHP minimum, and additive migration declaration. Reapplying the same version and downgrades are rejected. Every listed file is size/hash checked. PHP source is parsed with TOKEN_PARSE before any application file changes. Duplicate paths, traversal, backslashes, symbolic links, special entries, unlisted files, oversized archives, and protected installation paths are rejected. Target file/directory permissions and free space are checked before approval.

The update upload limit is 128 MB, with the expanded ZIP limits described above. Source files, assets, bundled dependencies, documentation, and the supplied website/ directory may be updated. config.local.php, private data, setup secrets, and publisher signing keys cannot be targeted. The updater replaces declared files; it does not delete arbitrary files omitted from a manifest. Publishers should keep migrations additive and test the exact release package against every declared source version.

Under the exclusive lock, the updater creates an encrypted database/photo snapshot and saves preimages of every target application file. Each replacement uses a temporary file and same-directory atomic rename, followed by PHP OPcache invalidation where available. A durable block.json marker prevents regular requests and workers from proceeding with partially installed code. The final .htaccess is activated after migrations and integrity checks succeed.

Finalization is deliberately a new PHP request. PHP cannot safely unload already-defined classes from the previous release. The second request loads the new Core, Release, Migration, and Schema code before migrating. If a caught exception occurs, the updater attempts to restore the file preimages and database snapshot automatically. If the connection is lost, PHP is killed, or the new code cannot start, the marker keeps public requests blocked. Open maintenance.php for an authenticated recovery page, or use the independent recovery toolkit. PHP syntax checks cannot prove every semantic behavior of a future publisher release.

If the host serves stale PHP bytecode despite invalidation, the version check fails and the update rolls back. Ask the host to clear OPcache/restart PHP before applying it again. Do not delete the marker manually as a way to “fix” a failed update: that can expose mixed code or data.

The one-time v1.0.0 bridge

This section applies to the original v1.1.0 Upgrade Kit when migrating v1.0.0. The v1.6.0 Upgrade Kit supplies an independent CLI rescue tool plus the original v1.4.0 and v1.5.0 signed transition ZIPs, but does not include this legacy browser bridge. Version 1.0.0 does not contain an updater and its requests do not participate in the new lock. Do not upload the entire new application over an existing v1.0.0 installation before taking a backup. Instead:

  1. Extract only the separate upgrade-bootstrap/ directory beside the existing index.php and config.local.php. The directory contains its own trusted Core, Maintenance, and pinned Release libraries; no old application PHP file is overlaid at this step.
  2. Open https://your-installation/upgrade-bootstrap/ and sign in as an existing administrator.
  3. Upload and preview the publisher's signed 1.0.0 → 1.1.0 update ZIP.
  4. Disable the old cron job in the hosting panel.
  5. Use the bridge to create a temporary Apache .htaccess traffic barrier, or arrange an equivalent HTTP 503 barrier with the host. Allow only the bridge directory and maintenance.php through the barrier. The bridge probes the public index and refuses to proceed unless it returns HTTP 503. The original .htaccess is saved privately; this routing barrier is the only application-directory change before the snapshot.
  6. Wait at least the displayed drain interval, which is a minimum of two minutes, and confirm that earlier PHP requests have finished. Hosting support may need to verify or stop unusually long requests. The interval alone is not proof that arbitrary old requests have finished. The old worker lock is checked again during apply.
  7. Supply a recovery key, type UPDATE, and apply. The bridge creates the encrypted snapshot and target-file preimages before replacing application code.
  8. Follow Open new release and finish update. The new maintenance.php page loads the new runtime, verifies your current password, runs migrations, and activates the new traffic rules.
  9. Download the protective backup, re-enable the scheduled cron job, and remove upgrade-bootstrap/ from the public installation. Keep its offline recovery copy.

If the bridge is cancelled before file replacement, or an update is rolled back, its Restore original traffic configuration action restores the old Apache rules. For a host-managed barrier, restore traffic in the hosting panel. If the old cron job was not disabled or earlier requests cannot be drained, do not apply the one-time update.

If the new main application is semantically broken, the bridge's independent library can still attempt rollback. From the matching offline toolkit:

php upgrade-bootstrap/rescue.php /path/to/application status
php upgrade-bootstrap/rescue.php /path/to/application recover --confirm=ROLLBACK
php upgrade-bootstrap/rescue.php /path/to/application restore /protected/backup.abnbackup --confirm=RESTORE < /protected/recovery-key.txt

The rescue command loads its own PHP classes and the destination's guarded configuration, not the damaged application classes. Keep the recovery toolkit matching your installed release. A lost disk, corrupted protected snapshot/preimages, changed database credentials, or missing PHP extensions still requires hosting recovery; no web updater can repair those independently.

Publisher tooling and trust

tools/release.php is a CLI-only tool in the separate publisher toolkit; it is not supplied by this update-only download. Use the original owner signing key for updates to this installation family. The private JSON stays outside the application tree; only its public key is pinned in Release::UPDATE_PUBLIC_KEY. The JSON format is {public_key: base64(32 bytes), secret_key: base64(64 bytes)}. The owner of the private key controls which future releases installations will accept.

php tools/release.php prepare-bootstrap /path/to/completed/application
php tools/release.php build --source=/path/to/completed/application --key=/offline/release-signing-key.json --output=/output/Agent-Booking-NOW-v1.11.1-Signed-Update.zip --from=1.8.0,1.8.1,1.8.2,1.8.3,1.8.4,1.9.0,1.10.0,1.10.1,1.11.0 --min-schema=7 --minimum-updater=1.8.0 --notes=/offline/release-notes.txt

prepare-bootstrap refreshes the standalone rescue libraries after all release edits are complete. The build tool reads version/schema/public-key metadata from Release.php, checks that the private key matches the pinned public key, validates PHP syntax, excludes installation secrets and Composer temporary artifacts, and signs the exact manifest bytes with the domain prefix ABN-RELEASE-V1\n. It refuses to overwrite an existing release output. The uploaded ZIP contains manifest.json, release.sig, and payload/ files. The private signing key is never included.

Do not put a signing key in a website upload, a public source repository, or the installer ZIP. Keep it in a separate owner-only publisher kit and retain a secure second copy. The application does not fetch arbitrary update URLs or execute uploaded migration SQL. Only code from a trusted signed release reaches the installation.

Verification and practical limits

The automated maintenance integration test uses isolated SQLite fixtures and offline signing keys; production installation uses MySQL/MariaDB. It exercises real encrypted exports/restores, destination-key re-encryption, photo replacement, session/device/queue revocation, recovery pause, unsafe ZIP rejection, tampered signatures and file hashes, PHP syntax errors, interrupted update recovery, migration-failure rollback, new-process successful finalization, repeat-version rejection, and scheduled backup retention. No real calendar, email, or push service is contacted.

Run it with the same PHP extensions used by the application:

php tests/maintenance.php

The implementation provides tested recovery mechanisms, not a guarantee against every hosting failure or an untested future migration. Test restoration on a separate installation, test each exact signed release against its declared source versions, keep downloaded backups and their keys outside the hosting account, and retain the matching recovery toolkit.

Technical references: PHP Sodium secretstream, ZIP external attributes, PHP OPcache invalidation.

Version 1.5.0 backup and recovery additions

Schema 4 adds booking consent/attendance/progress, SMS preferences/optouts/jobs/receipts, and Web Push devices/jobs. Normal restore keeps preferences and STOP suppression, re-encrypts secret settings for the destination, discards historical SMS jobs/callback receipts and Web Push devices/jobs, and rebuilds only future SMS reminder times alongside email. It clears the SMS webhook-ready indicator because callbacks might still target the old installation URL. Re-register/check callbacks before resuming; unrelated shared-phone callbacks are preserved. Agents sign in and explicitly enable Web Push again.

Outgoing SMS and Web Push honor the same post-restore recovery pause. A rollback of a failed update restores the protective snapshot instead, including its original queue and pause state. The v1.5.0 independent rescue bundle includes Core, Release, Maintenance, and SmsGate libraries, so future reminder rebuilding does not depend on a working main-application autoloader. Keep the matching kit for the installed release.

The v1.5.0 signed update directly supports v1.2.0, v1.2.1, v1.3.0, and v1.4.0, migrating additively to schema 4. Version 1.1.0 first uses the original v1.4.0 signed ZIP bundled in the Upgrade Kit, then v1.5.0. An existing installation keeps its setup/configuration and does not need a new installation key. Finish edits and close/reopen workspace windows after updating so the new worker can activate normally.

Version 1.6.0 / Build 2 backup and recovery additions

Schema 5 includes client records and their original-email booking links, private notes/outcomes and follow-up tasks, form definitions and booking answer snapshots, verified waitlist state, daily/spacing rules, date overrides, and advisory route-cache metadata. Backups cover these known tables. Normal updates preserve existing fields, calendar mappings, SMS-Gate credentials and STOP suppression, Web Push settings, and the account identities already in use. New scheduling limits are zero and waitlists are disabled until configured; the upgrade itself does not send invitations or opt anyone into texting.

A normal restore revokes both client portal token tables, drops old opening offers and waitlist delivery jobs, expires unverified requests, returns verified active requests to waiting, and turns automatic invitations off. It preserves the selected backup's durable client and appointment data, including immutable intake snapshots. It clears route estimates without altering the appointment travel reservations. Recovery stays paused until the administrator reviews the restored records and explicitly resumes operations. Check each agent's restored waitlist before enabling automatic invitations again.

An older backup without the new tables is supported on the newer schema. Opening the agent's client directory rebuilds missing client relationships from their existing booking email snapshots. This is idempotent and sends no messages. It does not invent historical notes, intake answers, consent, or waitlist requests.

An automatic rollback restores the protective pre-update snapshot and its original queue/settings state. It does not apply the historical-restore clearing rules to that snapshot. The matching v1.6.0 CLI rescue loader continues to use its own four libraries — Core, Release, Maintenance, and SmsGate — without relying on the application's autoloader. Client relationship rebuilding can wait until the recovered main directory is opened.

Use docs/BUILD-2.md for the post-update setup sequence and docs/VALIDATION.md plus the external release manifest for the final migration, restore, independent recovery, and exact-package test evidence.

Version 1.7.0 / Build 3 backup and update additions

The v1.7.0 release used the direct update v1.6.0 / schema 5 → v1.7.0 / schema 6. Upload the intact Agent-Booking-NOW-v1.7.0-Signed-Update.zip in System care → Update, after creating and downloading a current encrypted backup and saving its recovery key. Existing installations retain their configuration and publisher identity and need no new setup key. The original v1.4.0, v1.5.0, and v1.6.0 transition ZIPs are included in the Upgrade Kit for older installations; use the sequence in Build 3.

Build 3 adds 11 tables to the existing 41. Backups include teams and current membership, staff access assignments, shared appointment offerings and agent mappings, successful automatic-assignment history, directory opt-ins, permanent booking codes, and historical PURL aliases. A normal restore discards temporary team booking selections. Clients must request fresh availability and review an agent again after restoration. The existing session revocation, queue/invitation clearing, provider-review, and recovery-pause rules still apply.

A protective rollback restores its earlier snapshot, including original temporary selection state, and re-encrypts retained selection payloads when required. This is separate from a deliberate historical restore. The v1.7.0 independent rescue kit still uses four matching libraries and does not need the main application autoloader.

Create a new backup after installing Build 3. A backup taken before schema 6 cannot contain permanent codes or aliases created later. Restoring an older snapshot creates replacement permanent codes and records the restored current PURLs in the same restoration transaction. Previously printed permanent codes missing from that snapshot cannot be recreated from it. A v1.7 backup preserves the link identities that it contains.

System monitor provides a read-only view of worker freshness, backup scheduling, last scheduled success/failure, local backup presence, and protected storage. It identifies a success timestamp whose backup file is now missing. It does not run a backup, decrypt or restore-test one, change the schedule, send an alert, or verify an off-server copy. Continue downloading backups and keeping the matching keys independently of the hosting account. All backup/update/restore actions remain in System care.

Version 1.8.0: bulk-import backup and update behavior

The v1.8.0 release introduced the direct update v1.7.0 / schema 6 → v1.8.0 / schema 7. Its original signed update retained the publisher verification identity and required no setup key. The previously released v1.9.0 package includes this additive migration for supported v1.7.0 installations; use that stage before applying v1.11.1.

Schema 7 adds users.password_change_required with a default of 0 and two tables, agent_imports and agent_import_rows. Existing users therefore keep their current sign-in behavior. Newly imported agents have the flag set to 1 until they set a personal password. Backups contain created agents, their password flags, PURLs, permanent public codes, default schedules, and services.

A normal historical restore clears both import staging/history tables, including pending payloads and the password-resume verifier. It does not resume an old import automatically. Accounts created before that snapshot remain and retain their personal/permanent links. Import the remaining CSV again after review; existing emails will be skipped. QR identities created after the selected backup cannot be recovered from an earlier snapshot.

A protective rollback retains its snapshot's import state and re-encrypts staged payloads for the current installation key. The same temporary password can resume an unfinished retained import after recovery. These safeguards are separate from deliberate historical restore. Account creation and its defaults/QR identity commit together, so a failed row cannot leave a partial agent.

The regular worker expires unfinished staging after 7 days and removes import history older than 30 days. It never deletes created accounts or permanent QR codes. Result downloads are administrator-only and contain no passwords. Keep a new backup after completing a large import.

Version 1.8.1: booking locations and update review

Version 1.8.1 adds no schema version beyond 7. Updating from v1.8.0 changes application files without a new database migration; updating from v1.7.0 applies the existing additive schema-7 changes described above. The signed package's source-version check permits exactly v1.7.0 and v1.8.0. Keep the ZIP intact and use the existing System care preview, protective snapshot, fresh-request finalization, and rollback process.

The update does not rewrite stored appointment locations, Home travel reservations, historical phone values, calendar connections, reminders, or consent. Its calling-number rule applies when creating a new telephone appointment. Existing appointment management and rescheduling retain the original location and saved data.

After finalization, confirm v1.8.1, close and reopen workspace windows and the home-screen app, and open an agent PURL. Check the visible office address, Home address/estimate step, and Phone number step for an appointment type that permits those choices. If using team booking, check the list of eligible offices and the assigned agent's location review. Required configuration and expected behavior are in Booking locations.

Backup and restore continue to use the existing encrypted format and recovery pause. Keep a new backup after changing office/travel settings or importing agents. Completed release checks and the exact-package upgrade results are recorded in Validation; publishing the update package does not apply it to a live installation.

Version 1.8.2: visible location readiness and guided setup

The v1.8.2 signed package accepts exactly v1.7.0, v1.8.0 and v1.8.1 as source versions, with minimum schema 6 and minimum updater v1.7.0. Its target is schema 7. The existing additive migration handles v1.7.0; installations already on schema 7 retain that schema version. Use the intact signed package with the existing backup, preview, protective snapshot, finalization and recovery workflow.

The patch preserves stored appointment-type choices, office/travel settings, existing appointments and any required imported-account password change. Public pages distinguish selected choices from bookable choices: an incomplete location stays visible but disabled. The owner editor explains its missing setup and can save the appointment type before opening the appropriate profile or administrator settings. The update does not fill in addresses, enable Home automatically, or bypass verified travel.

After finalization, reopen workspace windows and the home-screen app and confirm v1.8.2. Open Appointment types, review Location readiness, and use the setup actions for the actual missing values. Save the profile or system settings after entering them, then preview the agent PURL. For teams, review the public offering's disabled choices and each participating agent's setup. A location can be configured before a particular date, address or connected calendar proves available; final booking checks still apply.

Backup and restore rules are unchanged. Keep a current downloaded backup and its recovery key before updating and another backup after changing configuration. The Booking locations guide describes the fields and actions; Validation records the completed package and integration checks.

Version 1.8.3: Home appointments with automatic travel off

This signed package accepts exact v1.7.0, v1.8.0, v1.8.1 and v1.8.2 releases, targeting schema 7. Automatic Home travel starts off even if an encrypted Routes key was already saved. New Home appointments require the customer address and keep normal duration, buffers and conflicts without adding driving time. Saved credentials, agent travel preferences and existing reservations remain intact.

After finalization, reopen the workspace and confirm v1.8.3. Leave Automatically reserve travel time for Home appointments off under Settings → Home visit travel estimates. Enable Home in each participating agent profile and appointment type, then preview address entry and See available times. Existing routed bookings retain their stored reservation; address-only bookings keep their mode on reschedule, including after a future explicit enable. See Booking locations.

Version 1.8.4: separate Home address fields

This signed update accepts exact v1.7.0, v1.8.0, v1.8.1, v1.8.2 and v1.8.3 installations, targeting schema 7. The booking form collects Street address, optional Address 2 / Apt, City, State and ZIP code, then uses the existing complete-address field. It adds no database fields and does not rewrite saved appointments or addresses. Backend scheduling, calendars, backups, SMS-Gate and provider credentials are unchanged.

After finalization, confirm v1.8.4, close and reopen the workspace and home-screen app, and preview Home on an agent PURL. Confirm the five fields appear and that the review includes the entered apartment/unit when supplied. The automatic travel setting retains its existing value, defaulting off when no explicit choice has been saved. No new setup key is required.

Version 1.9.0: professional interface update

The signed update accepts exact v1.7.0, v1.8.0, v1.8.1, v1.8.2, v1.8.3 and v1.8.4 installations. Target schema remains 7. The presentation changes retain the existing updater, encrypted backup format, protective snapshot, fresh-request finalization, rollback paths and stored configuration.

After finalization, confirm v1.9.0 and reopen the workspace and home-screen app. Expand Administration → System care to reach update and backup tools in the refreshed navigation. Booking setup contains the existing profile, appointment types, availability, rules, intake and calendar connection pages. On a phone, open More to reach these groups.

All agent accounts, PURLs, QR identities, client records, appointments and integrations stay in the same installation. The theme is loaded through release-versioned assets; it does not clear saved browser appointment drafts by forcing a reload. Finish active edits before closing and reopening. Automatic travel retains its configured value and remains off by default. No new setup key is required.

Version 1.10.0 Medicare Review recovery additions

Schema 8 adds the optional Medicare review switch to individual and team appointment types and the medicare_reviews snapshot table, bringing the application to 55 tables. Matching existing Medicare Review names are enabled once during upgrade. Saved manual choices are not repeatedly reset. Older appointments do not acquire fabricated review answers.

Review snapshots are encrypted with the installation key. Backups include them; restore authenticates and re-encrypts them for the destination key. Rescheduling and cancellation retain the snapshot. Restoring an older backup restores that earlier data set, so review information created after that backup is not part of the restored history. The existing operational pause and recovery procedures continue to apply.

See Medicare Review information for access and display behavior.

Version 1.10.1 compact review form

This interface patch retains schema 8 and the 55-table backup inventory. A v1.10.0 installation keeps its review snapshots and appointment-type choices. The medication and provider controls start collapsed on new public bookings; Add Medications and Doctors opens them. Hiding the section retains entered values for submission. Current review data, backup format, re-encryption and recovery procedures are unchanged.

Version 1.11.0 medication photos

This release retains schema 8 and 55 application tables. Medication-list photos are bounded JPEGs inside the existing encrypted Medicare Review snapshot, so backups include them and cross-install restoration re-encrypts them with the destination key. They are not public agent profile photos and do not increment the profile-photo count shown in backup previews. The existing backup format and per-row limit remain in force.

Older typed-only review records remain readable. Restoring an older backup restores only the reviews and photos included at that time. The existing newer-version restore guard prevents loading a v1.11.0 backup into older application code. Rescheduling and cancellation retain the submitted snapshot. Public calendar events, notifications, reminder delivery and report exports do not contain medication photos.

Version 1.11.1 appointment texts

This release keeps schema 8 and the existing encrypted backup format. Accounts, SMS-Gate credentials, client consent, agent preferences, STOP suppression, saved appointments and medication photos are retained. It introduces no new setup key or database migration for a v1.11.0 installation.

The first dispatch of a never-attempted message can normalize its SMS destination and refresh its reminder-only/contact notice. Once a job has any delivery attempt, its destination, encrypted message body and provider identifier are retained exactly; uncertain delivery is reconciled using that same identifier. Historical messages are not replayed. Normal restore continues to rebuild only eligible future reminders and keeps delivery paused until an administrator resumes operations.

Version 1.12.0: agent appointments and review collaboration

Schema 9 adds bookings.client_email_enabled (default enabled for existing rows) and nullable created_by_user_id, plus review_edits, review_access and review_mail_jobs. There are 58 known application tables. The original encrypted Medicare Review/photo snapshot remains immutable; manual revisions have their own authenticated payload and booking binding.

Normal restore preserves the original review and revision history, re-encrypts revision payloads for the destination key, and discards review access and message jobs. Protective rollback preserves those access and queue records as well. review_access.token_encrypted is also authenticated and rekeyed when applicable. The generic review outbox contains no medication/provider values. A restore does not replay historical editing invitations or client-change emails.

Future reminders respect the restored email and SMS preferences. A booking with email disabled or blank has no regenerated client email reminders; agent email reminders remain independent. Existing SMS consent and STOP suppression retain their recovery behavior. Original account, client, provider, PURL, QR and photo data remain in the main installation.

Version 1.13.0: editing scheduled appointments

Schema 10 adds nullable bookings.review_service_id and duration_override_minutes, plus durable booking_edits and intake_answer_edits tables. There are 60 known application tables. New history payloads are encrypted and rekeyed on portable restore. Neither table is discarded as a delivery queue; their receipts and original data bindings survive recovery.

review_service_id preserves the original authenticated medical snapshot binding when an appointment changes type. It does not replace the actual current appointment type. duration_override_minutes preserves a custom appointment duration through subsequent rescheduling. Both default to null on unchanged historical bookings.

Original medical/photo and intake snapshots remain intact. Normal restore continues to revoke editing capabilities and discard historical delivery jobs, while protected rollback preserves the pre-operation state. The signed release directly upgrades v1.12.0 through one additive schema stage.

Back to guide navigation

Phone workspace and home screen — version 1.14.0

The mobile experience is part of the main Agent Booking NOW system. The same PHP installation supplies the website, desktop workspace, phone workspace, personal booking pages, calendar integrations, reminders and administrative tools. The professional blue-and-white theme, compact headers, bottom tabs and matching booking pages continue in v1.14.0. In public booking, Add Medications and Doctors expands optional medication-list photo uploads and typed medication/provider fields. The assigned agent views submitted photos and lists in authenticated appointment details on this same interface.

This interface is an installable web app (PWA). It can open from a home-screen icon in a standalone window on supported devices. It is not a compiled iPhone/Android binary and is not distributed through an app store. There is no new mobile-source ZIP, second database, separate agent registration, or separate phone build required for this release.

Open it from the main system

  1. Open your installation's HTTPS address on the phone, for example https://yourdomain.com/appointments/index.php.
  2. Choose the Log in button at the top of the website.
  3. Sign in with the existing administrator or agent account.
  4. The workspace automatically uses its phone layout. A phone starts on Home / Today unless an explicit link specifies another section.

The direct workspace entry is index.php?app=1. The existing index.php?login=1 entry remains supported. Public agent links and QR codes still open each agent's client booking page, not the agent's private workspace.

Bottom menu

Item What it opens
Home Today, next appointment, saved Home departure when travel is reserved, progress actions, attendance, counts, and calendar health
Schedule Day, Week, Month, and Agenda views; search, filters, date navigation, appointment details, and rescheduling
Inbox The signed-in user's appointment activity, reminders, unread status, and read controls
Profile Booking-page profile, photo controls, contact information, booking preferences, and travel settings
More Appointment types, availability, calendar connections, installation guide, account security, sign out, and authorized administrator tools

The header provides the current section, live connection state, QR shortcut, and public booking-page shortcut. Administrators retain their agent selector. An administrator's selected workspace changes the schedule/profile being viewed; the inbox and live connection continue to belong to the signed-in administrator.

The bottom menu remains available while the main page scrolls. Ordinary dialogs open in a full-screen phone layout. More uses the same navigation permissions as the desktop workspace; the background is unavailable while that menu is open. Touch targets, page spacing, safe-area padding, and keyboard viewport handling are included.

Add to Home Screen

Open More → Add to Home Screen. The same guide is available from the public website's mobile section and the Inbox information card. The guide uses the browser's install prompt when it offers one, or explains the manual path. Installation is always an agent-initiated action.

iPhone or iPad

Open the HTTPS workspace in Safari, use Share (or the page menu followed by Share), and choose Add to Home Screen. Leave Open as Web App enabled if that option is shown, then choose Add. Open Booking NOW from the home screen.

Android

Open the HTTPS workspace in Chrome. Use Install app when the guide offers it, or use Chrome's menu and choose Add to Home screen or Install app, depending on the browser. Confirm, then open Booking NOW from the home screen.

Browser menus, policy restrictions, and installation support vary. If installation is unavailable, the same phone workspace continues to work in the browser. Installation requires HTTPS; an insecure preview or an unsupported embedded browser does not become installable merely because a manifest exists.

An installed browser context may ask for a fresh sign-in. Use the same existing account. The account, appointments, and calendar credentials remain in the main system. The icon never contains an agent ID, password, client management token, or private appointment URL.

Change an appointment inside the workspace

  1. Open Schedule and select an appointment.
  2. Choose Reschedule when the existing booking rules permit a change.
  3. Pick an available date and time. The currently booked time is identified separately.
  4. Choose Review change and check the old and new date, time zone, and duration.
  5. Choose Confirm new time. The updated details and notification activity use the same system records.

The existing booking engine checks the selected agent, current booking revision, cancellation/rescheduling cutoff, working hours, connected-calendar busy time, appointment buffers and conflicts at confirmation. Home appointments retain their saved addresses. With automatic travel off, an address-only appointment uses its duration and normal buffers; an older routed appointment keeps its previously reserved travel time. Neither needs a new route quote in that mode. The final operation runs under the existing agent booking lock. An intervening booking change requires refreshed availability; a route quote can expire only when automatic travel is enabled and required by the appointment.

Agents can change only their own appointments. Administrators use their existing explicit agent selection. These session endpoints require POST, CSRF/origin protections, and rate limits. The older native bearer endpoint continues to restrict a token to its own account. Private client management capabilities are not returned by the new rescheduling actions.

Call and email links use the phone's installed handlers. Home appointment details retain Google Maps, Apple Maps and Waze directions. Address-only visits show the saved address and meeting time without a zero-minute driving timeline or a calculated departure. Older appointments with reserved travel still show those saved intervals. The device decides how an external directions link opens.

Home visits with automatic travel off

The v1.8.3 default is automatic travel off, even if an installation previously saved a Google Routes key. On individual and team booking pages, a client selecting Home enters a complete address and chooses See available times. Availability uses the appointment duration, ordinary buffers and the existing booking rules. The address is saved for the assigned agent; it is not checked as a driving route or used to add travel time. The public page, waitlist and reschedule flow make no Google Routes requests in this mode.

Home is still an agent opt-in. Enable Home visits in the agent's profile and select Home on the appointment type; team booking also requires Home on its offering. No private starting address or Routes key is required while automatic travel is off. Agents can open saved addresses in a map app for directions. Those external map links do not modify the appointment's reserved time.

Existing confirmed Home bookings retain any travel already reserved. Rescheduling one while automatic travel is off keeps its saved travel allowance and asks the agent to Refresh times, without a routing requirement. The Travel planner continues to list visits and navigation links, displays Automatic travel estimates are off, and hides the driving-estimate refresh control.

An administrator may later enable Automatically reserve travel time for Home appointments in Settings after configuring Google Routes and each participating agent's private starting address. Saving a key alone does not turn it on. The agent and appointment-type Home choices remain required. The enabled quote flow applies to new routed Home bookings; an existing address-only appointment retains its original duration and buffers after this setting changes.

Live activity and reminders

Delivery path Behavior in this release
Live inbox while open New authenticated events update the Inbox/badge and show an Open appointment banner without discarding forms. Visible workspaces fall back to approximately five-second polling when streaming is unavailable and catch up on resume.
Agent and client email Confirmations, changes, cancellations, and reminders continue through the configured mail service and scheduled worker.
SMS-Gate texts Opted-in agent/client notices and reminders through the configured Android gateway phone and scheduled worker.
Background Web Push Enrolled, permitted devices receive an immediate send attempt for newly saved events. iOS/iPadOS 16.4+ uses the installed Home Screen app. Inbox contains Lock-screen notifications setup, category choices, an optional time/meeting-method preview and a test action.
Outside calendar changes Arrive through the existing provider synchronization worker. A live inbox connection does not make provider synchronization instantaneous.

Do not rely on a suspended phone page to run JavaScript, polling, or reminders. The server sends immediate push attempts after new events are committed; the scheduled worker handles retries, due reminders, email, SMS and calendar synchronization. Best-effort outbound calendar work follows the initial push after a successfully finished response; hosting without that capability uses the scheduled calendar worker. Pre-booking availability checks remain in place. Delivery depends on provider/device readiness and is not guaranteed instantaneous. Verify its health in the main system. Internet access, hosting behavior, external providers, and device settings affect delivery timing.

The previously delivered native v1.3.0 source and its optional Expo/APNs/FCM delivery infrastructure are not required by this integrated workspace and are not rebuilt or repackaged in v1.14.0. Their signed-device setup requirements continue to apply if an installation keeps using that historical application. The shared server improves immediate native dispatch too, with generic payloads. No compiled APK or IPA is included or physically tested here.

Updates, backups, and one installation

An administrator applies Agent-Booking-NOW-v1.14.0-Signed-Update.zip through Administration → System care → Update. Supported direct sources are v1.13.0, v1.13.1, v1.13.2 and v1.13.3, all at schema 10. Older installations follow the intermediate sequence in Backup, restore, and updates. Create/download a current encrypted backup and retain its recovery key first. The update preserves the publisher identity and schema 10; no new setup key is required.

The update delivers the desktop and phone interfaces together. After it completes, finish active edits, close all open workspace windows, and reopen the workspace so its updated service worker can activate normally. Its home-screen icon continues to point to the same installation URL. There is no separate app release to install for ordinary system updates. Active forms are not forcibly reloaded by the installation helper or worker.

Backup and restore protect the same server-side accounts, appointments, profiles, configuration, and queues used by the phone. After restore, the existing sign-out and recovery-pause rules apply to both browser and home-screen contexts. Review data and provider mappings and re-register/check SMS-Gate callbacks, then resume operations in System care. Afterward, agents sign in and enable Web Push again; the phone does not keep another appointment database to reconcile. See Backup, restore, and updates.

Offline behavior and privacy

The service worker is served from assets/app-worker.php with an allowed scope limited to the installation folder, including subfolder installations such as /appointments/. Sibling installations are outside its scope. The public manifest is served from assets/app.webmanifest.php and uses installation-relative identity, start URL, scope, and icons.

The worker does not use CacheStorage, IndexedDB, offline appointment storage, or background sync. It supports Web Push subscriptions after explicit enablement and permission. Push text is generic by default. A device may opt into the scheduled time and meeting method; client identity, street addresses, medical information and private links remain excluded. Full details are fetched from the authenticated server when opened. Same-installation GET/HEAD requests go to the network with HTTP-cache bypass. POST requests are not replayed or queued. Normal API errors, authentication responses, redirects, and maintenance responses remain unchanged.

If an actual network failure prevents a main document navigation, the worker can show a generic connection-required page. It includes no private URL, booking data, or account details. The page does not claim a write succeeded. Reconnect and reload the requested client link, or choose Open workspace. Availability and appointment changes require the live server.

Deployment and phone checks

Use HTTPS on the actual installation. PHP must serve the manifest and worker with their supplied content types and headers; do not rewrite those asset PHP URLs into a login page or static download. Keep Service-Worker-Allowed: ../ intact. A proxy or CDN must not cache private application pages, APIs, or versioned updates contrary to their cache headers.

On one representative iPhone and Android phone, verify the home-screen icon, normal sign-in, all five bottom items, the keyboard in Profile, date/time selection, address-only Home booking and rescheduling, preserved older travel reservations, Home direction handoff, QR sharing, app close/reopen, and a server update followed by reopen. Confirm email/calendar/SMS and background push delivery using controlled test appointments and the installation's own provider configuration. Device installation and operating-system interactions were not exercised in the development browser.

See Release validation for the executed tests and their limits.

Enable background notifications

The administrator enables Web Push in Settings and saves a contact address. Each signed-in user then opens Inbox → Lock-screen notifications and enables the current device. This panel detects HTTPS, browser capability, permission, installation state, and an outdated worker. It does not silently ask for operating-system permission. A previously denied permission must be changed in the browser/device settings before retrying.

On iOS/iPadOS 16.4 or later, open the installed Home Screen app before enabling. Notifications belong to the signed-in account even when an administrator is viewing another agent's schedule. A notification opens the same installation and checks the intended account. If a form is open, the workspace offers an explicit Open appointment action rather than discarding the edit.

Signing out revokes this session's device registration. A password reset/change or account disable revokes that account's registrations; sign in and enable again when appropriate. Normal backup restore discards registrations and queued pushes. See Web Push setup for requirements and delivery limits.

Platform references

Version 1.7.0 / Build 3 in the same phone workspace

The v1.7.0 update delivers team schedules, reporting, and the new administrator tools through this same PHP installation and installable PWA. Its direct update path is v1.6.0 / schema 5 → v1.7.0 / schema 6; see Build 3 for older-version sequences. There is no new phone account, database, mobile installation, or compiled app-store binary. After updating, finish active forms, close/reopen the workspace, and sign in with the existing account.

Agents retain Home · Schedule · Inbox · Profile · More. Scheduler and viewer accounts open their shared schedule and use Schedule · Reports · Inbox · Profile · More. For these staff accounts, Profile opens account security; it does not create an agent booking profile or QR code. More shows only permitted tools. Administrators retain their selected agent workspace and can reach team configuration, team booking, website editing, and System monitor through the same authorized navigation.

Schedulers can review and change appointments for current members of their assigned teams under the usual booking rules. Viewers and peer agent members see shared busy time without client identity. Reports require staff to explicitly choose an assigned team. Shared schedules refresh every 30 seconds while visible and idle, with refresh paused while editing or reviewing appointment details. Leaving the screen stops that polling.

The personal Inbox and enrolled device notifications continue to belong to the signed-in account. Selecting a team does not subscribe staff to copies of all its agents' appointment messages. The shared schedule refresh and existing agent/client reminders remain separate delivery paths. Provider and device permissions are still needed for actual outside-calendar updates, SMS-Gate delivery, and background notifications.

Newly downloaded agent QR codes use the permanent main-system booking link. The current friendly PURL and recorded older aliases resolve to the same host after a rename. Keep the installation's base URL stable and create a new backup after the update to retain these identities. The public website, directory, agent pages, and team booking pages remain routes of the same index.php installation.

Back to guide navigation

Release notes — Agent Booking NOW 1.14.0

Prepared October 28, 2026. Live appointment and lock-screen notifications. Direct signed sources: v1.13.0, v1.13.1, v1.13.2 or v1.13.3 / schema 10. Target v1.14.0 / schema 10. The original publisher identity is retained; no new setup key is required.

New in version 1.14.0

Apply and enable

Download a current encrypted backup and retain its recovery key. Open Administration → System care → Update, upload Agent-Booking-NOW-v1.14.0-Signed-Update.zip, apply and finalize. The preview must show v1.14.0 / schema 10. An older v1.13.0 tab needs a full-page reload; later supported tabs refresh after successful finalization. Close and reopen all workspace windows afterward to activate the new notification worker without interrupting forms.

The administrator enables Settings → Background phone notifications and saves a contact address if push is not already configured. Each agent uses their own account to enable the device under Notifications → Lock-screen notifications. iOS/iPadOS 16.4+ requires the installed Home Screen app. Android uses a compatible browser or its installed app. Check a test on the actual locked phone.

The system attempts immediate dispatch; the phone and push service control final display. Offline devices, Focus/Do Not Disturb, permission and provider delays can affect timing. Provider acceptance is not proof of display. Keep the scheduled worker for retries and due reminders. This ZIP updates the existing system and integrated app; it is not a separately compiled native APK/IPA.

See Phone notification setup, Mobile workspace, Maintenance and Validation.


Previous release — Agent Booking NOW 1.13.3

Prepared October 27, 2026. Editable appointment confirmation texts and shorter routine SMS. Direct signed sources: v1.13.0, v1.13.1 or v1.13.2 / schema 10. Target v1.13.3 / schema 10. The original publisher identity is retained; no new setup key is required.

New in version 1.13.3

Apply the update

Download a current encrypted backup and retain its recovery key. Open Administration → System care → Update, upload Agent-Booking-NOW-v1.13.3-Signed-Update.zip, apply it and complete finalization. The preview must show v1.13.3 / schema 10. A loaded v1.13.1 or v1.13.2 workspace refreshes after completion. A v1.13.0 tab requires one full-page reload afterward.

Open Settings → Appointment confirmation texts, edit either message, preview, and save. Restore default changes the draft; save to apply it. No wording change is needed to remove the routine medication-editing section; that correction is automatic after installation for new and never-attempted eligible messages. A text already submitted to the sending service cannot be recalled by editing a template.

See SMS-Gate appointment texts, Maintenance and Validation.


Previous release — Agent Booking NOW 1.13.2

Prepared October 27, 2026. Agent email and text appointment notifications. Direct signed sources: v1.13.0 or v1.13.1 / schema 10. Target v1.13.2 / schema 10. The original publisher identity is retained; no new setup key is required.

New in version 1.13.2

Apply the update

Download a current encrypted backup and retain its recovery key. Open Administration → System care → Update, upload Agent-Booking-NOW-v1.13.2-Signed-Update.zip, apply it and complete finalization. The preview must show v1.13.2 / schema 10. A loaded v1.13.1 workspace refreshes after completion. A v1.13.0 tab requires one full-page reload afterward.

Review the assigned agent's email and phone under Profile and the channel status under Notifications. Keep email delivery, SMS-Gate and the every-minute worker configured. Queued email or gateway-accepted SMS is not proof of final delivery. Existing explicit opt-outs must be changed deliberately; a recorded STOP must be cleared by the recipient using START.

See SMS-Gate appointment texts, Maintenance and Validation.


Previous release — Agent Booking NOW 1.13.1

Prepared October 27, 2026. Visible appointment editing controls and update refresh behavior. Direct signed source: v1.13.0 / schema 10. Target v1.13.1 / schema 10. The original publisher identity and all existing appointment data remain in place.

Corrected in version 1.13.1

Apply the correction

Download a current encrypted backup and retain its recovery key. Open Administration → System care → Update, upload Agent-Booking-NOW-v1.13.1-Signed-Update.zip, apply it and complete finalization. Then reload the full page once (Ctrl+F5 on Windows), or close and reopen the home-screen app, to replace the older code already running in that tab.

Open Appointments, select a future scheduled appointment, and use Edit appointment at the top. This package directly updates v1.13.0. No new setup key is required.

See Editing appointments, Maintenance and Validation.


Previous release — Agent Booking NOW 1.13.0

Prepared October 27, 2026. Edit scheduled appointments in the existing main application and integrated phone workspace. Direct signed source: v1.12.0 / schema 9. Target v1.13.0 / schema 10. The original publisher identity is retained; no new setup key is required.

New in version 1.13.0

Apply the update

Download a current encrypted backup and keep its recovery key. Open Administration → System care → Update, upload Agent-Booking-NOW-v1.13.0-Signed-Update.zip, apply it and complete finalization. Reopen the workspace and confirm version 1.13.0. Phone users reach Administration through More.

The direct source is v1.12.0. Earlier releases first follow their supported sequence to v1.12.0. See Editing appointments, Maintenance and Validation.


Previous release — Agent Booking NOW 1.12.0

Prepared October 27, 2026. Agent-created appointments and private client editing of medications and doctors, integrated into the same main application. Signed direct update sources: exact v1.10.0, v1.10.1, v1.11.0 and v1.11.1. Target v1.12.0 / schema 9. The original publisher identity is retained; no new setup key is needed.

New in version 1.12.0

Apply the update

Download a current encrypted backup and retain its recovery key. Open Administration → System care → Update, upload Agent-Booking-NOW-v1.12.0-Signed-Update.zip, apply and complete finalization. On a phone, Administration is under More. Reopen the workspace and confirm version 1.12.0.

For schema 7 installations (v1.8.x or v1.9.0), first install the previously released v1.11.1 signed update. A v1.7.0 installation first applies v1.9.0, then v1.11.1, then this release. The installed updater's schema-stage restriction is retained.

The ZIP updates the main PHP application and integrated phone workspace. It does not contain a newly compiled native APK or IPA. Email, SMS-Gate, calendar connections and the scheduled worker still need functioning host/provider configuration. See Agent appointments, Maintenance and Validation.


Previous release — Agent Booking NOW 1.11.1

Prepared October 26, 2026. Automatic +1 formatting across SMS reminder paths and clear notification-only sender instructions, in the existing main installation. Signed update sources: exact v1.8.0, v1.8.1, v1.8.2, v1.8.3, v1.8.4, v1.9.0, v1.10.0, v1.10.1, and v1.11.0. Target v1.11.1 / schema 8. The original publisher identity is retained; no new setup key is needed.

New in version 1.11.1

No schema or backup-format change is introduced. The cumulative update retains medication-list photos, the collapsed optional Medicare form, Office/Home/Phone choices, the professional workspace, connected calendars, PURLs, permanent QR identities and integrated phone navigation.

Apply the update

Download a current encrypted backup and retain its recovery key. Open Administration → System care → Update, upload Agent-Booking-NOW-v1.11.1-Signed-Update.zip, apply it and complete finalization. On a phone, Administration is under More. Reopen the workspace and confirm version 1.11.1. A v1.7.0 / schema 6 installation must first apply the previously released v1.9.0 signed update.

Text reminders require enabled SMS-Gate settings, client consent, a usable mobile number, the configured sending phone and the scheduled worker. Email uses the configured email transport. Formatting a number does not establish that it is assigned or can receive SMS, and provider acceptance is separate from confirmed handset delivery.

See SMS-Gate, Maintenance and Validation. This ZIP updates the main server and integrated phone workspace; it does not contain a newly compiled APK or IPA.


Previous release — Agent Booking NOW 1.11.0

Prepared October 25, 2026. Medication list photo uploads, in the existing main installation. Signed update sources: exact v1.8.0, v1.8.1, v1.8.2, v1.8.3, v1.8.4, v1.9.0, v1.10.0, and v1.10.1. Target v1.11.0 / schema 8. The original publisher identity is retained; no new setup key is needed.

New in version 1.11.0

The photos provide the agent with the original list's visible information. They do not trigger OCR, automatic medication entry or prescription interpretation. Existing review rows, appointments, calendar connections, SMS-Gate settings, accounts, PURLs, QR identities and normal booking rules remain in the same system.

Apply the update

Download a current encrypted backup and retain its recovery key. Open Administration → System care → Update, upload the intact Agent-Booking-NOW-v1.11.0-Signed-Update.zip, apply it and complete finalization. On a phone, Administration is under More. Finish active forms, reopen the booking page and confirm version 1.11.0. A v1.7.0 / schema 6 installation must first apply the previously released v1.9.0 signed update.

See Medicare Review information, Maintenance and Validation. This ZIP updates the server and integrated phone workspace; it contains no newly compiled APK or IPA.


Previous release — Agent Booking NOW 1.10.1

Prepared October 25, 2026. Compact optional Medicare Review form, in the existing main installation. Signed update sources: exact v1.8.0, v1.8.1, v1.8.2, v1.8.3, v1.8.4, v1.9.0, and v1.10.0. Target v1.10.1 / schema 8. The original publisher key is retained; no new setup key is needed.

New in version 1.10.1

Every medication and provider field remains optional. Hiding entered information does not withdraw it: remove rows or clear fields to omit it. The saved payload, encrypted storage, agent/admin access, calendar and message exclusions, booking rules and recovery behavior are unchanged from v1.10.0. No new database migration is introduced for an existing v1.10.0 installation.

Apply the update

Download a current encrypted backup and retain its recovery key. Open Administration → System care → Update, upload the intact Agent-Booking-NOW-v1.10.1-Signed-Update.zip, apply it and complete finalization. On a phone, Administration is under More. Finish active forms, reopen the booking page and confirm version 1.10.1.

An installation on v1.7.0 / schema 6 must first apply the previously released v1.9.0 signed update to reach schema 7. This cumulative package also includes the optional review feature and recovery additions introduced in v1.10.0 for supported older installations.

See Medicare Review information, Maintenance and Validation.


Previous release — Agent Booking NOW 1.10.0

Prepared October 25, 2026. Optional Medicare Review information, in the existing main installation. Signed update sources: exact v1.8.0, v1.8.1, v1.8.2, v1.8.3, v1.8.4, and v1.9.0. Target v1.10.0 / schema 8. The original publisher key is retained; an existing installation needs no new setup key.

New in version 1.10.0

Ordinary booking rules, Office/Home/Phone choices, the five Home address fields, existing travel settings, calendar synchronization and SMS-Gate delivery continue through the existing system. The professional v1.9.0 interface remains in place.

Apply the update

Download a current encrypted backup and retain its recovery key. Open Administration → System care → Update, upload the intact Agent-Booking-NOW-v1.10.0-Signed-Update.zip, apply it and complete finalization. On a phone, open Administration from More. Close and reopen the workspace, then confirm version 1.10.0 and review the switch on the intended appointment types.

If the installation is still on v1.7.0 / schema 6, first apply the previously released v1.9.0 signed update to reach schema 7, then apply this release. The current package does not bypass the installed updater's schema-stage restriction.

See Medicare Review information, Maintenance and Validation. This ZIP updates the server and integrated web/home-screen application; it contains no newly compiled app-store APK or IPA.


Previous release — Agent Booking NOW 1.9.0

Prepared October 25, 2026. Professional interface redesign, in the same main installation. Signed update sources: exact v1.7.0, v1.8.0, v1.8.1, v1.8.2, v1.8.3, and v1.8.4. Target v1.9.0 / schema 7. The original trusted publisher key is retained; an existing installation needs no new setup key.

New in version 1.9.0

No scheduling engine, API contract, database schema, provider integration, backup/restore, authentication or notification delivery logic is changed. Home travel retains its previous setting, defaulting off; existing reservations and normal service buffers remain in force. The current website content, agent photos, PURLs, QR identities and calendar connections remain stored in the main system.

Apply the update

Create and download a current encrypted backup, and keep its recovery key. In the current administrator workspace, open System care → Update, upload the intact Agent-Booking-NOW-v1.9.0-Signed-Update.zip, review compatibility, apply, and finish finalization. After updating, System care is under the expandable Administration section. Close and reopen workspace windows and the home-screen app to load the new theme.

The update contains the PHP application and integrated web/mobile workspace. It supplies no newly compiled app-store APK or IPA. See Workspace and calendars, Maintenance, and Validation.


Previous release — Agent Booking NOW 1.8.4

Prepared October 24, 2026. Separate Home appointment address fields, within the same installation. Signed update sources: exact v1.7.0 / schema 6, v1.8.0 / schema 7, v1.8.1 / schema 7, v1.8.2 / schema 7, and v1.8.3 / schema 7. Target: v1.8.4 / schema 7. The original trusted publisher key is retained; an update requires no new setup key.

New in version 1.8.4

Apply the update

Download a current encrypted backup and keep its recovery key. Upload the intact Agent-Booking-NOW-v1.8.4-Signed-Update.zip under System care → Update, apply it and complete finalization. Reopen the workspace and home-screen app, then preview an agent's Home booking form. Existing accounts, photos, PURLs, QR identities, credentials and calendar connections remain in the same system.

See Booking locations for the fields and Validation for release checks and limits. This update contains the server application and integrated web/mobile workspace, with no newly compiled APK/IPA binary.


Previous release — Agent Booking NOW 1.8.3

Prepared October 24, 2026. Home address entry with automatic travel turned off, in the existing main system. The signed update supports exact v1.7.0 / schema 6, v1.8.0 / schema 7, v1.8.1 / schema 7, and v1.8.2 / schema 7 installations. Target: v1.8.3 / schema 7. The original trusted publisher key is retained; an existing installation needs no new setup key.

New in version 1.8.3

Install this update

Download a current encrypted backup and retain its recovery key. Upload the intact Agent-Booking-NOW-v1.8.3-Signed-Update.zip under System care → Update, review the supported source and target, apply, and complete finalization. Reopen the workspace and home-screen app. Existing accounts, PURLs, QR identities, profiles, calendar connections, encrypted keys and SMS-Gate settings remain in the same installation. No new setup key is required.

Open Settings → Home visit travel estimates to confirm automatic travel is off. For each appointment type that should offer Home, enable Home in the agent profile and select it on that appointment type. Preview a Home booking: the customer address should lead directly to available appointment times.

See Validation for completed checks and practical verification limits. The signed update includes the server and integrated web/mobile workspace; it does not contain a newly compiled app-store binary.

Previous release — Agent Booking NOW 1.8.2

Prepared October 24, 2026. Visible location choices and guided setup, within the existing main system. The signed update supports v1.7.0 / schema 6, v1.8.0 / schema 7, and v1.8.1 / schema 7, with v1.8.2 / schema 7 as the target. It retains the original publisher key and requires no new setup key.

New in version 1.8.2

Selecting a location is permission to offer that mode after setup. Entering Office, Home, Over the Phone as meeting instructions does not supply an office address or a routing configuration. This patch changes the display and setup guidance; it neither invents addresses nor automatically enables Home visits. It does not establish the configuration of any live installation.

There is no schema version beyond 7. Updates from v1.7.0 include the existing additive bulk-import migration; v1.8.0 and v1.8.1 retain schema 7. Existing accounts, required temporary-password changes, imports, appointments, PURLs/QR identities, calendars, reminders and SMS consent remain in the same system. This ZIP updates the server and integrated web/mobile workspace and supplies no newly compiled native phone binary.

See Booking locations for setup and the difference between selected and ready choices, Maintenance for supported upgrades, and Validation for the completed checks and practical limits.


Previous release — Agent Booking NOW 1.8.1

Prepared October 24, 2026. Office, Home, and Over the Phone booking choices, within the existing main system. The signed update supports v1.7.0 / schema 6 and v1.8.0 / schema 7, with v1.8.1 / schema 7 as the target. It retains the original publisher key. An update requires no new setup key.

New in version 1.8.1

The update preserves confirmed bookings, historical phone values, account passwords, PURLs/QR identities, calendar settings, reminders and SMS consent. A v1.8.0 installation stays on schema 7; a v1.7.0 installation receives the existing additive schema-7 bulk-import migration. This release supplies the server and integrated web/mobile workspace update. It contains no newly compiled native phone binary.

Use Booking locations for setup and user flows, Maintenance for the signed update, and Validation for completed checks and limits. Live routing, calendar delivery, messaging and device behavior depend on the configured installation and were not established by offline fixtures.


Previous release — Agent Booking NOW 1.8.0

Prepared October 24, 2026. Bulk agent import, integrated into the existing system. Direct signed update v1.7.0 / schema 6 → v1.8.0 / schema 7, retaining the original publisher key. No setup key is required for an update.

New in version 1.8.0

Importing does not contact agents or send credentials. Existing accounts and passwords are unchanged. Calendar providers, reminders, SMS-Gate, client workflows, teams, website content, public aliases, and permanent QR links remain part of the same installation. Native device builds still require the owner's platform credentials; this ZIP updates the server and integrated web/mobile workspace.

Open Agent accounts → Import agents after the update. Full instructions: Bulk agent import.


Previous release — Agent Booking NOW 1.7.0

Prepared October 24, 2026. Build 3: teams, website, and administration. Direct signed update v1.6.0 / schema 5 → v1.7.0 / schema 6, with the original publisher key and no new setup key. The planned three-build series is complete with this release.

Teams and delegated scheduling

Public team assignment

Website, discovery, and QR continuity

Reporting, monitoring, and recovery

The mobile deliverable remains the integrated installable PWA, with five bottom tabs and the same main-system accounts and data. This release contains no newly compiled APK, AAB, or IPA. See BUILD-3.md for setup and VALIDATION.md for actual checks and limits. Provider delivery and physical-device behavior require verification on the configured installation.

Previous release: 1.6.0

Prepared October 24, 2026. Build 2: clients and smarter scheduling. The direct signed update is v1.5.0 / schema 4 → v1.6.0 / schema 5, using the original publisher identity. Create/download a current encrypted backup and keep its recovery key, then use the intact signed ZIP in System care → Update. Existing installations do not need a new setup key.

Clients, private follow-ups, and verified portal

Versioned conditional intake

Verified cancellation waitlist

Scheduling rules and private day planning

Integrated update and recovery

This release supplies the integrated main-system PWA and server update. It does not include a newly compiled APK, AAB, or IPA. See docs/BUILD-2.md for practical setup, the module guides for behavior, and docs/VALIDATION.md for final verification and limits. Live provider delivery, physical-device navigation/permissions, and production deployment require checks on the installed system.

Previous release: 1.5.0

Prepared October 24, 2026. Build 1 upgrades the existing main system directly from versions 1.2.0, 1.2.1, 1.3.0, and 1.4.0 to schema 4 using the retained publisher identity. Use the intact signed ZIP through System care after backing up. Version 1.1.0 first applies the original signed v1.4.0 ZIP included in the Upgrade Kit, then this v1.5.0 ZIP. This respects the historical updater’s one-schema-step limit.

SMS and Web Push start disabled. Delivery requires configured services, a healthy scheduled worker, and the recipient/device's readiness and permission. This release supplies the integrated PWA, not an APK/IPA. Live provider/physical-phone checks and production deployment were not performed during development. See docs/BUILD-1.md, docs/SMS-GATE.md, docs/WEB-PUSH.md, and docs/VALIDATION.md.

Previous release: 1.4.0

Prepared October 23, 2026. Signed update from 1.1.0, 1.2.0, 1.2.1, and 1.3.0. Target schema 3, with the original publisher key retained. The phone interface is part of the main PHP installation and signed release; no separate mobile source package or phone build is needed.

One system on desktop and phone

Home-screen installation and updates

Appointment changes within the workspace

Use System care → Update with the intact signed ZIP after saving a current backup and its recovery key. The standalone installer is for a new empty installation. Version 1.0.0 must complete its original 1.1.0 upgrade first. See docs/MOBILE.md, docs/UI-CALENDAR.md, docs/MAINTENANCE.md, and docs/VALIDATION.md.

Previous release: 1.3.0

Prepared October 23, 2026. Signed update from 1.1.0, 1.2.0, and 1.2.1. Target schema 3, with the original publisher key retained. Existing schema-3 installations need no database migration; v1.1.0 receives the existing additive travel migration. Use System care → Update with the intact signed ZIP after downloading a backup and retaining its recovery key.

Workspace and agent calendar

Public booking calendar

Native iPhone/Android source 1.3.0

The mobile deliverable is source, not an installable APK/AAB/IPA. Build and install v1.3.0 separately; its appVersion runtime is 1.3.0. The PHP update does not replace an installed mobile app. Live foreground events and background push retain their existing hosting, credential, permission, and delivery constraints.

Main /appointments/index.php website, top Log in, agent PURLs, QR codes, private management/reset links, calendar callbacks, photos, calendar connections, reminder queues, backups, and recovery controls remain supported. No new third-party browser dependency or paid UI service is introduced. See docs/UI-CALENDAR.md, docs/MOBILE.md, and docs/VALIDATION.md.

Previous release: 1.2.1

Prepared October 23, 2026. Signed update from versions 1.1.0 and 1.2.0; target schema 3. Version 1.2.0 needs no further schema migration. Version 1.1.0 receives the existing schema-3 travel fields. Use System care → Update with the intact signed ZIP; keep the original publisher signing identity.

Booking data, agent profiles, appointment availability, calendar behavior, and the existing travel rules are retained. Native v1.2.0 source remains compatible and is not rebuilt or repackaged for this server patch. This release contains the signed update, fresh installer, CLI rescue Upgrade Kit, HTML guide, checksums, and external release manifest.

An existing v1.0.0 installation must first complete its original v1.1.0 upgrade. Do not extract a fresh installer over a live installation or run it against an existing database. See docs/MAINTENANCE.md.

Previous release: 1.2.0

Prepared October 23, 2026. Signed update from version 1.1.0 only; schema 2 → 3. Use System care → Update and keep the signed ZIP intact. A fresh installer must not be extracted over an existing application. The original publisher signing identity is retained.

Driving estimates use a fixed saved starting address for each round trip. They do not use live traffic, track live agent location, or optimize travel directly between client homes. Google Maps/Apple Maps direction links use the saved trip origin; Waze starts from the device's current location. Google Routes requires separate API setup and billing. See docs/TRAVEL-BOOKING.md.

The companion native project is delivered as source. Its mobile build, signing, push credentials, physical-device testing, and distribution steps are documented in docs/MOBILE.md. The bundled feature website and original logo/icon are preserved.

Previous release: 1.1.0

Released October 23, 2026. Signed upgrade from version 1.0.0; schema 1 → 2.

Google/iCloud/Yahoo synchronization remains periodic, driven by the scheduled worker and booking freshness checks. Application live events and native push do not change provider-calendar latency. No automatic remote code-update feed, SMS service, or app-store publication is enabled by this update.

Back to guide navigation

Release validation — Agent Booking NOW 1.14.0

Prepared October 28, 2026. This release starts from the exact delivered v1.13.3 / schema 10 ZIP, SHA-256 44da2e5ca0b297736eab3ada83a8af346dc90c7e1cce72bbeecfb6ee012c4a86. The original publisher signature and all 1,360 baseline payload files were verified before creating the isolated source copy.

Behavior and scope

The previous immediate push path selected only three browser jobs and four native jobs from the shared queues. New appointment activity could wait behind unrelated work. Version 1.14.0 tracks the events inserted by the current request and attempts a bounded, event-scoped send after they commit. It validates both numeric event ID and dedupe identity, so rolled-back transactions and reused IDs cannot send unrelated events. Direct queue entrypoints also check the scheduling lock and PDO transaction state.

On a web request, the response/session finishing helper runs once. Successful FastCGI response detachment precedes the initial push; optional outbound calendar reconciliation follows it. Hosting without successful response detachment uses a bounded immediate push attempt and leaves outbound calendar writes to the existing scheduled worker. Pre-booking calendar freshness and conflict validation remain before acceptance. A slow provider or delivery failure does not undo the appointment or alter its successful response. Reconciliation-created events receive a final small send pass. CLI calendar behavior and the provider mapping engine are unchanged.

Browser pushes request high urgency; native visible notifications request high priority. Scoped sends leave unrelated pending and stale sending jobs unchanged. Normal workers retain stale-lock recovery, backoff, expiry, invalidation and due-reminder handling.

A genuine client preparation edit creates one generic Preparation updated event, alongside its existing agent email. No-op saves and completed-request retries add no event. Existing devices may optionally show the appointment time in the agent's time zone and a restricted meeting method. The preference defaults off and accepts the older four-category preference shape. Client names, contact details, street addresses, service names, notes, medical values, photos and private links remain outside push payloads.

The agent interface provides device readiness, explicit enrollment/testing, category preferences and a preview choice. The service worker retains generic version 1 compatibility and validates version 2 fields. It always displays a visible fallback notification, uses scoped numeric navigation identifiers and excludes public/client pages from workspace reuse.

Foreground activity shows a banner with an explicit Open appointment action, updates unread state and preserves forms. Visible workspaces poll approximately every five seconds when the stream is unavailable and catch up on resume. Duplicate/old events do not replay banners. Snapshot/stream races preserve newer events, and callbacks from replaced streams cannot overwrite the current state. No foreground Notification constructor creates duplicate operating-system alerts.

Schema 10 and all 60 tables remain unchanged. There are no new API routes, dependencies or provider credentials. Existing email, SMS-Gate, editable SMS confirmations, consent, calendar mapping, encrypted preparation/intake history and backup/restore behavior remain in place. Existing tests are unchanged; focused tests are added.

Executed frozen source gate

All 62 bundled suites passed, containing 4,388 assertions.

Group Suites Assertions passed
PHP application, provider and recovery 43 3,478
JavaScript behavior and integration 19 910
Total 62 4,388

Syntax checks passed for 1,131 PHP and 46 JavaScript/CJS files. Executable and stylesheet hashes remained unchanged throughout the gate.

The new backend integration suite passed 571 assertions. It covers actual public Office/Home/Phone bookings, agent and administrator creation, team booking, accepted waitlist openings, edits/no-ops/rescheduling/cancellation, attendance and client preparation changes. It exercises all 20 enrolled browser devices plus two native devices without cron, while unrelated older jobs remain queued. It also verifies rollback and reused-ID suppression, high-urgency/priority requests, per-device preview opt-in, pending opt-out, retry backoff, independent email/SMS queues and the unchanged schema.

The new HTTP suite passed 42 assertions. Real loopback requests use the shipped appointment API and a deliberately slow synthetic calendar. Cases cover unavailable, successful, false-returning and throwing response-finishing functions; a single finish attempt; response/push ordering before slow calendar work; released sessions and committed booking state; retained calendar identity/interval/location fields; isolated provider failure; and a final reconciliation-generated alert.

The new browser/worker unit suite passed 48 assertions, and the new live-notification suite passed 38. Existing suites include independent RFC8291 payload decryption, OpenSSL VAPID signature checks, authorization, account isolation, obsolete reminders, subscription expiry and recovery pauses.

Browser acceptance

The shipped notification renderer and application handlers passed 27 browser assertions at 1440 × 1100 desktop and 390 × 844 phone sizes. Enrollment, test action, preference save, ready state, live banner and retained form input were exercised using isolated APIs. There was no horizontal overflow, browser error, external request or real notification. Desktop and phone screenshots were inspected; alerts remain accessible above the phone's bottom navigation.

The browser report records the exact final rendered source hashes for the main application, notification script/styles and service worker. Screenshots are internal verification material and are not included as user data.

Exact signed package and update acceptance

Before delivery, the exact final ZIP must pass original-publisher Ed25519 verification, archive CRC/path/collision/symlink checks, complete payload sizes and hashes, equality with frozen source and the independently reviewed change allowlist. Configuration, signing secrets, runtime data and local QA fixtures must be absent. The complete HTML guide must contain unique IDs and valid internal anchors.

The upgrade gate applies that exact ZIP through authenticated HTTP upload, preview, apply and fresh-request finalization over all supported immutable baselines: v1.13.0, v1.13.1, v1.13.2 and v1.13.3, each at schema 10. It compares the 60-table schema/index inventory, records/settings, encrypted original and revised preparation/intake data, appointment editing history, photos, calendar mappings, account identity, PURLs/QR identifiers, saved SMS templates, VAPID keys and enrolled browser/native devices.

Post-update acceptance verifies device status and opt-in preview preferences, actual new public bookings and client preparation submissions with isolated push transports, immediate acceptance without cron, privacy of payloads and preservation of unrelated old queue work. Updating or reading status does not replay historical appointment messages. No real recipient or external provider is contacted by these gates.

Direct sources: v1.13.0, v1.13.1, v1.13.2 or v1.13.3. Target: v1.14.0 / schema 10. The original publisher identity is retained; no new setup key is required.

Installation and validation limits

Download an encrypted backup and keep its recovery key. Apply Agent-Booking-NOW-v1.14.0-Signed-Update.zip through Administration → System care → Update, complete finalization and confirm the new version. A v1.13.0 tab needs one full-page reload; newer supported workspaces reload after completion. Finish forms, close all workspace windows and reopen the installed app so its updated service worker can activate normally.

The administrator enables Settings → Background phone notifications if needed. Each agent then enables their own device in Notifications → Lock-screen notifications (Inbox on phones), allows permission and checks a test on the actual locked phone. iOS/iPadOS 16.4+ uses the installed Home Screen app. Keep the scheduled worker running for retries, upcoming reminders and calendar synchronization.

Source and recovery checks use PHP 8.3.6 and SQLite with synthetic records and isolated providers. Browser verification uses Chromium at phone dimensions. FastCGI response detachment is explicitly simulated in a real HTTP fixture; actual PHP-FPM, live MySQL hosting, physical iPhones/Android devices, APNs/FCM delivery and real mailbox/SMS-carrier delivery are not exercised. No compiled APK/IPA is built or published. These checks do not deploy the update to the live website.

The server attempts prompt delivery, while the push service and phone control final display. An accepted request does not prove that the notification appeared or was read. Network conditions, Focus/Do Not Disturb and notification permissions can affect timing. See Phone notification setup for the first production-device check.

Back to guide navigation