diff --git a/CHANGELOG.md b/CHANGELOG.md
index a28b94a98..2f36980a1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -176,6 +176,7 @@ Update from Maintenance > Update — Queue Update hands the job to cron, which u
- New client: the duplicate warning took % and _ in the name you typed as wildcards, so a name with them in it could warn of a duplicate that isn't one. Found by Mountaineer IT.
- Admin > Access Modules: the page stopped part way when sorted by a column it doesn't have, and its New Module button, and Edit and Delete on the AI module, went nowhere. Those are gone - modules are built in. Found by Mountaineer IT.
- Tickets: moving a ticket to another client left the old client's watchers on it, so they kept getting its emails. Watchers who aren't on your team or contacts at the new client now come off it, and the ticket's history says how many. Found by Mountaineer IT.
+- Leads: clients marked as leads showed up in nearly every list of clients to pick from - new assets, contacts, credentials, documents, invoices, trips, expenses, events, contracts and the rest - and in the client switcher, the report and transaction filters and template use, crowding out the clients you work for. Leads are left out of those now. A lead still shows where it belongs: on its own pages, where anything you add is for it; in a record that's already for it; in the quote pickers, after the clients and marked Lead; and in global search, after the clients and marked Lead. Find the rest on the Leads tab of Clients.
### Developer Updates
@@ -275,6 +276,7 @@ Update from Maintenance > Update — Queue Update hands the job to cron, which u
- Purchase orders: database 3.9.3 adds `order_items` (the To Order list - `order_item_status` waiting / ordered / received, `order_item_source` manual / reorder), `purchase_orders` (UNIQUE `po_prefix`, `po_number`; `po_ship_to_office_id` NULL for another address in `po_ship_to`; `po_expense_id` for the vendor bill), and `po_items`, `po_receipts` and `po_tracking`, each cascading from its purchase order. `settings` gets `config_po_prefix` ('PO-'), `config_po_next_number`, `config_po_approval` (0) and `config_po_approval_over`, and `modules` gets `module_procurement` - the name and the `product_vendor_id` link match Mountaineer IT's build. Everything is in the new `functions/purchase_orders.php`: `poReady()` is false until the update has run and `poLevel()` is 0 while invoicing is off; `poRequireLevel()` and `poForRequest()` stop a page, handler or window with the reason (`poOffReason()`) or the role refusal, and `poForRequest()` also refuses a PO with a line for a client the agent can't reach (`poAccessible()`; lists use `poScopeSql()`). Numbers come from `poNextNumber()` under `GET_LOCK`, with `poCreate()` retrying on a duplicate. `poMarkOrdered()` approves a draft itself when `poNeedsApproval()` says no, noting why; `poSendForApproval()` and `poDecide()` notify through `poTell()` (bell and `emailQueue()`), and `poMayApprove()` keeps a non-admin from approving their own unless they are the only approver. `poReceive()` puts own-stock lines of a tracked product on the shelf with `productStockMove(..., 'received')` (Sales at 2) and turns client lines into assets - an asset, its primary interface '01', an asset_history row and an audit entry each, up to `PO_ASSETS_MAX` (50) a line (Support at 2) - and `poUndoReceipt()` reverses one receipt. `poRecordBill()` records the expense with `expenseSave()` and sets `stock_expense_id` on the stock it received. `poPdf()` draws on `BillingPdf`, and `poEmail()` attaches it with `billingEmailPdf()` and queues it with `emailQueue()`. History is the 'Purchase Order' kind in `auditLogKinds()`. `permissionRefusedText()` reads an optional `full` from `roleModuleInfo()` for a module whose Full level isn't deleting. Pages: `agent/to_order.php`, `purchase_orders.php`, `purchase_order.php`, `receiving.php`; windows in `agent/modals/purchasing/`; handlers in `agent/post/purchase_order.php`; settings in `admin/settings_purchase_order.php`; `js/purchase_orders.js`. From Mountaineer IT's build of ITFlow.
- Menus: `pageTabsHtml()` (`functions/format.php`) draws tabs across pages that share one side nav entry - `expenseTabsHtml()` for Expenses and Recurring, `poTabsHtml()` for To Order, Purchase Orders and Receiving. The side nav drops Recurring Expenses (and `$num_recurring_expenses` from `get_side_nav_counts.php`), Transfers and the PURCHASING header; the BILLING header shows for roles with Sales or Purchasing. `client_side_nav.php` marks a quiet item `data-nav-quiet hidden` when its count is 0, it isn't the page open and two or more are quiet, and adds More (`data-nav-more`, handled in `js/app.js`). `inc_all_client.php` adds `$num_calendar_bookings` - open tickets booked from today - when a client has no upcoming events, so its Calendar still shows booked work.
- Admin menu: `adminNavGroups()` (`functions/settings.php`) lists the admin pages that share one side nav entry - logs, templates and text messaging - with each page's file, icon, label, record pages and badge count, leaving out pages for modules that are off and Messages until a texting provider is active. `adminNavGroupItemHtml()` draws the entry and `adminNavGroupTabsHtml()` the tabs atop each page (none for a group of one). The TEMPLATES and Sign-ins entries and the separate Audit Logs, App Logs and Text Messages entries are gone from `admin/includes/side_nav.php`, and the on-screen paths to those pages - in the import windows, onboarding, API errors and AI errors - say Admin > Templates > ..., Admin > Logs > ... or Admin > Text Messaging > Messages.
+- Leads: `clientNotLeadSql($keep)` (`functions/auth.php`) leaves leads out of a query on `clients`, keeping the client or clients in `$keep` - the record's own, or the lead whose page it is. It's on the client pickers in the record windows, bulk edits, Dispatch, the client switcher (`get_active_clients`), the transaction filter and export, the report client picker and coverage, the template reports and use windows, agent banners, portal announcements, RMM client linking and suggestions, and managed instances. The invoice and recurring invoice picker in `billing_form.php` leaves them out; the quote picker and `quote_copy.php` order them after the clients with `data-description="Lead"`. Global search orders a lead after the clients that match and puts Lead in its subtitle. Filters built from existing records, imports and client permissions still list leads.
## [26.11.8]
diff --git a/admin/agent_banners.php b/admin/agent_banners.php
index f13a4cbb1..404b34630 100644
--- a/admin/agent_banners.php
+++ b/admin/agent_banners.php
@@ -109,7 +109,7 @@ $csrf = $_SESSION['csrf_token'];
diff --git a/admin/modals/document_template/document_template_use.php b/admin/modals/document_template/document_template_use.php
index 4db1c109a..aa8e474a3 100644
--- a/admin/modals/document_template/document_template_use.php
+++ b/admin/modals/document_template/document_template_use.php
@@ -41,7 +41,7 @@ if (!$template || $template['document_template_archived_at']) { ?>