=== TEG-REPAIRSHOP ===
Contributors: theeldestgeek
Tags: repair shop, work orders, invoices, quotes, estimates, tickets, inventory, customers
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: 1.99.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A complete repair-shop back office inside WordPress: customers and devices, work orders, quotes and invoices, parts and services with stock, the Doctor tools' support tickets and diagnostic reports, a customer portal and business reports.

== Description ==

TEG-REPAIRSHOP turns a WordPress site into the front desk and the books of a computer / phone / electronics repair shop, and connects it to The Eldest Geek's Doctor family (WinDoctor, MacDoctor, LinuxDoctor, EmailDoctor, ServerDoctor):

* **Customers** - contact details, address, tax-exempt flag, notes, a WordPress login for the portal, CSV import/export, every device / work order / invoice / ticket / report on one screen.
* **Devices** - one record per machine (type, make, model, serial, OS, hostname, passcode for the bench) linked to its DOCTORREPORTS collection so the health history shows on the device.
* **Work orders** - check-in with condition, accessories, passcode, backup consent and a checklist; priority, technician, promised date; a status timeline (new, diagnosing, waiting for approval, waiting for parts, in progress, on hold, ready, completed...) with customer-visible notes and e-mail notifications; a printable work order with terms and signature lines and a 62x100 mm device label.
* **Quotes and invoices** - line items from the catalog or free-typed (labor, parts, services, diagnostic, fees, discounts), tax with tax-exempt customers, discounts, warranty period, internal and printed notes; quotes approved or declined online with a drawn signature and converted to invoices; payments and refunds by method with e-mailed receipts; partial payments, aging; print / save as PDF; e-mail delivery; an online-payment link; duplicate; void with stock returned.
* **Parts & services** - SKU, cost, price, taxable, warranty, supplier; stock tracking with receive / adjust, automatic deduction when a part goes on an invoice, low-stock alerts; CSV import/export.
* **Doctor tickets** - the support tickets the tools file to DOCTORTICKETS, synced hourly: examine everything the tech filed (problem, what was tried, host facts, the tool's notes, the customer's additions), reply and set the status through the licensing server so the customer sees it in the tool and on theeldestgeek.com, link to a customer, open a work order or draft an invoice.
* **Doctor reports** - the diagnostic reports archived in DOCTORREPORTS (MongoDB on ns10), imported straight from MongoDB (mongodb PHP extension) or through the licensing CGI; browse by machine, examine the health score, findings, recommended actions and system details; link to a customer and device; open a work order or draft an invoice with the findings as suggested lines. A report JSON file can also be uploaded by hand. The archive import is the Pro feature.
* **Help & Tutorials** - a complete, searchable, printable guide inside the admin (RepairShop > Help & Tutorials): every screen, every setting, step-by-step tutorials, troubleshooting and FAQ, with a Help link on each screen jumping to its section; a customer guide on the RepairShop page (Help); the same guide as docs/USER-GUIDE.md.
* **Data packages** - Settings > Data: one click loads a realistic sample set (25 customers, 40 devices, catalog, 40 work orders, quotes, invoices, payments, appointments, Doctor tickets and reports, dates shifted to today) after wiping the site's records; the same package ships as repairshop-testdata.zip for uploading on any site; export everything to a zip as a backup or to move shops; delete all records to go live.
* **Customer accounts, separate from WordPress** - customers sign in to the RepairShop page with their own e-mail and password (kept on the customer record, never a WordPress user): register or be invited, "keep me signed in", forgot-password links, one-click e-mail sign-in links, profile and password changes, and an account page with upcoming appointments, repairs, quotes to approve and invoices to pay. The shop can invite, reset or disable any customer from the customer screen; a new customer who books online gets an invitation automatically.
* **A proper front page** - hero illustration, action cards, "How it works", popular services with prices from the catalog, the device types you service, and contact details, all with a set of computer-themed illustrations shipped in the plugin.
* **Appointments** - drop-offs, pickups, on-site visits, remote sessions and consults. Customers book from the RepairShop page: free times are computed from your business hours, closed dates, minimum notice and capacity per slot; they get a confirmation by e-mail (and text), a reminder before, and a manage link to add it to their calendar, reschedule or cancel. The shop has a week view and a list, one-click check-in that opens the work order with the customer, device, problem and any photos the customer attached, "schedule a pickup" from a finished work order, an .ics per appointment and a calendar feed for Google / Outlook / Apple Calendar, CSV export, and no-show and booking-source figures in the reports.
* **Check-in photos** - photograph the device at check-in, during and after the repair, and at pickup, straight from a phone camera; captions, stages and a customer-visible flag; a gallery on the work order and the device history; thumbnails on the printed work order and on the customer's status page; customers can attach photos when booking; the photos stay out of the media library grid.
* **Online payments through Square and PayPal** - customers pay from the invoice link (full balance or a partial amount): a Square card form with buyer verification, PayPal buttons (server-side capture), receipts by e-mail and SMS, processing fees recorded; signed webhooks catch payments and refunds made elsewhere; refunds are issued from the invoice screen back through the gateway; work orders can request a deposit with its own pay link, credited automatically on the final invoice; with the customer's consent a Square card is kept on file and can be charged from an invoice later; payments by channel with fees in the reports. Sandbox and live modes, credentials entered in Settings.
* **SMS through Vonage (Nexmo)** - text the customer on chosen work-order statuses, ready-for-pickup, quotes for approval, invoices and receipts, a one-time pickup reminder, and free-text messages from the work order or customer screen; opt-in per customer with STOP / START handled; replies arrive through a webhook and land on the customer's open work order (with an optional auto-reply); delivery receipts update each message with its status and price; a message log, balance check, test mode and a per-message character counter.
* **Customer portal** - public links for every work order (status page with the customer-visible timeline), quote (approve online) and invoice (print, pay link); `[teg-repairshop-status]` for a lookup by number + e-mail/phone; `[teg-repairshop-account]` for a logged-in customer's history.
* **Business reports** - sales and tax for a date range, revenue by month, accounts-receivable aging, technician performance and turnaround, top customers, parts margin, low stock, Doctor ticket and report statistics, CSV exports.
* **New-customer intake and validation** - name, phone and e-mail are checked for validity on every form (portal registration, booking, the customer form, the account page), then the questions you define under Settings > Store are asked (what is your business, do you have a website, how did you hear about us...); the answers show on the customer screen.
* **Warranty, terms and slugs** - the warranty offered (e.g. six months) is a setting shown on the RepairShop page and every quote, invoice and work order; short terms print at the bottom of every work order, the full terms & conditions have their own page for customers, and an invoice slug / work order slug print at the bottom of each form.
* **Import** - Settings > Import takes CSV files (with templates and column aliases) for customers, devices, parts & services, repairs and invoices from another system.
* **House calls, pickups and returns with TEG Rover (add-on, coming soon)** - schedule visits at the customer's address with a priority (urgent, high, normal, low), a time window and a checklist per visit type, copied onto each job and editable before it goes out. Besides house calls, a technician can PICK UP a device for the bench (the work order shows "in transit" until it is received at the bench) or RETURN a repaired one and collect the balance at the door; the work order also offers mailing it back with a shipping label or a pickup at the counter. Each kind of job requires what you choose - the customer's signature, photos, the payment - and the phone will not finish without them. Technicians take payment by cash, check, their own card reader, a card through Square on the phone (checked with Square before it touches the invoice), or Zelle, Venmo or PayPal (which wait for the office to confirm they arrived). Technicians can be paid per job - a flat amount per kind of job, or a percentage of the invoice - through Commission and Payroll, never twice. Technicians work from the TEG Rover phone app: an open-jobs board they see before anything is assigned, a claim that only one technician can win, GPS check-ins only while they are on shift, in-app turn-by-turn directions plus a hand-off to Google Maps or Apple Maps, photos and signatures kept private on your own site. Jobs finished without a signal are kept on the phone and delivered later, never twice. The dispatch screen shows each technician's last position and its age and suggests the closest technician for each job. Phones pair with a QR code instead of a password, and each phone can be revoked on its own. TEG Rover will be a separate add-on license; until it is available it runs on the RepairShop license.
* **Access** - two master admin logins so a forgotten password never locks you out, technician accounts for the technician field, all under Settings > Access & technicians.
* **Security and privacy** - Google Authenticator two-factor sign-in, a permission matrix per role, customer data export and anonymization, automatic retention, new-device sign-in alerts, session control and an IP allow-list.
* **Running the shop** - condition diagrams, duplicate merge, gift cards, customer languages, overdue reminders and statements, Stripe or Square, tax classes, job costing, supplier returns, parts reservation and compatibility, a time clock, barcode scanning, an offline Bench, Google Calendar sync, self-hosted updates and scheduled backups.
* **Money and stock** - Square Terminal card-present payments, thermal / ESC/POS receipts with a drawer kick and Z report, booking deposits with no-show fees, store credit, serialized parts, supplier price lists.
* **People** - a unified inbox, one-tap satisfaction ratings, warranty claims and return rates, technician hours and capacity, push notifications, kiosk check-in with code verification, quote options.
* **Counter sales** - ring up parts and services without a work order, cash / card / other with change due, receipt, stock deduction, today's takings by method.
* **Bench board and mobile bench** - a Kanban of open repairs with drag-and-drop status changes; a phone-sized bench view with timer, next-status, photos and notes, installable and offline-tolerant.
* **Checklists, loaners, pickup** - intake and QC lists per device type with a gate before Ready; loaner devices with agreements and returns; a pickup sign-off screen with payment, signature and photos.
* **Customer messages, quotes, plans** - a message box on the status page; instant quotes from a symptom matrix; membership plans customers join and auto-pay from the portal.
* **Accounting, commission, digests, audit** - QuickBooks IIF, Xero CSV and tax-by-jurisdiction exports; technician commission report; daily and weekly e-mail digests; document versions with diffs and an audit trail.
* **API, custom fields, languages** - REST API with keys and signed webhooks; custom fields and custom statuses with colors and templates; a .pot template and money formatting; diagnosis back to Doctor tickets and follow-up scan checks.
* **Time tracking** - a timer on every work order (per technician), manual entries, totals, and the unbilled time billed to the invoice as a labor line rounded to the quarter hour; hours per technician in the reports.
* **Purchase orders** - draft from the low-stock list (one per supplier) or by hand, print on your letterhead, receive deliveries line by line straight into stock with the PO as the reference.
* **Recurring invoices** - plans for managed services and contracts generated automatically each period and e-mailed, with {period} in the lines.
* **QR codes** - the label, work order, quote and invoice carry a QR code (with your logo in the center, generated in the plugin) that opens the customer's page from a phone camera.
* **Repair Stories** - technicians tell what a repair was on TEG Companion's Job screen; the edited story is saved in the shop's story bank, credited to that technician, with up to three of the job's photos. Repair Stories (Sales & money) lists, filters, approves and archives them, counts each technician's contributions, warns when a story names the customer, turns a spoken blog piece into a WordPress draft, and offers the oldest approved post to the owner's weekly routine (an authenticated feed) - RepairShop itself never posts anything.
* **Review requests** - a set time after pickup the customer is asked by e-mail / text to review you at your Google, Yelp or Facebook link.
* **Multiple locations** - each with its own address and letterhead, booking hours, document numbering and stock; work orders, invoices, appointments and purchase orders carry a location; customers pick the shop when booking.
* **Setup** - store name, address, phone, e-mail, website, tax id, opening hours; currency, tax rate; invoice / quote / work-order prefixes and the starting numbers; payment terms, quote validity, default warranty, labor rate, diagnostic fee, terms & conditions, online payment link; notification templates.
* **Your own letterhead** - upload a logo from the media library and design the header printed on every invoice, quote, work order and status page (logo placement and size, title, tagline, address / contact lines, accent color, typeface, footer, custom CSS) with a live preview. Documents are standalone pages with their own print stylesheet, never the website's header or theme, so they print cleanly from any browser.
* **One click** - activating the plugin creates the RepairShop admin menu with everything under it and the public "Computer Repair Shop" page at `/teg-repairshop/`, the root of every RepairShop page. The plugin renders it with its own template - no theme header or footer - with a top bar carrying a single "Return to <your site>" button on the left and the RepairShop menu (Home, Book a repair, Repair status, My account, and for staff every admin screen). Booking, status, account, quotes, invoices and appointment links all hang under it. The Eldest Geek logo ships as the default; replace it and the name under Settings. Nothing else is required to start.

== License ==

TEG-REPAIRSHOP is licensed like the Doctor tools: every install carries a free 30-day Pro trial that starts the first time the plugin runs and needs no internet connection. On day 31 creating and editing pause (everything stays readable) until a license is active: fetch a personal 30-day trial from the license panel (name and e-mail, no card) or enter a purchased code from theeldestgeek.com - annual or lifetime, Standard or Pro (Pro adds the Doctor report archive import), single-site or 5-site agency pack. A code is bound to the name and e-mail on the order and verifies offline against a public key; paid codes are re-checked with the license server once a day and keep working when it cannot be reached.

== Installation ==

1. Upload the `teg-repairshop` folder to `/wp-content/plugins/` and activate it. The RepairShop menu and the public RepairShop page are created for you; the 30-day trial is already running.
2. RepairShop > Settings > Store: the store details. Documents & numbering: tax, prefixes and the starting invoice number. Document header & logo: upload the logo and design the letterhead.
3. RepairShop > Settings > Doctor connection: paste the licensing admin token (and, optionally, a MongoDB URI for direct reads), then Test. Nothing goes in wp-config.php.
4. Add your common parts and services under Parts & Services so invoices fill in with one click.
5. Optional: move the `[teg-repairshop-status]` / `[teg-repairshop-account]` shortcodes to any other page and pick it under Settings > Data.
   Every website shortcode, with its options, is listed in Help Center > Shortcodes: [teg-repairshop-book], [teg-repairshop-service-request], [teg-repairshop-hours], [teg-repairshop-services] and more.
6. Nothing to set up for TEG Rover photos and signatures: they go in a folder with a random name under uploads, with deny rules for Apache and IIS. (Optional override, not needed: a `DRS_PRIVATE_DIR` constant your host already sets puts them in a folder OUTSIDE the web root, in its own `rover` subfolder.) Deleting the plugin with "keep data" switched off removes only that `rover` subfolder, never the rest of the folder.

== Changelog ==

= 1.99.0 =
* Changed: the Sale button in TEG Companion now asks before it charges. Charge shows who the sale is for (or Walk-in), how many lines and the total, with Cancel and "Charge $X" - nothing is sent before that tap.
* Changed: a sale that comes to 0.00 is only made after a warning and a second confirm on the phone. The shop also refuses a 0.00 sale that was not confirmed (an older app, or a mistake) and says so - nothing is saved.
* New: the Sale screen has Name and E-mail boxes for the customer (phone optional). Leave them empty for a walk-in sale, as before. With an e-mail that is already on a customer, the sale goes on that customer (their name on file is kept, and they are priced as that customer - tax-exempt, club); otherwise a new customer is added with that name and e-mail. The receipt goes to that e-mail.
* New: when your newsletter is on (the same setting as the check-in's "Add me to the newsletter"), the Sale screen offers the same box, ticked, when an e-mail is typed. Ticked signs the customer up and logs it like check-in does; it never signs up a customer marked "No marketing" or "No e-mail", and unticking it never takes anyone off the list.
* New: "Item not in the list" on the Sale screen is now a plain button next to search and scan (for staff allowed to price a typed line - "Change prices", administrators always, or everyone when "Staff without Change prices may price free-text lines" is ticked).
* New: Delete on an invoice and on a work order in TEG Companion, for mistakes and duplicates. It asks first ("Delete invoice #... ? This cannot be undone.") and follows the website's rules: it needs the "Delete records" permission, an invoice with payments cannot be deleted (void it instead) - also one whose payment was refunded back to 0.00, or one marked "Paid (no payment recorded)" - and a work order with an invoice, deposit or insurance claim cannot be deleted. It is logged like a delete on the website.
* Changed: deleting the newest invoice or work order lets the next one reuse its number (website and app alike). Only the very last number of its kind is given back, only when nothing newer was made since, never a number another document still uses, and only a number that never left the shop: not when the document ever had a payment (refunded too), a card payment or pay link from TEG Companion, a TEG Rover collection or a matched Zelle payment, was sent, e-mailed or texted, or (a work order) had a deposit or invoice, even a void one - a late card payment or a customer quoting the number must never land on a different document. The activity log says "number ... freed for reuse". A label or ticket printed on paper is not known to the shop, so delete the newest one only when it was never handed out.
* Changed: a work order that still has a deposit or invoice on it (not voided) can no longer be deleted on the website either - void or delete that first, so its money never loses its job.
* For app builders: docs/COMPANION-API.md - payments.sale.newsletter, sale body confirm_zero_total and customer.new.newsletter, a typed e-mail finds the customer, 422 drs_confirm_zero_total; app/invoices/<id>/delete and app/workorders/<id>/delete, hello can.invoice_delete / can.workorder_delete.
* New: a work order whose deposits pay its quoted price in full becomes its invoice by itself, with the deposits as its payments, and shows Paid - whatever took the money (cash or check at the counter, Payment taken, Paid already, TEG Companion's take payment with cash or the Square app, the check-in deposit, the pickup, the Square Terminal, a deposit link paid online by Square, Stripe or PayPal, a Zelle payment once confirmed, store credit). With a linked quote the invoice carries its lines; without one, one line "Repair as quoted": the amount paid includes tax, and the invoice shows the tax part according to the shop's tax settings (Is labor taxable?, the tax rate, a tax-exempt customer pays none), so its total is exactly what was paid (when no price gives that amount to the cent with tax added, the line is billed untaxed and the work order says so). The price paid is the price: no club discount or running sale comes off it, also when the invoice is saved again or copied; an invoice that does not come to exactly the money on it is never shown as a clean convert (the work order says "look at it"). Once only: a webhook and a poll for the same payment, a resent request or two deposits at the same moment make one invoice. Not made when the job has no price, already has an invoice, or the deposits come to more than the price or the quote's total (the work order says why). Nothing is e-mailed; the repair status does not change. Settings > Workflow "Turn a fully paid work order into an invoice automatically" (on). TEG Companion: the take-payment, check-in deposit, pickup and Paid already answers, the Terminal deposit's pay status and deposit-terminal answers carry `converted: {invoice_id, number}` when it happened; take-payment's deposit_id is then that invoice; `converted.check: true` when the invoice needs a look.
* Fixed: every void of an invoice now gives the store credit used on it back to the customer, once - not only the website's Change status / editor and the phone's Cancel sale, but also TEG Companion's invoice status and invoice edit, the REST API (PATCH invoices/<id> with status void) and every other void, and a work-order deposit paid with store credit that is canceled. The store credit payment comes off the void invoice. Voiding it again gives nothing more; an invoice that was already void before this update is left as it is; a deposit moved onto its final invoice is not a void and gives nothing back.
* Fixed: giving store credit back on a void now takes its turn with any payment being recorded on the same invoice at that moment (before, the two could cross), and only the credit really taken from the customer's balance comes back, to that customer. When such a payment is still being recorded, the shop tries again by itself a minute later, and keeps trying until it can - the credit is given back once. The activity log says "store credit not given back yet ... queued, retried by itself".

= 1.98.0 =
* New: Sale button in the Companion app: ring up a quick sale on the phone and take payment. It is on as soon as you update, for staff with the Counter Sale permission; to hide it, untick Settings > TEG Rover > "Sale button on the phone".
* Changed: voiding an invoice now gives back the store credit that was used on it, automatically. If you used to add that credit back by hand after a void, stop doing so - it would now be given back twice.
* Fixed: on a sale made with TEG Companion's Sale button, a price typed at the list price (or at the sale price) during a running sale got the running sale after all when the invoice was saved again on the website, duplicated or converted - the total dropped and the invoice showed as overpaid. The line now remembers it (new invoice line column no_sale, added automatically); a REST API line may carry no_sale to leave out a running sale (never to add one).
* Fixed: a Sale-button receipt for a walk-in sale sent without an address went to the walk-in placeholder address and the phone said it was sent. It is now refused ("A walk-in sale has no address") until an address is typed.
* Fixed: when the shop cancels a phone sale it has just made because its total did not match, store credit applied automatically to it is given back to the customer.
* Fixed: two sales of the same serial number at the same instant (the phone and the website invoice screen) could both mark it sold; the serial is now claimed in one step and the second sale is refused.
* Fixed: on a sale made with TEG Companion's Sale button, a typed price or typed line (which gets no club discount) got the club discount after all when the invoice was saved again on the website, or when the member discount was removed and put back - the total changed. The line now remembers it (new invoice line column no_club, added automatically); a re-save, a duplicate or a quote converted to an invoice keeps the same total. Catalog lines still get the club; the website Counter Sale is unchanged.
* New: TEG Companion's Sale button - the Counter Sale on the phone. Scan a barcode (SKU or a serial number) or search Parts & Services, pick a customer or leave it walk-in; the shop prices every line (catalog price, running sales, club benefits, tax-exempt customers) and the phone shows the total; Charge makes an unpaid counter-sale invoice and the usual Take payment takes the money. Staff with the Counter Sale permission; only "Change prices" can type a selling price or a line that is not in the catalog (or anyone when "Staff without Change prices may price free-text lines" is ticked) - a typed price never gets a running sale, and a typed price or typed line gets no club benefit (design 4a; the website's Counter Sale keeps giving the club on typed lines), below cost shows a warning, 0 must be confirmed, and each one is written in the invoice's internal note and the activity log. A serial is sold once; a plain part may be sold into minus with a "0 left" warning, as on the website. A lost answer never makes a second invoice; a price that changed meanwhile saves nothing. Cancel sale voids your own unpaid sale from today (managers: anyone's) and puts the stock back. Settings > TEG Rover > Sale button on the phone (on by default). TEG Companion: app/pay/sale-items, sale-price, sale, sale-cancel, sale-receipt, sale-recent; hello can.sale, sale_set_price, sale_typed_line, sale_cancel and payments.sale (docs/COMPANION-API.md "Quick sale").
* Fixed: a Counter Sale form sent twice (a double click, or Back and send again) recorded the sale twice. Each form now records one sale; the second send opens the first sale and says so. A Counter Sale page opened before this update records nothing and asks you to reload ("This page was open too long - reload and try again"). A sale that takes the last of a part, or sells it into minus, now says "Stock: <part> 0 left." in its confirmation.

= 1.97.0 =
* New: move a unit by hand. On the work order, under "Where is the unit", Move the unit to one of your shops, a drop-off partner, With customer or an outside place (a clean room, a storage unit) - the move only, no send-out, no status change, nothing sent to the customer. Picking an outside vendor opens the send-out form filled in (that is a send-out); moving a unit away from a vendor while its send-out is out marks the send-out back with the place picked. Moving to or from a vendor needs the "Send work to outside vendors" permission.
* New: Settings > Locations lists every place a unit can be (your shops and drop-offs, With customer, On the way, outside places and vendors) with the units there now, and has "Add an outside place" (name, address, phone, note, "We send work here (vendor)"). Administrators only, as the rest of that tab.
* New: Bench, the board and the staff mobile page show where a unit is when it is not at its own shop, with a "Back in the shop" button. The work order list shows the place under the status and has a "where" filter, including "Units here (where I work)".
* TEG Companion: a repair whose unit is with the customer reads "<status> - with customer" in the app (lists, the work order, search, the pickup desk, the job screen); the status itself is unchanged. The shop is ready for the app update that shows where a unit is, moves it (the same right as changing a repair's status; to or from a vendor also "Send work to outside vendors") and lets administrators manage outside places and edit their shops' name, address and phone from the app.
* For app builders: docs/COMPANION-API.md "Where is the unit" - hello can.wo_where / can.places_manage / workorder.places, workorders/get where / moves / status_label_plain, the list's where filter, app/workorders/<id>/move, app/places/list|create|update|delete, app/sites/update.
* Outside Vendors: a "Plain place" tick (a place on the list that is never offered for a send-out) and a "Units here now" column. A vendor with a device out on a send-out cannot be made a plain place until it is back.

= 1.96.0 =
* New: website shortcodes, all named teg-repairshop-... so they never clash with another TEG shop: [teg-repairshop-hours] (opening hours, address, phone, map link from Settings > Store), [teg-repairshop-services] (the repair price list, "from" when one service has several prices), [teg-repairshop-newarrivals] (the newest Adoption corner items, buyer-safe), [teg-repairshop-reviews] (stars, first name and last initial - never the comment; or your Google reviews), [teg-repairshop-newsletter] (your newest newsletter sent with TEG-MARKETER, linked to its web version) and [teg-repairshop-plans] (the plans you offer on the customer page). Each one except the hours stays empty until you switch it on.
* Changed: the existing shortcodes are renamed so every RepairShop shortcode starts with teg-repairshop-: [teg-repairshop-adoption] (was drs_adoption_corner), [teg-repairshop-book] (was repairshop-book), [teg-repairshop-status] (was repairshop-status), [teg-repairshop-ticket-status] (was repairshop-ticket-status), [teg-repairshop-account] (was repairshop-account), [teg-repairshop-service-request] (was repairshop-service-request), [teg-repairshop-sales] (was drs_sales). The old names no longer work, so the update renames them once, by itself, in every page, post and draft (Elementor pages too) and writes the count to the activity log. Pages RepairShop makes for you use the new names.
* New: Settings > Integrations > Website shortcodes lists every shortcode with a Copy button and its on / off box. The price list shows each item's description (one short line). Pages the one-click installer makes switch on the shortcodes they hold.

= 1.95.1 =
* Fixed: a device sent to a vendor whose name was saved with extra spaces or odd characters now shows that vendor as its place, and comes back to its shop when the trip is marked back (before, it read as at the shop while it was out). Updating (and restoring an older backup or loading the sample data) adds vendors named on open send-outs to your Outside vendors list.
* Fixed: a send-out set back to "Back in the shop" a second time records the second return date, so the abandoned-device days count from then.
* Fixed: a shop that went back to an older version after 1.95.0 and updates again gets the places of its devices put right (the older version moved devices without recording it).
* For your own integrations: the workorder.status webhook message now carries the device's place after the move that status caused (where_kind, where_id, where_name, where_at), the same as workorder.moved; before, it held the place from before the move.
* Faster: the TEG Companion Customers tab, sorted by first visit, last visit or total, with a search that also matches invoice lines and parts.

= 1.95.0 =
* New: every work order says where the device is right now - "Where is the unit: With customer since ..." under the status (one of your shops or drop-off partners, With customer, On the way, or an outside vendor). It moves by itself at check-in, "Customer kept the unit", sending a device to a specialist and getting it back, "Customer took the unit", the two "customer has the unit" statuses, Diagnosing or In progress set on a device that is with the customer, on the way or at a drop-off partner (back to its shop), pickup and Completed, and TEG Rover pickups, bench and returns. Each move is a staff-only timeline line; the work order still belongs to the shop that opened it, and nothing changes the status, invoices, payments or stock. Customers never see the place. Open jobs get their place when you update.
* Changed: when a device comes back to the shop from the customer, the abandoned-device days count again from that day (as they already did for a device back from a vendor). Moving a unit to With customer - for example setting "Customer kept unit - waiting for parts" - resets abandoned-device notices already sent on that job.
* For your own integrations (staff side): a new webhook event, workorder.moved (the work order, from and to with kind, id and name - a name can be a vendor's - and the reason), listed on Setup > Webhooks > Events. An endpoint or webhook URL that sends every event receives it too; like the other events it is sent while the change is saved. REST API work orders and the work order in every webhook message carry four new read-only keys: where_kind, where_id, where_name, where_at. Check that an automation reacting to "any event" does not pass a vendor name on to a customer.
* Changed: backups and Settings > Data exports now include your outside vendors list (the place of a device at a vendor refers to it). Restoring an older backup keeps the list you have.
* Changed: a vendor typed in "Send it out" that is not on your Outside vendors list is added to the list, and the message says so. An outside vendor that still holds devices of open jobs cannot be deleted (untick Active instead). Setting a trip to "Back in the shop" on its form now records the return date, as the "It is back" button always did.
* When you update (and when you restore an older backup), a device that is out at a vendor gets that vendor as its place. A vendor named on an open trip but missing from your Outside vendors list is added to the list for it - check the list afterwards for names you want to tidy up.
* Search by line items, round 2: the Companion Customers tab finds a customer through their invoice / quote / service-call lines and work-order parts (after the name matches; the matching line shows in the row; the check-in search, which searches as you type, stays name and phone unless the app asks with lines: true); the website's dashboard search and the Customers, Work Orders, Invoices and Quotes lists find records through their line items and show the matching line under the row (the search boxes say "line item"); purchase-order lines are searched in the Companion for staff with Purchase orders and receiving only. The Work Orders help no longer says the list searches timeline notes.

= 1.94.0 =
* Get support: "Get support" in the button row at the top of every RepairShop screen (and in the WordPress bar) opens two choices, Report a problem or Request a feature. The screen you came from, the shop's name and the WordPress and PHP versions go with your message; the answer comes to the e-mail address you give. Your earlier messages and replies stay in the list, and "Check for a reply" now works for them once they are sent again.
* In a live demo a red "Questions? Get help" strip sits at the top of every screen and opens our contact form on the demo site (a demo shop cannot send e-mail itself).
* At most 5 messages per person and 20 per site an hour. "Delete my data" on uninstall now also removes the list of support messages.
* Shared parts brought up to date: support 1.1.0 (RepairShop's own support page is now the shared one), Help Center 1.3.1, page toolbar 1.1.0.
* Customer photos can be switched off: Settings > Workflow > Status page & check-in has "Let customers add photos at check-in" (on unless unticked). Unticked, the photo field leaves both the self check-in page and the booking page [repairshop-book], and a photo sent anyway is ignored - the check-in or booking still goes through. Staff photos on the work order are not affected.
* TEG Companion search finds by line items: Search everything (normal and General) also looks in invoice, quote and service-call lines and in work-order parts, so "PS5" finds the customer whose invoice line says "PS5 hdmi jack replacement" - the document, its work order and the customer. Such a result says why: the matching line goes in front of its subtitle ("INV-1042 line: ...", "Part: ...") and in a new `match` field; it comes after what the name, phone or number found (at most 5 a page per type) and counts in the totals. Not for words under 3 letters, a 4-digit phone ending or a phone number. General search also looks in a work order's resolution. The website's own search is unchanged.

= 1.93.1 =
* Fixed: a device that is out at an outside vendor is no longer treated as abandoned. While it is away the customer gets no "please collect your device" notice or reminder, no storage fee is started, the pickup reminder text is held back, and the job cannot be disposed of or moved to the Adoption corner. When the device comes back, every waiting time counts from the day it returned. A storage fee that was already running after a final notice still counts the days away.
* If you use abandoned-device notices and send work to outside vendors, check jobs that were at a vendor in the past weeks for a notice or storage fee that should not be there. This update does not change notices or fees already made.
* Changed: photo fields now let a phone choose between taking a photo and picking one from the gallery. This covers the customer's own check-in page (the QR code) and the staff screens: work-order photos, the Bench, the staff mobile page and pickup photos. Useful for a picture that already exists, a shipping label for example.

= 1.93.0 =
* New: you decide whether technicians may change a repair's status in the TEG Companion app. Settings > Access & technicians > Permissions has a new row, "Change a repair's status in the TEG Companion app". It is ticked for every role after this update, so nothing changes until you untick it.
* Administrators, the shop owner's logins and shop managers can always change status in the app. The row decides for technicians and any other staff role.
* When a role is unticked, the shop refuses a status change from the app with a plain sentence: Change status, Ready for pickup, Picked up, Customer took the unit and Reopen. The status buttons on the website are not affected.
* A pickup in the app by a login without this permission is refused before any payment is taken.
* The app greys these buttons once TEG Companion is updated to its next version; older app versions show the shop's sentence instead.

= 1.92.0 =
* New: the work-order status "Customer has unit - considering quote". Use it when a quote is out and the customer takes the device home to think it over. It is set from Waiting for customer approval or Diagnosing (button on the work order, the Bench, the mobile staff page and TEG Companion). Nothing is charged or sent to the customer, and the job gets no abandoned-device notices.
* If the customer approves the quote, you get an alert to ask them to bring the unit back (the job goes to Approved, or to "Customer kept unit - waiting for parts" when parts are still needed).
* If the customer declines the last open quote and the shop holds no money and is owed none, the job is closed. If a deposit is held or money is still owed, the job goes On hold with a note for staff saying what to bill or refund. It is never closed with money open.
* Changed: the older status "Customer kept device - waiting for parts" is now called "Customer kept unit - waiting for parts" (same behaviour).
* Changed (every job): when a customer declines a quote online while another quote of the same job is already approved, the job now stays where it is and gets a staff note. Before, it was put On hold.

= 1.91.0 =
* New: Reopen as unpaid. For a closed or paid invoice whose payment was never really made, one step reopens the invoice and takes off the payments you tick. Payments a card processor took are refunded instead of being taken off, and store credit and gift card payments are not taken off here.
* New: Paid already. On an invoice or a work order, record a payment that was made but never written down, dated the day the money came in. Card is offered only when the shop has no card processor connected.
* A part payment on a work order is recorded as a payment, not as paid in full.
* Both are on the website and in TEG Companion (Companion app 1.65.0 or later).
* Fixed: in shops set to the United Kingdom or Europe, TEG Companion now shows a work order with the shop's own words and payment methods (for example "Labour" and "Bank transfer") every time. Before, some screens fell back to the United States wording.

= 1.90.0 =
* New: "Charge was made" in TEG Companion. When the Square app took the customer's card but the phone never got Square's answer, the person can say the charge was made. It waits on your site for an administrator or shop manager, who confirms it or marks it Not received, and it counts as money only when confirmed. A confirmed one is marked "confirmed by a person, not by Square" on the invoice, in the day close and in the reports, and refunding it does not go to Square (refund it in the Square account that took the charge, then record the refund on the invoice). Needs TEG Companion 1.64.0 or newer.
* "Charge was made" is not offered for club renewals or check-in deposits.
* If Square's own answer arrives while "Charge was made" is still waiting, Square's answer wins: it is recorded as a normal Square payment and the waiting one is closed.
* The amount and method of a "Charge was made" payment cannot be changed with Correct (its date and note can, or you can take it off).
* TEG Rover: a card payment that Square did not confirm is held for a manager and marked the same way, whatever the setting for technicians who carry the shop's own card terminal. If a real Square payment is recorded later on the same visit, it is recorded and both payments are flagged on Payments to check, so you can see which one to decline or refund.
* Fixed: a payment the database refuses is no longer logged as paid and no longer sends the "paid" notices. Payment notes are cut at 255 characters. A confirm that the database refuses goes back to waiting, so you can try again. Rover shows "Payment to confirm" only after the payment row has been kept.
* Fixed: a Rover payment reference longer than 64 characters was silently lost; it is now kept.

= 1.89.4 =
* Fixed: the Charge the fee box on the appointment Edit form now charges an appointment that is already No-show with the card still on hold. In 1.89.3 you could tick and confirm the box on such an appointment and nothing was charged - the form only said "Appointment saved." If you used the box since 1.89.3, open the appointment: the Card hold line shows whether the fee was charged, and Charge the fee next to it still works.
* Changed: when the box is ticked and nothing is charged, the form now says so and why - the fee was already charged, the cancellation was in time and the hold was released, the card is no longer on hold, or the status is not No-show or a late cancellation. It never ends with a plain "Appointment saved."
* Changed: the box is no longer offered for an appointment that was already Canceled, and it never charges one. The appointment does not record when it was canceled, so the form cannot tell whether that cancellation was late. Use Charge the fee or Release next to Card hold on the appointment instead. The box is also not offered while a cancellation would still be free.
* Changed: TEG Companion's choice to charge the fee (shown by a later app version) follows the same rules: it charges an appointment that is already No-show with the card on hold, and never one that was already Canceled. The REST API still never charges.

= 1.89.3 =
* Changed: only a job's final invoice paid in full now moves a Ready job to Completed. A deposit, a part payment or a paid deposit invoice leaves the job at Ready (for example 30.00 paid of 100.00: the job stays Ready and 70.00 is still owed). Another issued invoice of the job that still owes money also keeps it at Ready; an invoice that is only a draft does not. This applies to payments you record, online payments, TEG Companion, the Square Terminal and check-in deposits.
* Changed: setting a quote to Approved yourself (the status buttons, the Job screen, the quote's edit form, TEG Companion or the REST API) now does what the customer's online Approve does: the quote's parts are reserved for the job once, a job that is waiting for the answer moves to Approved, the job's authorized amount is set to the quote's total and your own integrations (webhooks) are told. No staff alert is sent, and no name or signature is recorded. Parts in option groups are not reserved when no option was chosen (the job gets a note).
* Changed: an approval, online or by you, no longer pulls a job that is already in progress, waiting for parts or Ready back to Approved. The job keeps its status and gets a note. (Before, the customer's online Approve moved such a job back to Approved.)
* New: the appointment Edit form has a Charge the fee box for No-show and late cancellations, shown to staff with the refund permission. It is unticked, and the browser asks you to confirm before the card on hold is charged.
* Changed: TEG Companion can charge the no-show / late-cancellation fee only when the person chooses to; a later app version shows that choice, and until then the app never charges. The REST API never charges. This changes the 1.89.2 note that the Edit form never charges: it charges only when you tick the box and confirm.

= 1.89.2 =
* Fixed: a card hold is now released when the customer arrives (Arrived / checked in). Before, it stayed held, and an appointment marked Arrived and later No-show could still be charged. Card holds already left held on Arrived or Completed appointments are released once, in the background, after you update. Nothing is ever charged for these.
* Changed: the free-cancellation time for a card hold is now counted on your shop's own clock. Before, it was off by your time zone's distance from UTC: shops east of UTC (the UK in summer, Europe) could let a late cancellation go free, and shops west of it (the US) could charge for a cancellation made in time. Late cancellations are now charged exactly as your policy says.
* Changed: choosing Arrived, Completed or a cancellation in time in an appointment's Edit form, in TEG Companion's appointment edit, or through the REST API now releases the card hold. Choosing No-show or a late cancellation there never charges the card: the hold stays, the Edit form tells you so, and the Charge the fee button charges it. The No-show and Canceled status buttons work as before.
* Fixed: in the Edit form, Send the confirmation now sends the cancellation message for a Canceled appointment, and nothing for a No-show (it used to send a confirmation).
* Fixed: if Square refuses to lower the held amount to your fee, the fee is no longer charged: the hold stays and you can press Charge the fee again, instead of the card being charged the whole hold.
* Changed: a work order sitting in a status you have hidden now counts as an open job - in the HQ figures, the daily digest, the open and overdue lists, the pickup desk and TEG Companion. A shop that parked old jobs in a hidden status will see those counts go up; close or cancel those jobs to clear them. The Bench Board shows a hidden status as a column while a job sits in it.
* Fixed: setting a work order to Ready through the REST API now respects your quality-check rule (answer 409 and nothing changes), and an appointment update with a start time that is not a date is refused instead of wiping the time.

= 1.89.1 =
* Fixed: loading the sample data (or a data package) now also clears the referral list and the referral coupons from before. In 1.89.0 old referrals stayed behind and could show against the wrong customers afterwards.

= 1.89.0 =
* New: Referral offer (Settings > Integrations > Loyalty & referrals, off until you turn it on). A customer's referral code now works like a coupon: a new customer who gives it gets the discount you choose (a percent or an amount) off their first bill, and the customer who referred them gets a reward once that bill is paid - loyalty points or a coupon for their next bill.
* Type the referral code in the coupon box of the new customer's bill (invoice, counter sale, pickup screen or TEG Companion). Remove puts the bill back exactly as it was.
* With the offer on, the new customer's discount replaces the welcome bonus points they would have had (the referrer's reward is the one you pick).
* Rules that protect you: first bill only; one per person (the same e-mail or phone counts as the same person); nobody can refer themselves; the reward waits until the bill is paid; at most 12 rewards a year per customer unless you change it; a discount that would take the bill to nothing is refused.
* Gift Coupons > Referrals lists every referral: who referred whom, who applied the code, the bill and the reward, with Export CSV.
* "Send my referral code" on the customer screen e-mails or texts the code - only when you press it, and never to a customer who asked for no marketing.
* Merging duplicate customers: the merged-away customer's referral code keeps working. A merge is refused only while the customer being merged has a referral discount on an unpaid bill whose referrer has not been rewarded yet - remove that discount first.
* Duplicating an invoice no longer copies a coupon's discount onto the copy.
* Gift cards: a card used on two bills at the same moment can no longer be spent twice.
* Gift cards: the customer's balance check pauses for 15 minutes after 10 wrong codes.
* Fix: the customer screen could give a customer a second referral code over the first.

= 1.88.2 =
* Appointments: the New and Edit appointment screens no longer stop with a script error, so the free times for the chosen day show again.
* Data Import: large imports run in batches with the progress bar again.
* Purchase orders and recurring invoices: "+ line" works even after every line has been removed; a line added to a purchase order made for a work order carries that work order's number; the column headings line up with the columns.
* Check-in and invoices (first-use fixes): the first line of a counter job's invoice shows as Diagnostic with no house-call fee box; the check-in form shows one urgency rate once, folds the optional checklist and says which fields are needed.
* The plugin download no longer includes 4 developer test files.

= 1.88.1 =
* Security: customer message text in the Bench notification bar, browser notifications and TEG Companion alerts is always shown as plain text, and their "open" link only ever goes to a screen of your own shop.

= 1.88.0 =
* TEG Companion and TEG Rover can follow a language (Pro edition, with the next app update). Each phone picks its own language in the app's main menu; the lists and screens it reads from your shop - customers, work orders, invoices, statuses, reports - then come in that language when your shop has words for it. Without Pro the apps stay in English, as today.
* Nothing the phone saves or sends changes with its language: new invoice lines (the hours line too), notes, e-mails, texts, receipts and pay links are written exactly as before - customer paperwork in the customer's language, else your shop's.
* The club renewal text TEG Companion sends to a member, and the payment-plan terms, receipt offer and club renewal line it shows on an invoice, are always in the customer's language (else your shop's) - also when the staff member's own language is different.
* A device checked in from TEG Companion with only a brand ("Phone Apple") is saved with the device type in your shop's language, whatever language the phone shows.
* The customer's own language is set on the website's customer screen or by the customer at check-in. The next TEG Companion update only shows it (the flag badge); older Companion versions can still change it.
* Phones on today's app see no change at all.
* For app builders: app/hello and device/hello add app_lang {v: 1, allowed, shop, packs, reply} (allowed = the Pro edition, fail closed); hello.lang, can.lang and can.translate are unchanged. X-TEG-Lang (or a lang body field on app/hello only) is used on the read-only routes listed in DRS_AppLang::READ_ROUTES, never on a write or with an idem; a fast read with a non-English X-TEG-Lang answers drs_fast_defer.
* Old-style short licence codes (from before September 2026) are refused with "license is the wrong length". They never unlocked RepairShop; only the message is different.

= 1.87.0 =
* New: Settings > Language. Pick your shop's language here. Customer paperwork, e-mails and texts are written in the shop's language, even when the person printing or sending works in another one. The customer language picker also lists any extra languages your site has.
* New: each staff member can pick their own screen language on their WordPress profile ("My language in the shop"). It changes only their own screens, never what a customer receives.
* Customers who have a language recorded still get it, now on more things: printed and on-screen receipts, the check-in code text, WhatsApp / Telegram status messages, the service report copy, the rating page, the customer account page, payment-plan reminders and the one-tap messages from TEG Companion. A customer whose language has no words in the shop gets your shop's language instead of a mix.
* Language packs come later and need Pro: with Pro, packs for the languages your customers use download by themselves when they are ready. The Spanish built into RepairShop today keeps working in every edition, without Pro. Customers set to Mexican Spanish, who get English today, will get Spanish once a Spanish pack is on your site.
* Dates on documents follow your region. If you left the date format blank, documents (older ones too) now use your region's own format - for example 11/13/2026 3:05 pm in the United States, 13/11/2026 15:05 in the United Kingdom. A site whose WordPress date was set to something like "November 13, 2026" will now see 11/13/2026. To keep the format you want, type it under Settings > Documents & numbering > Date format.
* Bill lines are written in the customer's language (for example "Diagnóstico" for a Spanish customer). The hours line and the storage-fee line on invoices are written in your shop's language, so time and fees keep adding up correctly whoever clicks.
* Spanish-language WordPress sites: the built-in e-mails, texts, messenger updates and the missed-call text now go out in Spanish to customers with no language set (they used to be English). Spanish texts are a little longer and can use more SMS segments.
* Month names and am / pm in appointment times, the fleet report and recurring invoice periods follow your site's language.
* Receipts and pay links follow the customer's language (else the shop's), never the staff member's: the receipt, card notices, the item name on Square's payment page for a TEG Companion pay link, and the pay-link text TEG Companion shows as sent. The pay-link text itself stays English until a language pack carries it.
* Receipt printers: accented letters print without the accent on thermal printers (for example "Diagnostico"), so they come out clean.
* TEG Companion's built-in message templates show their preview in English on the phone; what the customer receives is still in their own language.
* Fixed: an older invoice that kept the wrong currency sign (a pound sign, or "Â£", on a US-dollar invoice) now shows the right one on the pay block. Nothing stored changes.
* The office Take payment list shows the day in your region's date format, in your own time zone.
* Fixed: an online payment is no longer undone when the receipt e-mail fails to send (before, a mail error could make Square send the payment again).

= 1.86.0 =
* New: customer search forgives typos - if nothing matches exactly, it shows close matches (type “bunywmin”, find Bünyamin). It works in the Customers list (it says "No exact match - close matches:"), the customer box on a new work order, invoice or quote, the dashboard search, the invoice, quote and work order lists (a customer's name with a typo finds their documents) and in TEG Companion, with no app update. Phone numbers, e-mails and digits are still matched exactly.
* Customer search: the words can be in any order - “martin richard” finds Richard Martin.
* For app builders: app/customers/list, app/search, app/invoices/list, app/workorders/list and REST GET customers add close_matches (true = the rows are close matches). Every other key is unchanged.

= 1.85.0 =
* TEG Companion's reports go back further: this month, last month and older months - how many is a setting in Companion (default 3, up to 12). Each older month is a whole calendar month named like "September" ("December 2025" for last year), with sales, sales tax and the taxable total, house calls and service requests, and the invoices behind each figure - so a quarter's sales tax adds up on the phone.
* For app builders: app/reports/summary takes months (2..12, default 3) and adds month_ago_2 .. month_ago_{months-1} after last_month in periods, housecalls and service_requests; app/reports/detail takes period=month_ago_2 .. month_ago_11. Still v 1.

= 1.84.0 =
* TEG Companion 1.59.0 marks a job **Job complete** (Ready for pickup) or **Picked up** in one or two taps on the Job screen, and nothing is e-mailed or texted to the customer. The job's history gets a staff-only line, for example "Marked picked up from TEG Companion - the customer was not notified." The quality check and a payment plan that holds the device until it is paid still apply.
* Labor taxed when a document was saved keeps its tax when TEG Companion (1.59.0) saves the document again, the same as the website's editor, when your shop does not tax labor (Settings > Documents: Is labor taxable? = No). New labor lines are still not taxed.
* For app builders: app/workorders/status takes notify_customer (true = tell the customer the shop's usual ways, false = tell nobody whatever else was sent) and answers quiet true when nobody was told. hello.can.quiet_status says the shop does this.

= 1.83.1 =
* Self check-in has the English / Spanish button, like the service request form. It sits at the top right (in the kiosk, in the bar at the top); one tap swaps the whole form at once and keeps what was already typed. The form starts in the language of the customer's phone when the shop has it.
* Self check-in, the service request form and the counter check-in offer every language your shop has (English and Spanish today). With a third language the button opens a short list to pick from; a language without a flag shows its name.
* The language the customer checked in with becomes their language, so the check-in e-mail, later e-mails and texts and the status page follow it. Mistakes on the form are explained in that language too. The work order notes and the shop's alert stay in the shop's language.
* The kiosk goes back to the shop's own language when it resets for the next customer.

= 1.83.0 =
* An invoice you close without being paid now says "Closed – unpaid (written off)" instead of "Closed (not collected)", and its total line says "Closed unpaid: $80.00 (written off)". "Not collected" sounded like the device was never picked up - that is the separate abandoned-device process, which is unchanged. The button is "Close unpaid (write off)". The new words are used everywhere: the invoice screen and list, printed and PDF invoices, receipts, reports, the customer pages, the Close old unpaid invoices tool, imports and TEG Companion.
* The Job screen agrees with the invoice: a finished job whose invoice was closed unpaid shows "Job complete – $80.00 closed unpaid" (still with Reopen under it). TEG Companion gets the same words.
* Nothing else changes: a closed unpaid invoice is still not paid, adds no income, is never reminded, and can be reopened any time.
* New: "Mark paid (no payment recorded)" on an unpaid or closed-unpaid invoice. One click makes it Paid with nothing owed, and its job reads "Job complete" - but no payment is recorded, so it is not added to takings, the day close, income or the sales and tax reports. It shows as "Paid (payment not recorded)" in the lists and on the invoice, and "Paid – payment not recorded" on the Job screen and in TEG Companion. No stock moves and nothing is sent. It can no longer be paid online. "Undo mark paid" puts back the status and balance it had. Each use is recorded on the invoice and as a work order note (who, when, from where, what it was before).
* For old history: Settings > Import > "Mark old closed-unpaid invoices paid (no payment recorded)", next to Close old unpaid invoices - the same age and balance rules, imported-only if you like, a dry run first. Also `wp drs invoices mark-paid-old`.

= 1.82.1 =
* Printed and PDF invoices and quotes show the labor (hours) line the way the invoice editor does: the hours ("1.5 hrs") at the hourly rate ("$95.00/hr"). The editor says "1 hr" for one hour. A flat-priced labor line ("Repair as quoted $250.00", a labor item from Parts & Services) shows its quantity and price like any other line - on paper, in the PDF, on screen and in the editor.
* An invoice or quote that already has a labor line no longer opens with a second, empty labor line.
* A document saved while labor was taxed keeps that tax when you open and save it again, so the editor and the document show the same total.
* The work order's "Invoice / quote" now shows the quote made for it while there is no invoice yet.
* A printed quote no longer repeats the older price quoted on the work order beside its own total (invoices still show it).
* Work orders show the same warranty wording as your quotes and invoices.
* The "Open job" button on an invoice or quote carries the job's work order number.
* A repair's pickup code no longer changes between page loads when it was given one late (imported jobs, the sample data).
* The Bench Board says "Due" before the promised date.
* Dates follow your region everywhere they are shown (United States 11/02/2026, United Kingdom 02/11/2026, the EU country's) - a blank date format no longer falls back to WordPress's 2026-11-02. TEG Companion is told the shop's date format.
* A deposit or payment recorded with the wrong date can be fixed without giving a reason: the log says "Date corrected from ... to ...", who did it and from where. Amount, method and reference changes and cancels still need the reason.
* TEG Companion's Open work orders list shows every job that is not picked up or closed - a Ready-for-pickup job that already has its invoice stays in it.
* Wording: the phone app is called TEG Companion everywhere; the Doctor tickets button says "Sync tickets now".
* Sample data: quotes and work orders agree, one warranty, one labor line per document, US spelling, problems that fit the device, and nothing dated after today except due dates and upcoming appointments.

= 1.82.0 =
* New: Repair Stories. A technician taps "Tell the story" on a job in TEG Companion, says what the repair was, tidies and checks the words on the phone, and saves it. The story lands in the shop's story bank, credited to the technician whose phone sent it - so every technician's contributions count.
* New screen: TEG-REPAIRSHOP > Sales & money > Repair Stories. Filter by status, kind, technician and date; see how many stories each technician told, how many were approved and how many were posted; edit a story, approve it, archive it, mark it posted (where and when), and open its work order. Every work order has a Repair Stories box too.
* Before a story is saved, RepairShop checks it for the customer's name, phone number, e-mail address and street, and warns you. It never changes your words and never stops the save.
* Photos: pick up to three of the job's own photos for a story. They stay private.
* Blog pieces: a longer spoken piece can become a WordPress draft post (Make WordPress draft), by the technician who told it, with the photos attached. It is only ever a draft - you finish and publish it yourself.
* For your weekly posts: an approved story waits until your weekly routine takes the oldest one, shows it to you ("Waiting for the owner's OK"), and - only after your OK - posts it on Google or Facebook and marks it posted here. If you say no, it goes back to approved or is marked "Not used". RepairShop itself never posts anything anywhere, demo shops included.
* New permission: "Approve, edit and mark posted every technician's Repair Stories" (shop managers have it). Technicians change only their own stories, and not once they are with the owner or posted.
* Part of RepairShop for every shop, not a Pro extra. For TEG Companion 1.55.0.

= 1.81.0 =
* TEG Companion's new Job screen (1.52.0) reads a little more of each job: what was left with the device, the check-in checklist, whether a password is on file (never the password itself), when the terms were accepted, when each part on order is due and its purchase order, and whether the device is out with an outside vendor (staff only - customers never see it). Nothing changes on the website.
* For TEG Companion 1.52.0.

= 1.80.0 =
* TEG Companion now shows your own status colours. If you gave a status a colour in Settings (the status list, "key | Label | #colour"), the app's status pills use that colour. Statuses without a colour use the app's standard colours, the same in every TEG shop.
* For TEG Companion 1.51.0.

= 1.79.2 =
* Fixed: a job whose only invoice is still a draft no longer shows "Paid in full" (TEG Companion) or "Due $0.00" (the job page). It now shows "Draft $239.00 - not sent yet" with the draft's total. A job with nothing billed yet shows no amount. "Paid in full" only shows once an invoice has gone out and is paid.
* For TEG Companion 1.50.1 (it reads the same answer from the job).

= 1.79.1 =
* Staff screens say "Due" instead of "Balance due" (the invoice view, the job page, the customer list and customer page). What customers see - printed and PDF invoices, receipts, statements, the status page and e-mails - still says "Balance due".
* For TEG Companion's shared invoice editor (no visible change otherwise).

= 1.79.0 =
* Invoices and quotes: labor lines now read "2 hrs @ $80.00 /hr". Parts, services, fees and discounts still show quantity and price as before. This applies to every labor line: the hours line, a labor item from Parts & Services, a line you type yourself, and a line you switch to Labor (the layout changes as soon as you switch).
* New setting under Settings > Documents, next to "Is labor taxable?": Labor lines "Below the parts" (the default) or "Above the parts". The invoice editor, TEG Companion, the printed and PDF document, the customer's copy, the quote approval page and the receipt all follow it. Parts, services, fees and discounts keep their own order, and so do the labor lines among themselves.
* New lines go on the right side: with labor below, a new part goes above the labor lines; with labor above, it goes under them.
* The hours line shows the rate's name (for example "Labor - ASAP rate") under its description.
* If your shop does not tax labor ("Is labor taxable?" = No), labor lines no longer show a Taxable box. Switch a line to Part and the box comes back, ticked.
* TEG Companion 1.48.0 does the same in its invoice editor.
* Help updated: the invoice lines and the new Labor lines setting, changing or canceling a work-order deposit (the Deposits card, and the Payments card in TEG Companion), and sending any card payment from TEG Companion to the Square Terminal.

= 1.78.0 =
* New in TEG Companion: when you take a card payment on a work order (Take a deposit, Payment taken, a deposit at check-in, or a pickup before the job has an invoice), you can send it to your Square Terminal. The customer pays on the counter terminal and the deposit is recorded as soon as Square confirms it. Needs TEG Companion 1.47.0.
* If the customer cancels on the terminal, or nobody pays, the deposit request is voided automatically, so it never shows as money owed.
* If the job already has an invoice, the card payment goes straight onto that invoice.
* "Record a payment" for a card taken some other way works as before.

= 1.77.0 =
* The Paid card on the job screen is now called Payments and shows what was paid, for example "2 payments totalling $300.00".
* New: change or cancel a work order's deposit from TEG Companion or the website (each change asks for a reason), or take a new deposit. A card deposit is refunded through Square.
* New for Spanish-speaking customers: set a language on each customer. Check-in, signatures, receipts and messages then use the customer's language.
* TEG Companion gets a Translate button to talk with the customer (it uses your AI key; common phrases work without internet).
* The QR check-in page has a language switch so customers can check in in Spanish.
* Fixed: the customer's language now works even when WordPress itself has no Spanish language pack installed.

= 1.76.0 =
* New: change inventory items and Adoption corner items from TEG Companion as well as the website - name, description, prices, photos and the other item details. Price changes still need the 'Change prices' permission.
* New in Plan house calls: Add before / Add after puts a customer (found with a search) just before or after any stop, without re-ordering the rest of the route.
* For customers with more than one location, pick which location the house call is for.
* Set a starting time for the route to see the planned arrival time at each stop, with an optional reminder: a calendar file with an alarm (on the website) or a reminder on the phone (TEG Companion and TEG Rover).
* Fixed: a Square Terminal payment cancelled from TEG Companion is only shown as cancelled once Square confirms it. If Square has not confirmed yet, the cancel is tried again automatically.

= 1.75.0 =
* Fixed: saving a fully paid invoice (from TEG Companion or the website) could leave it Open with nothing owed; a save now keeps it Paid.
* New: correct an invoice's Deposit and its payments - change a payment's amount, method, date or note, take a payment off, or add one that was never recorded. Each correction asks why and is written to the log with the old and new values. Card payments through Square, Stripe or PayPal keep their amount (refund them instead). Needs the 'Refund and delete payments' permission.

= 1.74.0 =
* New: Plan house calls. On House Calls (and Customers), pick a day and a technician, find customers with a search or the quick lists - open work order, pickup / return due, service request, near the shop, recent - and tick as many as you like. Plan route puts them on the technician's day in the best order with the stops already there, on a map with the distance and driving time; reorder or remove stops, then Save route makes the house calls.
* Customers without a usable address are flagged and left out until the address is fixed. You can also tick customers straight in the Customers list.
* The Route builder's Google Maps links now follow the order on screen, and a new Print route sheet prints the saved route.
* TEG Companion and TEG Rover get the same planner.

= 1.73.0 =
* New inventory label for any item: name, price, bin/shelf, a barcode and a QR code, printed on your label stock (Print label on the item screen). Handheld USB scanners read the barcode; Settings > Printers > Inventory label code chooses Barcode and QR / Barcode / QR, and a barcode is never printed too thin to scan.
* Adoption corner items can print their inventory label or their Adoption corner label (which gets the barcode too when there's room).
* New setting: Price on inventory labels.
* Scanning an inventory label opens the item, on the website and in TEG Companion. TEG Companion can print item labels.

= 1.72.0 =
* Invoices now have one Labor line: type the hours, and the rate fills in from the work order's urgency (Normal, Priority or ASAP, with any service contract applied). The rate shows under the price and you can change it. The job timer's Bill button adds its hours to that same line instead of adding another. If you change a work order's urgency while its invoice is still a draft, the labor rate follows unless you typed your own.

= 1.71.0 =
* New: "Integrate newsletter with Marketer" (Settings > Workflow, under the newsletter sign-up). When TEG-MARKETER is on the same website, every customer who joins your newsletter here - at check-in, on the customer form, through online booking, an import or TEG Companion - is added to TEG-MARKETER straight away as a subscribed contact, with the record of how they agreed, and put into the Marketer campaign you choose. Nobody is added twice, and anyone who unsubscribed in TEG-MARKETER is never signed up again. Ticking "No marketing" on a customer unsubscribes them there too; unticking the newsletter box takes them out of the campaign.
* A one-time "Send current newsletter customers to Marketer" button shows how many customers would be sent and catches everybody up in the background.
* New: your Adoption corner in a newsletter. In a TEG-MARKETER campaign, "Insert shop block" (or typing [ADOPTION CORNER]) shows the items up for adoption right now - photo, name, specs, condition and asking price, with a "See it / ask about it" link to your public Adoption corner page. Only while the public Adoption corner is switched on; cost, stock, SKU and serial numbers are never shown. When nothing is up for adoption, the block simply disappears from the e-mail.

= 1.70.0 =
* Zelle: the Zelle QR code RepairShop draws for you (when you have not uploaded your bank's own picture) now carries your "Name on Zelle" from Settings, the same name the Zelle request text uses, instead of the website's name. Blank = the shop name.
* PayPal: the payment is checked against the invoice before PayPal takes the money. A PayPal order that is not for that invoice is refused and nothing is charged (before, it was refused only after the charge).
* Totals that include money in another currency write each amount the way that currency is written (for example $20.00 for dollars and £50.00 for pounds).
* The Help page: a section whose name clashed with a browser word (such as "exports") no longer stops the page's scripts.
* Licence: a newer licence code that would switch off an edition or product you already have is not installed over your current code.
* Square: payment notifications keep working whether Square was given your address with or without www, http or https - now checked by the shared payments module itself. Nothing to change in your Square dashboard.

= 1.69.0 =
* Card and PayPal payments now run through the shared TEG payments module, the same one every TEG shop uses. You do not need to change anything: the pay links, webhook URLs, Square / PayPal / Stripe settings and every payment you already took stay as they are.
* Refunds: each card or PayPal payment on an invoice has its own refund form with the most that can still go back filled in. A refund is never more than is left of that payment, a double click refunds once, and a refund the gateway reports as pending is booked only when it is confirmed.
* Money that arrives online for an invoice that no longer owes it (paid at the counter meanwhile, voided) is kept once as unapplied with a red notice for the office, instead of being added to the invoice.
* A wire / bank transfer can be recorded by hand ("Bank transfer"); it is never offered to customers. Card terminals you use (Clover, Elavon) can be ticked under Settings > Payments.
* New: a payments CSV (Settings > Payments) and the TEG Companion "Take payment" engine on the shared module too.
* A Square, PayPal or Stripe key kept in wp-config.php is still used, and is copied once into Settings > Payments where that field was empty.

= 1.68.12 =
* A completed, closed or cancelled repair no longer shows "Held up: Waiting for ... part" when a part was left on a purchase order that was never received, and the Companion no longer counts its parts as waiting. The Held up count updates as soon as a job's status changes.
* Completing or picking up a job with parts still needed or on order now warns you (it is not blocked): receive or cancel the part on the job's Parts card or the purchase order.

= 1.68.11 =
* Online quote approval works again: "Approve and sign" (and Decline) on the approval page sent the answer to a wrong address, so the customer saw "Something went wrong" and the quote stayed unapproved.

= 1.68.10 =
* Check-in: a new device no longer shows the warranty boxes of the customer's other repairs ("This device was here" only for a real match: the chosen device, its make + model, or a typed serial / IMEI). The boxes clear when the device changes.
* Check-in: on the job side every label sits over its own field again (Priority, Technician, Promised by, Quoted price, Quote note, Labor warranty, Bench hours).
* Check-in: picking a customer no longer throws a JavaScript error.

= 1.68.9 =
* Licence check knows the new TEG Total Auction Management (TAM) product.

= 1.68.8 =
* Printed invoices no longer print web addresses: scan the QR code instead. The Zelle note now starts 'To pay by Zelle'.

= 1.68.7 =
* The customer timeline (and its TEG Companion pages) keeps the same order on PHP 7.4 for two events of the same kind and title in the same second, such as two texts sent at once, so paging through it never shows one twice and skips the other.
* Help & Tutorials: new sections for Niggles and Payment plans, so the "?" on those screens opens their help.
* Move this shop to another site: the staff names on payment plans (who recorded, set up or cancelled a plan, who sent a reminder) and on CSV imports now follow the move to the new site's user accounts.

= 1.68.6 =
* With TEG Back Office active, its page in Setup is now called "Back Office". The shop's own Payroll page keeps the name "Payroll".

= 1.68.5 =
* The admin menu is grouped the same way as the other TEG shops: Help is now "Help & Tutorials", the phone pairing page is "Device pairing", Settings is the last row of Setup, and Parts & stock now sits right after Front counter (before Sales & money).
* With TEG Back Office active, its payroll page sits in Setup, in the place of the shop's own Payroll page.

= 1.68.4 =
* The e-mail log no longer says "sent" for a message another plugin stopped before it left; it shows "held".

= 1.68.3 =
* Companion app: a manager can apply a Zelle, Venmo or PayPal payment at once at check-in and pickup; others wait for the office to confirm.

= 1.68.2 =
* Loading or resetting the sample data no longer sends or logs e-mails.

= 1.68.1 =
* The sample customer is now James Rockford.

= 1.68.0 =
* Pay-by-QR codes: Settings > Payments can show Venmo, Cash App and Zelle codes on invoices, the PDF, the customer's invoice link and invoice e-mails while a balance is due - each with the amount and "put INV#### in the memo". Venmo and Cash App codes carry the amount; Zelle uses the code image from your bank app. Off until you switch it on; these payments wait under Payments to confirm.
* Licence: the TEG-MAPIT name for its product.

= 1.67.1 =
* Customer links (invoices, quotes, bookings and the like) only open with their exact key; a link with a blank or altered key opens nothing.

= 1.67.0 =
* Region setting: one tick switches the shop between the United States, the United Kingdom and the European Union - currency, dates, tax, address wording, spelling and the ways customers can pay. Invoices already issued never change. The sample data now reads as a US business.
* Settings has a new Region tab. A shop updating from an earlier version becomes a US shop, exactly as it was - or a UK or EU shop when it had typed a pound or euro currency (its tax label and rate stay what it used). Settings you changed yourself are never moved by the tick; "Apply the region's defaults" is the one button that overwrites them, and it asks first.
* Every invoice, estimate and work order now keeps the money, date format and tax wording it was made with: its print, PDF, e-mails, the customer's pages and the online payment page show it - and charge it - in its own currency, whatever the shop's region is later.
* Payment methods follow the region: the US adds ACH bank transfer and Cash App / Apple Pay / Google Pay; the UK offers card, cash, bank transfer, cheque and PayPal; the EU card, cash, SEPA transfer and PayPal. Zelle and Venmo are US-only. A payment already recorded with any method still shows, reports and refunds as it was, and a method you accepted in another region is kept for when you switch back.
* Documents & numbering has a Date format and a Time format (blank = the WordPress formats, as before). Address fields say ZIP code / State in the US, Postcode / County in the UK and Postal code / Region in the EU.
* Totals and reports now count one currency at a time: after a region switch, money in the old currency is listed apart instead of being added in. The TEG Companion app shows every invoice in the currency it was issued in.
* Database update: one new column on invoices and on work orders.

= 1.66.1 =
* The Customer notes card on the customer screen now also shows the private staff note of each of the customer's invoices, marked "From Invoice #..." with a link to the invoice. These notes are private: they stay on the desktop and never show in the Companion app.
* No database change.

= 1.66.0 =
* Every customer now has one Customer notes card, on the desktop and in the Companion app: the general notes first, then the notes from their work orders, with who wrote each one and which came from a technician.
* The card keeps everything the Tech notes box on the customer screen did (call back, Done, Make work order, Edit / link, Delete), and "Add a note" now writes the note right there. The work order screen keeps its own Tech notes box, and the Timeline tab is unchanged.
* In the Companion app a work order also shows its customer's general notes on top.
* No database change.

= 1.65.0 =
* New: Business Reports > Cards. Every report card on one page, under the same section headings as the phone. Compare with the last period, the same time last year or dates you choose; set goals for the month and the year and see how far along you are; download any card as a CSV file, or print the page (or save it as a PDF).
* 21 more report cards for the TEG Companion Reports tab: Today so far, Cash flow (next 30 days), Discounts given, Refunds and voids, Regulars to call, Where new customers come from, No-shows and cancellations, Gross margin, Sales tax collected, Sales per staff hour, Turnaround time, Waiting for parts, First-time fix, Technician utilization, Booked ahead, Dead stock, Stock turn and Best times by item, plus Errand spending, Field time and Door collections for TEG Rover. Each person picks their own cards on the phone, now shown in sections (Money, Jobs, Customers, Stock, Staff ...). All new cards start switched off.
* Choose when a regular counts as lost: on Business Reports > Cards, set "Lost customers after" so many days (90 unless you change it). The Regulars to call card follows it.
* Optional monthly summary e-mail: on the 1st of each month, the cards you tick are e-mailed to the address you choose, for the month that just ended (Business Reports > Cards). It stays off until you save the form once, and saving it never sends anything straight away. E-mail test mode applies to it like any other e-mail.
* No database change.

= 1.64.0 =
* New: TEG Rover errands. Send a field worker on an errand - pick up a part, drop something off - with a list of things to get, a spend limit, a photo of the receipt and a record of the places you use. Spending over the limit waits for the office to confirm it.
* New: a general CSV importer (RepairShop > Import data). Bring in customers, devices and parts & services from a spreadsheet. Run a test first to see what would happen without changing anything, and undo an import afterwards if it was not what you wanted.
* Sample data you can add and remove again (Settings > Data): fill the shop with a few examples to try things out, then take them away with one click. The sample shop's public Adoption corner and Sales pages are now switched on, so they are no longer empty.
* Smaller tidy-ups to the admin menu, the licence page and the update check.

= 1.63.0 =
* Eight more cards for the TEG Companion Reports tab (pick them under Settings > Reports cards; all start switched off): Busiest times (the busiest hours and weekdays of the last 90 days), Repeat customers (this month's paying customers who had been in before, against last month), Owed to customers (gift card balances and unused deposits), Memberships due (renewing in the next 30 days, lapsed in the last 30, active), Warranty returns (jobs back under warranty against jobs completed), Quote to approval (average days to approval, quotes still waiting and the oldest), Follow-ups (overdue invoices, quotes waiting over a week, callbacks due) and Takings by method (this month's payments by cash, card, app pay, gift card ...). Every figure comes from Business Reports or the feature's own screen. No database change.

= 1.62.0 =
* TEG Companion Reports tab: extra cards (TEG Companion 1.31.0). Shown at first: This month vs last month (this month so far against the same days of last month, with the change in percent), Top technicians, Commissions earned, and Ready, not picked up (finished jobs still waiting for their customer, the longest waiting first, with what is still owed).
* More cards to pick on the phone (Settings > Reports cards): Top customers, Top items and services, Money owed, Work orders, Payments received, Average invoice, This year vs last year, Sales mix, Quotes won, New customers, Customer ratings and Low stock. Every figure is Business Reports' own. No database change.

= 1.61.0 =
* New: E-mail test mode (Settings > E-mail test mode, and on RepairShop > E-mail delivery). Turn it on before going live and every e-mail the site sends - invoices, quotes, receipts, reminders, status notes, staff alerts - goes to one address you choose and to nobody else. The subject starts with [TEST to ...] so you can see who it was meant for; the message is exactly what the customer would get. Everything else works for real. A red notice shows on every admin page while it is on. Text messages are not e-mail and still go out.
* Reopen under "Job complete": on the Job page the green Job complete pill drops a menu to reopen the job's work order or its invoice (a paid invoice keeps its payment).
* Reopen a purchase order: a received order goes back to Partly received or Ordered (stock already received stays in stock), a cancelled one back to Draft.
* TEG Companion 1.30.0: Settings > E-mail test mode (administrators) and a red banner while it is on; Reopen under Job complete, on a purchase order and on a lost lead (back to New, or Contacted when someone already called, texted or e-mailed). No database change.

= 1.60.0 =
* Deposits on a job: the work order has a Deposits section listing every deposit on the job - held, asked for, or already credited on which invoice - with Payment taken and Request a deposit right under it. It is there whenever the work order is open, including after you reopen it, so you can always go back and take another deposit.
* Take a deposit from a quote or an invoice: the money is recorded on that job's work order and credited on the final invoice, like every deposit. A quote that has no work order yet opens one first. If the work order is closed, it says so - reopen it, then take the deposit.
* The Job screen offers Take a deposit too. A closed work order still shows its deposits.
* TEG Companion 1.29.0: a Deposits section on the work order, Take a deposit in a quote or invoice's Actions and on the Job screen. Older apps keep Payment taken in their Actions panel. No database change.

= 1.59.0 =
* Reopen: a closed work order, invoice, quote or service request can be reopened from its status. On the website, click the status (Closed, Paid, Declined...) at the top of the document and choose Reopen; in TEG Companion, tap the Closed status and pick Reopen. It asks first and says what it goes back to.
* A work order goes back to the last open status it had (else In progress) and its history says "Reopened." An invoice closed as not collected, paid or void goes back to open - a paid one keeps its payment until you remove the wrong one. A declined or expired quote goes back to Sent (a void one to Draft); a declined service request goes back to open.
* Never offered on a converted document (use Convert back) or on a void deposit whose money already pays another invoice. The usual rules still apply: returns are counted, deposits and stock follow as they always have.
* TEG Companion 1.28.0 shows Reopen under the Closed status; older apps keep the Reopen in their Actions panel. No database change.

= 1.58.0 =
* TEG Companion: a Deposits button on the home screen lists the open work orders holding a deposit the customer has paid - not yet picked up, not yet turned into the final invoice. Each one shows the customer, the device, its status, how much is held (after any refund) and when and how it was paid; two deposits on one job show as one line with both listed. The list only reads - nothing is changed.
* A deposit asked for but not paid yet is not on this list (Niggles' "waiting for your deposit" has those), and neither is one refunded in full, one already credited on the final invoice, or a void one.
* Needs TEG Companion 1.27.0 or later; an older app simply does not show the button. No database change.

= 1.57.0 =
* Niggles (Front counter > Niggles, and TEG Companion): friendly reminders you send BY HAND to the customers you tick - "your quote is still waiting", "we are waiting for your deposit", "your device is ready and still at the shop", and "have you abandoned the unit?". Tick the customers, see a preview (how many will get it and a sample e-mail), then send. Nothing is ever sent automatically.
* Each work order shows the niggles it was sent (how many, when, by whom on its history) and offers the ones that apply now (Niggle... on the work order, Niggle the customer in TEG Companion).
* Never for imported work orders, quotes or invoices; never to a customer marked "no e-mail" or "no marketing", or without an e-mail address; nothing is sent in demo mode. A customer niggled in the last 3 days gets a heads-up, not a stop; the same niggle to the same job twice within 5 minutes (a double click) is sent once. The pay link appears only when money is owed.
* "Have you abandoned the unit?" asks the customer to collect the device or contact the shop by a date (30 days by default, kept on the work order) and includes the shop's storage policy. The policy shipped is only an EXAMPLE, not legal advice - this niggle is not sent until the shop writes its own under Settings > Niggles (rules differ from state to state).
* Settings > Niggles: switch each type on or off, the days before a job is listed, and each e-mail's subject and text (built-in Spanish for Spanish-speaking customers). The overdue reminders, rating and review requests are not changed.

= 1.56.0 =
* Payment plans: on an unpaid invoice, press "Set up payment plan" to let the customer pay it off in 2 to 4 payments (never more than 4), weekly, every 2 weeks or monthly, with an optional down payment. The amounts are split evenly (the last one takes any rounding) and can be changed before saving, but they always add up to exactly the balance: no interest and no fees, ever. The customer agrees to the plain-English terms (a tick box recorded with the date and the staff member, plus an optional signature).
* Payments are recorded on the invoice exactly as before - at the desk, online, on TEG Companion - and each one goes to the earliest payment still due; paying more is fine. Paid in full turns the plan Completed. Staff can cancel a plan; the invoice stays as it is.
* The customer takes the repaired device home while paying, unless "Hold the device until paid in full" is ticked on the plan - then pickup (website, TEG Companion, or setting the work order Completed) waits until the balance is paid.
* The invoice screen, the printed invoice, the receipt and the customer's invoice / pay page show the schedule (date, amount, paid / due / late) and the terms. The pay page starts at the payment due; the customer may pay more.
* Payment plan reminders (Settings > Notifications, on by default): an e-mail a few days before each payment (3 by default), one on the due date, and one friendly note if a payment is missed (3 days after by default; can be switched off on its own). Each carries the pay link for that invoice. Sent once each, only for active plans - never for imported invoices, invoices marked never remind, customers without an e-mail, or in demo mode. "Send reminder now" on the plan sends one by hand. The overdue reminders, rating and review requests are not changed.
* Sales & money > Payment plans lists the active plans with the next payment and what is late; filters for due this week and late.
* TEG Companion: the invoice now includes its payment plan (read only).

= 1.55.5 =
* TEG Rover expenses: a technician can send a field expense (with a photo of the receipt) and the mileage of a day's house-call route from TEG Rover straight to the TEG Back Office. Receipts are checked and their location data removed before they are kept. Shown only while the TEG Back Office 2.2 is installed and licensed; otherwise nothing changes. Demo mode: accepted and marked DEMO, no e-mail.

= 1.55.4 =
* Reports: the taxable sales now show next to the sales tax collected - the amount the tax was actually charged on, after discounts (labor left out when labor is not taxable, nothing for tax-exempt customers or 0% items). On the Sales tiles, month vs month, Taxable vs non-taxable, Year by year, Sales tax by jurisdiction and the tax-by-month CSV (a new last column, taxable_sales; the other columns stay where they were). Invoices left out by the report exclusion tag are left out of the taxable sales too, and the "Left out" line says how much taxable they were.
* TEG Companion Reports: "Taxable sales" under each Sales tax collected figure, and the tax list opens with Taxable sales, Non-taxable, Sales tax collected and what was left out - the same numbers as the summary. Older apps see no change.
* Demo mode never takes money: on a demo site (Demo mode, the phones' demo mode, or the TEG SHOPS demo) no card form or pay button is shown, and Square, PayPal and Stripe are never contacted - online payments, payment links, webhooks, the PayPal notice and deposit holds all refuse. A normal shop is not affected.

= 1.55.3 =
* Send reminders: on a customer in TEG Companion, tick the invoices they still owe and send one statement, or one reminder per invoice, with one tap. Staff send it by hand; nothing goes out by itself, and the automatic overdue notices stay exactly as you set them. Invoices marked never remind (or imported) are skipped, and a second tap within 10 minutes sends nothing again. Off in demo mode.
* TEG Companion: quick reads that show photos no longer fall back to the slower route (a missing WordPress setting on the quick path).

= 1.55.2 =
* Send a test to me: before a customer e-mail goes out (invoice, quote, receipt, statement, reminder), send yourself the exact same e-mail first to check it. Only you get it, marked TEST; the customer gets nothing. Off in demo mode. Works from TEG Companion too.

= 1.55.1 =
* Status page: the queue position counts only repairs genuinely ahead of yours (older or higher priority), not newer ones.
* Outside Vendors: usual turnaround as a range (e.g. 7 to 10 days), used for the expected-ready date.
* Customer e-mails link to the customer's online account.
* Companion fast requests no longer log PHP warnings on WordPress 7.1.

= 1.55.0 =
* TEG Companion Reports drill-down: tap a figure to list the invoices behind it (app/reports/detail), open one to correct its lines, and the list and the summary refresh. House calls and service requests this month and last month. Changing a house call's technician moves the technician pay (an entry already paid out is reversed and a new one made).
* Report exclusion tag: only the bracketed [tag] in the private staff note leaves an invoice out of the reports; the left-out tax shows next to the tax totals.
* A paid club item activates the customer's pending portal membership and voids its open portal invoice.
* eBay is for administrators only (connect, list, Launch ad, price guide, categories - at the desk and in TEG Companion / Rover).
* Uninstall drops every plugin table and the 1.53 options.

= 1.54.0 =
* TEG Companion: Add item - a new item from the Inventory screen, or straight into the Adoption corner from its + button (app/inventory/create; same save as the website's New item form, duplicate SKU refused, prices need Change prices).
* Part lines are taxed by default (website invoice editor, recurring invoices, claims, TEG Companion); a catalog part marked non-taxable stays untaxed.
* Tests: old failing tests brought up to date (labels, money, modules, stale upgrade checks, licence and site-move harness); spelling fixes in 7 user-facing strings.

= 1.53.0 =
* TEG Companion: the Reports tab - sales and sales tax by period, administrators only (owner 2026-10-28).
* Reports: the report exclusion tag - invoices whose notes carry it are left out of the sales and sales-tax reports, and every report says so.
* TEG Companion: Service requests and Tech notes bottom-bar tabs; at most 4 tabs next to Home.
* An on-site appointment is a house call: made as it is booked, and kept in step when the appointment changes.
* Clubs: a club sold as an item renews the membership when its invoice is paid (DB 1.53.0: items.club_plan_id + club_months, drs_club_renewals).
* House call commission: the technician's share (default 50%) of the house call lines on invoices paid in full, through payroll; counts from the install day; Technician picker in the app's invoice editor (DB 1.53.0: drs_hc_share, items.hc_share).
* Customers: a whole address pasted into Address line 1 is split into line 1 / line 2 / City / State / ZIP (admin, portal, service requests and TEG Companion).
* Device kind 'Data recovery' is shown as 'Loose Drive'; the stored key stays data_recovery.

= 1.52.0 =
* Service requests: the duplicates sent before 1.50.0 are merged (owner 2026-10-28: "5 from Carlos all but one should be removed"). Once, on update, the open requests one person sent more than once (the same phone or e-mail, the same site, within 24 hours) are folded into the oldest: it counts every send, keeps every different text as a "Sent again" note (on its house call or appointment too), and fills its blanks from the others. The others get the new status Merged (duplicate) and point to the one kept - never deleted, off every list. Online Requests has a **Merge duplicate requests** button that does the same at any time.
* TEG Companion: sort the customer list by name, first visit, last visit or total spent (owner 2026-10-28). app/customers takes sort=name|first_visit|last_visit|total and returns first_visit, last_visit and total on each row; hello says can.customer_sort.

= 1.51.0 =
* TEG Companion: the store chooses what the phone's home screen shows (owner 2026-10-28: too cluttered - every button the shop supports was on it). Settings > TEG Rover has a new section, **Companion home screen defaults**: one checkbox per button, card, list and bottom-bar tab of the app's RepairShop home (Buttons / Cards / Lists / Bottom bar), saved with the page, and "Reset to starter set". Ticked = shown by default; each technician can still change it on their own phone. app/hello's repairshop module row carries `home` {v: 1, items: [{id, label, group, on}]} - only what that person can see (the same can-flags the app checks), in the app's order; docs/COMPANION-API.md "Home screen". Never saved = the starter set: Scan a label, Pickup, Appointments and Tech notes the only buttons on, every card and tab on, the lists Service requests, Open work orders and Recent invoices on. tools/test-companion-home.php.

= 1.50.0 =
* Service requests: one person, one request (owner 2026-10-27: "5 from carlos!"). The same form sent again within 2 minutes (a double click, a refresh, the back button) is the request it already made. A new request from the same person - the same e-mail, or the same phone number however it is typed - while their earlier one is still open (New or Called back, not turned into a work order, its house call or appointment not finished) and within 24 hours of the last time they sent it is added to that request instead: the new text is appended as "Sent again 10:42 am: ..." (on its house call or appointment too), and the request counts how many times it was sent. The staff are told once: no second e-mail, Telegram message or "new service request" on the phone - at most one "sent again" update on the phone per person every 30 minutes, and only when they wrote something new. A business account's staff reporting a different location still make a new request. On by default; no setting, no database change.
* TEG Companion: every service-request alert carries the request's key, so the phone replaces a notification instead of stacking another; app/service-requests/list and app/notifications say how many times it was sent (times_sent), when last (updated) and who sent it (person_key, for grouping "Carlos (5)"). The staff browsers' push notifications replace too (one per request).
* Adoption corner items have a **Serial number** field (owner 2026-10-27: "the adoption corner for an inventory item should have a serial number field"). Optional, trimmed, up to 64 characters, next to Make / Model / OS / CPU / RAM / Storage on the item form, and under the name in the Parts & Services list for items in the corner. It is staff-facing: shown in full only to people with "See full serial numbers" (the drs_pii permission), everyone else sees it masked to the last 4 (******1234) - saving the form with the mask unchanged keeps the stored serial. Parts & Services search, the Adoption corner search and TEG Companion find an item by its full serial or its last 4 (a scan of the full serial in Inventory matches it). Filled in by itself when the unit comes from a work order's device (Move to Adoption corner on an abandoned device), from a buyback (its serial, else IMEI), or - when an item is put in the corner with no serial - from the work order or buyback it came from. Never on the public Adoption corner page, the customer portal cards, the newsletter block, the Google / Meta feeds, Facebook / Instagram / Google Business Profile posts or the Adoption label. New setting under Settings > Integrations > Marketplaces: **Show the serial number in listings** (off by default) adds "Serial: <full serial>" to the eBay and Etsy listing description (and the Launch ad's eBay text) and to what TEG Lister fills in - nowhere else. TEG Companion: inventory item rows and app/adoption items carry adoption_serial (masked the same way for the person on the phone) and adoption_serial_masked; app/adoption/set accepts serial. (Database: items.adoption_serial varchar(64) - added by create_tables / dbDelta with the release's DB version bump.) tools/test-adoption-serial.php covers it.
* House calls: tap-to-route (owner 2026-10-27: "just tap various customer locations and have repairshop make a waze route hitting the stops ... tech can do on phone"). House Calls > **Route builder**: pick a technician and a day, tap customers and open house calls on the map (or find a customer), drag to reorder, **Best order**, Save - a house call is made for each customer who has none that day (assigned to the technician, normal priority, no time window) and the stop order is set; existing calls keep their data. Waze takes one destination, so the technician's phone opens the NEXT stop in Waze after each visit; "Whole route" opens Google Maps with all the stops (9 waypoints a link - a longer day is split into legs). Best order starts at the shop (or the technician's last check-in when under 30 minutes old) and uses nearest neighbour + 2-opt on straight-line distance (free, instant); with the new optional setting **Mapbox token for driving times** (Settings > TEG Rover, blank by default) it uses Mapbox driving times and falls back to straight lines on any error. Stops with a time window stay in the order of their windows. A customer with no map position is looked up when tapped ("No map position - fix the address" when it cannot be found).
* TEG Companion / TEG Rover: a technician builds and reorders his own day on the phone (new routes app/housecalls/route, /customers, /locate, /best, /save - docs/COMPANION-API.md "Tap route"); the save is idempotent with the phone's request id. New setting **Techs may build their own route** (default on); another technician's route needs the new permission "Build any technician's house-call route" (drs_dispatch: shop managers by default, administrators always). Every visit of the house-call day now carries waze_url and apple_url. (Database: house_calls.route_date - the day a call with no window belongs to - and wp_drs_customer_geo - customer map positions; made once on a site already at this database version, and by the next DB version bump.) tools/test-tap-route.php covers it.

= 1.49.0 =
* Payroll: advances. Money handed over before payday ("$290 cash towards his pay") is recorded under Payroll > Advances - person, date, amount, cash / check / Zelle / other, a note, and which pay it comes off (blank = their next pay date). Gross is unchanged (it is what they earned, and what the 1099 counts); the run shows Advances and Net to pay, net never below zero, and whatever one pay cannot cover carries to the next. Approving a run freezes which advances it took; withdrawing the run gives them back. An advance is voided, never deleted, and every step is in the activity log. The export has advances_deducted and net_to_pay columns (on each person's first row). Advances already kept by hand in the drs_pay_advances user meta are copied in once. (Database: wp_drs_payroll_advances, wp_drs_payroll_advance_uses, payroll_lines.advances / net - made on first use as well as on upgrade.)
* Payroll: fixed pay days - "Fixed days of the month" (e.g. the 4th and 18th) as the shop's pay period, or a person's own pay days under Pay terms. Each pay covers the days since the one before (19 Oct - 4 Nov pays on 4 Nov); a day a month does not have is its last day. A contractor on a fixed amount per pay is now paid it (it was $0), plus any hours or commission. Payroll > Earnings shows each person's gross this year and all time, advances, net paid, any advance still owed, the next pays with their expected net, and a contractor's 1099 total (gross) with the threshold flag.
* TEG Companion: a Notifications bell (owner 2026-10-27: "so we dont miss them"). New routes app/notifications (the last 50 new appointments and service requests, newest first, with how many are new for the person on the phone) and app/notifications/seen (the bell was opened). New = made after that person last opened the bell; an online booking, a service request and an appointment someone else made are new, an appointment you made yourself is not; an appointment the service request form made shows once, as the request. The last-seen time is kept per user (user meta drs_notif_seen, no new table); app/hello says can.notifications. (Database: appointments gets KEY created so the phone's once-a-minute count stays cheap - needs the DB version bump to reach existing shops; it works without it.)
* Adoption labels: a price tag for the Adoption corner shelf - Parts & Services > the item > **Adoption label** (beside "In the Adoption corner"), or tick items in the Adoption corner list and press **Print adoption labels** (one per page; none ticked = every item in the corner). It shows the shop header (the device labels' Label header setting), the unit in large letters, make and model, CPU / RAM / Storage (blank ones skipped), condition and year, the price large (or "Make an offer"), the SKU and - while the Adoption corner is public - a QR to the item on the public page. It prints on the label stock and layout set under Settings > Printers (browser, PDF or PrintNode); on a small label it shrinks first, then leaves lines off from the bottom (QR, SKU, condition, specs, make and model, header) - the unit and the price always print. Never customer data.
* Adoption corner items have Make, Model, CPU, RAM and Storage fields (free text). They go into the listing text (Copy listing text, eBay, Etsy, Launch ad for Facebook / Craigslist), eBay's Brand / Model item specifics, a line on the public Adoption corner card and the TEG Companion replies (inventory items and app/adoption: adoption_make, adoption_model, adoption_cpu, adoption_ram, adoption_storage; app/adoption/set accepts make, model, cpu, ram, storage). A buyback listed for resale fills in make, model and storage; an abandoned device moved to the corner fills in make and model, and CPU and RAM from its newest WinDoctor report. (Database: items.adoption_make / adoption_model / adoption_cpu / adoption_ram / adoption_storage.) tools/test-adoption-label.php covers it.
* Adoption corner items have an **OS** field too (free text with suggestions: Windows 11 Pro / Home, Windows 10 Pro / Home, macOS Sequoia / Sonoma / Ventura / Monterey, ChromeOS, Linux (Ubuntu), No OS), next to CPU / RAM / Storage. It prints as the first spec row on the Adoption label (OS, CPU, RAM, Storage), goes into the listing text and Launch ad, eBay's "Operating System" item specific and the TEG Companion replies (adoption_os; app/adoption/set accepts os). An abandoned device moved to the corner fills it in from the device's OS, else from its newest WinDoctor report; a buyback ticket records no OS, so it stays blank there. (Database: items.adoption_os.)
* Adoption labels on the Leitz Icon: on the 88 mm continuous roll the label prints landscape - 88 mm across the tape, the roll's label length (Settings > Printers, default 54 mm) - with the same hierarchy as a 4 x 2 in label. It keeps every Leitz rule of the device labels: regular-weight text (the unit and the price are printed larger instead of bold), nothing under 9 pt, the black and white logo, and everything inside the printable band and the edge rails. The header stays on one line and never cuts the phone number (a tall label puts the phone on a second line, a narrow wide one leaves it off); height left over goes to a larger price and evenly between the blocks instead of one empty gap above the price; on a tall label (59 x 102 mm) the price runs the full width above the QR. On every size the unit and the price are larger than the spec rows.

= 1.48.2 =
* TEG Companion: a customer shows how good a customer they are - "2017 - $12K" (customer since 2017, about $12,000 of business: invoices that are not void or draft, imported history included) in Search, the Customers list and the customer screen; just the year for staff who may not see money. Open online service requests (new, not yet a work order) can be listed for the app's home screen, and a check-in can say which request it came from - the request is linked and marked Done.
* TEG Companion: a paid invoice can be corrected from the phone (owner 2026-10-26: a part saved without tax on an invoice a deposit had already paid). app/invoices/update takes "correct_paid": the edit is saved in one step, the payments stay, and the invoice becomes paid, partially paid with the balance owed, or over-paid (refund or credit by hand). The activity log says "corrected after payment (Companion)" with the old and new total. Same permission as editing a paid invoice on the website; a void or converted document still cannot be changed. app/hello now tells the app the shop's "Is labor taxable?" rule, so a new line's Taxable box starts the way the website would tax it.
* Tech notes: people to call back and other things to remember that are not on a work order yet - RepairShop > Tech notes (Front counter) and TEG Companion's Notes screen. A note can carry a name and phone, a call-back time (the phone reminds you then; overdue ones show in red), and later be attached to a customer or a work order; "Make work order" finds the customer by the phone number (or adds one from the name and phone), opens the work order with the note as the problem and marks the note done. Customers and work orders show their notes; the dashboard shows the call-backs due. (Database 1.48.2: wp_drs_technotes.)

= 1.48.1 =
* TEG Companion: in Search, a customer shows Customer since and the date they became a customer, instead of the date the record was last changed (an import touches every customer, so that date said nothing). tools/test-companion-search.php covers it.
* Customer e-mails stay off unless the shop switches them on: a shop updating from a build before 1.39.4 that never saved the overdue-reminder setting now keeps overdue reminders OFF (it was switched on). New installs already start with overdue reminders, rating requests and review requests off; tools/test-ar-guard.php checks all three.

= 1.48.0 =
* Invoices: "Record" records the payment again. The gift-card, coupon, Stripe and card-terminal buttons are forms of their own and sat inside the payment form, so a browser ended the payment form early and Record, the method, the date and the receipt box were left outside it (since 1.41.9). They now sit beside it in the same box. The Job screen's Take payment opens it as before.
* Pickup: the coupon box and the card-terminal buttons sat inside the pickup form, so applying a coupon there submitted the pickup itself (without the signature). They are separate forms now; the pickup screen looks the same. tools/test-nested-forms.php reads both screens as a browser does.
* Reports: the sales report's taxable / non-taxable split shows its figures again. Its database query used a reserved word and failed on every server since 1.34.7, so the split came back empty. tools/test-taxable-split.php covers it.
* The Job screen: one job number, every document. A job's online request, its quotes (with their approval), the work order (status, bench, notes, parts, work performed, diagnosis, photos, files, signatures, pickup code, loaner), the invoices (a voided one marked VOID), the payments and the balance, read together on one screen (TEG-REPAIRSHOP > a work order / invoice > "Open job #N"). Across the top: the job number, the customer and phone, the device, the stages Request > Quote > Work order > Invoice > Paid > Picked up with the one the job waits on highlighted, the balance due and one button for the next step (Approve quote, Start work, Convert to invoice, Take payment, Mark picked up - the same actions as on the documents' own screens). Each stage opens its document in place, read-only; Edit, Void and Convert still happen on the document's own screen. A counter sale (no work order) and a warranty job (no invoice) show the stages they do not have as "none". Returns and warranty jobs are linked both ways. Nothing is merged: the work order, quotes and invoices stay separate documents with their own numbers.
* Where it opens: every work order, quote and invoice screen ("Open job #N"); the number in the Work Orders, Invoices and Quotes lists, on the customer's and device's pages and in the quick search (the document's own screen is the small link beside it). Typing a job's exact number in the quick search opens the job straight away ("Show the search results instead" is on the job).
* TEG Companion: new app/job/get route (by job number, work order, invoice / quote or online request) and hello can.job for the app's Job screen. A user who may not see invoices gets the job without any money (docs/COMPANION-API.md).
* The Job screen is now built on the shared JOB CORE (WINDOCTOR/shared/jobcore, generated: class-drs-jobcore*.php) with RepairShop's own half in class-drs-jobcoreadapter.php; the page address (page=drs-job), the entry links and app/job/get stay the same - the reply keeps every key it had and adds the family's neutral ones (job, subject, documents, next_action, extra; stages carry date and doc_ref). The Paid stage says "Paid" and the date it was paid, no longer the invoice's status; on a phone the balance sits on the header's top line and the page keeps room at the bottom so a fixed bottom bar never covers it. tools/test-jobcore.php (the core's harness test) with tools/jobcore-fixtures.php.

= 1.47.0 =
* Licensing: the TEG-HVAC and TEG-ARTIST product bits are known (family lockstep), so a combined licence naming them reads correctly.
* TEG Companion: a work order converted to an invoice no longer stays in the app's Open work-order list (home screen and Work orders > Open). The All list, the customer's and device's work orders and Search still show it, and its row now carries the invoice number. A work order converted to a quote (estimate) stays open, and one whose invoice was voided or deleted comes back.
* wp-admin: the same rule on the desktop. The Work Orders Open list (the default view), the dashboard's Open work orders tile (and its "N new"), its Work orders in progress table and the menu bubble leave out a work order converted to a live invoice; a quote, a voided or a deleted invoice keeps it open. Include closed (All), a search, a status filter, the customer's and device's pages and the reports still show it, and the list's Invoice column shows the invoice number. No status is changed.
* Phone search: a phone number typed in any format - (703) 401-3806, 703-401-3806, 703.401.3806, +1 703 401 3806 or 7034013806 - finds the customer whatever format the number was saved in, on the main phone, the second phone and the texting number. Applies to the customer, work-order, invoice / quote and appointment lists, clubs, the wp-admin quick search and TEG Companion (Search, customers, work orders, invoices). Other searches are unchanged; 4 digits is still "the phone ends in".

= 1.46.0 =
* Data recovery check-in: "Data recovery" is a device type at check-in (wp-admin New work order, the device form, the customer self check-in and TEG Companion), and picking it asks one more question - what the data is on: Internal drive, External drive or SD / microSD card (required in wp-admin and the app). The answer is kept on the device and shows wherever the device does - "SanDisk Ultra - SD / microSD card" on the work order, the printed work order, the device label and the device page. Sending a data-recovery job to a specialist lists your data-recovery specialists first. The counter pre-check-in (QR) form asks the same question when the customer picks Data recovery (required), and Finish check-in / TEG Companion carry the answer onto the device.
* Details: devices.media (DB 1.46.0, a nullable column), precheckins.device_media; DRS_Devices::kind_details() - the follow-up questions per kind, sent to TEG Companion in app/hello checkin.device_kind_details so a new question needs no app release; app/checkin device.media (an unknown answer is refused, 422 drs_invalid field device.media; a missing one is accepted for older apps); devices returned to the app carry media and media_label. docs/COMPANION-API.md.

= 1.45.1 =
* Licences for the new shops: TEG-EVENTCENTER, TEG-LASTDJ and TEG-FARM are known to the licence code, in lockstep with the rest of the family. A bundle licence that includes them is read correctly and names them on the License screen; nothing else changes.

= 1.45.0 =
* Take payment from TEG Companion, three ways, from the invoice screen (amount = the balance, or less for a part payment): Send to the counter's Square Terminal (choose the terminal; the phone shows waiting / in progress / paid / canceled and can cancel it), a Square payment link (a big QR code to scan, Copy, Text or E-mail it to the customer through the shop's text gateway and mailer; an unused link can be canceled), and the card on the phone through Square Point of Sale as before. Nothing is marked paid on the phone's word: the shop asks Square itself and records a payment only when Square says it is COMPLETED, at the shop's location, in the shop's currency and for exactly the amount asked - by the app's status check, Square's webhook (payment.updated, terminal.checkout.updated) and a 15-minute check for 72 hours; each Square payment is recorded once. The invoice screen lists these payments while they are under way, with Check with Square now and Cancel.
* A TEG Companion card payment from the Square Point of Sale app that Square cannot confirm at once (Square down, taken offline) is now PENDING VERIFICATION and goes on the invoice only when Square confirms it - the TEG Rover rule. Settings > TEG Rover > "When Square cannot confirm a TEG Companion card payment at once" keeps the 1.39.15 behaviour (record it at once as "not verified") for shops that want it; pending verification needs the access token.
* More Square Terminals: Settings > Integrations > "More Square Terminals (TEG Companion)", one device ID and name per line, for shops with more than one counter.
* Zelle, Venmo and PayPal recorded in TEG Companion are now PENDING CONFIRMATION, like TEG Rover's: not on the invoice (the balance stays; not in receipts, the day close, reports, A/R or statements) until the office checks the account and presses "Confirm received" - then it goes on the invoice once, dated the day the customer paid, with its reference and who confirmed it; "Not received" records nothing and keeps a log line. One queue for TEG Rover's and TEG Companion's: House Calls > Payments to check and the new Sales & money > Payments to confirm > Zelle / Venmo / PayPal tab, labelled with who recorded each one and in which app; the invoice and work order show "Pending confirmation $X (Zelle, ref ...)". A staff alert, a menu count and a notice tell the office. Cash, check and card are unchanged.
* Take payment safety (pre-release review): one Square payment is recorded once even when Square's webhook and the phone's check arrive at the same moment (a database lock per payment; the payment id is stored with the payment, not after it); Square's webhook for a TEG Companion Terminal checkout goes through that checkout. Paying an invoice another way, voiding, closing or deleting it cancels its open Square Terminal checkout / payment link at Square; a payment Square still takes for it - or any TEG Companion card payment the invoice no longer owes - is NOT put on the invoice: it is marked overpaid / unapplied, the staff are alerted and Payments to confirm > Card payments lists it to refund or record by hand. Unpaid payment links are canceled at Square after 72 hours and the 15-minute check never stalls behind them. A card payment Square never confirms is never counted as paid: after 72 hours it is listed for the office (with an alert) and can still be checked with Square. A Zelle / Venmo / PayPal or card deposit confirmed after the job was invoiced goes on only up to what is still owed.
* Take payment safety (pre-release re-review): a TIPPED Square Terminal payment whose webhook arrives before the phone's check goes through its TEG Companion checkout (Square's amount excludes the tip) - never recorded a second time beside a cash payment or onto a void invoice. Square's payment webhook never records a payment onto an invoice that no longer owes it (paid, void, closed): it is listed as unapplied under Payments to confirm > Card payments with a staff alert. When Square refuses to cancel a checkout or payment link (the customer already paid), the shop asks Square at once: the payment is recorded while the invoice still owes it, otherwise it is unapplied with an alert - it is never shown as "nothing was charged"; one still open at Square keeps being checked and the office is alerted.
* Take payment safety: a payment link (or terminal checkout) is checked with Square one last time before it is expired after 72 hours, so a link the customer paid while the phone was closed is recorded; expired links and terminal checkouts have "Check with Square now" on the invoice. The office's "Check with Square now" on a pending card payment also works after Square's 24-hour freshness hold. A verified Square Point of Sale payment from TEG Companion (mark paid, take payment, check-in deposit, pickup, club renewal) is stored with its Square payment id in the same write, under the payment's lock. The terminal screen asks every 3 seconds (was 2) and app/pay/status has its own rate limit (400 per 10 minutes per phone, not counted against the phone's other requests), so a long wait at the terminal never runs into "too many requests". Updating to 1.45.0 shows the administrator once any card / online payment that was recorded twice before.
* Take payment safety (pre-tag): deleting an invoice waits for a card payment being recorded on it (and the Delete button refuses an invoice a payment reached meanwhile), so no payment lands on a deleted invoice; money Square takes for a deleted invoice is left unapplied for the office with a staff alert. A payment link whose invoice was paid another way, voided or deleted is deleted at Square even when the phone or the 15-minute check was looking at it at that moment, and the 15-minute check keeps trying while Square refuses (one alert). A TEG Companion card payment confirmed later for a work order is stored with its Square payment id in the same write, and one confirmed for an estimate is left unapplied, never put on it.
* TEG Companion: app/invoices/<id>/terminal, app/invoices/<id>/pay-link, app/pay/status, app/pay/cancel, app/pay/send, app/pay/list; hello can.square_terminal, can.square_pay_link, payments.api 1.1, payments.terminal, payments.pay_link, payments.pos_unchecked, payments.pending_confirmation; invoices / work orders pending_payments; the repairshop module contract 1.1.

= 1.44.1 =
* Marketing feed for TEG-MARKETER: your customers with their newsletter choice, and their paid invoices, reach TEG-MARKETER on the same site so newsletters are written and sent there; opt-out works both ways (No marketing here is unsubscribed there, and an unsubscribe or complaint there marks the customer No marketing here).
* Details: the customers (with their newsletter choice and the proof of it) and their paid invoices are offered to TEG-MARKETER through the shared marketing feed (WINDOCTOR/shared/marketingfeed, marketingfeed-core 1.0.0), so the owner writes and sends newsletters there. Subscribed = newsletter sign-up on + box ticked + no 'No marketing'; 'No marketing' (eBay buyers included) = unsubscribed; anyone else is left to TEG-MARKETER's setting. Only paid invoices are purchases. An unsubscribe or complaint in TEG-MARKETER marks the customer 'No marketing' here (logged), which the Mailchimp sync already obeys. Saving a customer, or a check-in, tells TEG-MARKETER that one customer changed; ticking the newsletter box at check-in or by staff is logged as the consent proof. Settings: the newsletter row says 'send through TEG-MARKETER' with a link when it is active. The newsletter tick-box default and the Mailchimp sync are unchanged.

= 1.44.0 =
* Attach documents to a work order or an invoice: a PDF, a picture (JPEG, PNG, WebP, HEIC), a text or CSV file, RTF, Word (.doc / .docx), Excel (.xls / .xlsx) or OpenDocument (.odt / .ods), up to 5 MB each and 30 per document - from the new Documents card on the work order and invoice screens, or with "Attach document" in TEG Companion. Private and staff-only like the Companion photos: kept in the private folder under random names, opened only by signed-in staff or a paired phone, never on the status page, the portal, e-mails or the shared report. The type is checked from the file's content, not its name; programs, scripts, web pages, SVG, other archives and Office files with macros are refused. Adding or removing one is noted on the work order and in the activity log. A customer's data export carries their documents, anonymizing deletes them, deleting a work order or invoice deletes its documents, a site move carries them, uninstall removes them. TEG Companion: app/files/upload, list, get and delete (hello can.doc_files).

= 1.43.1 =
* Service report printing: the work order's service report prints on the shop's document printer through PrintNode - from TEG Companion and from the work order's "Diagnosis & work performed" card - as the staff copy (part serials and the device serial, the default) or the customer copy (no serials). The print is recorded on the work order's timeline and shown as "last printed". The Companion's service report PDF (share) takes the same staff / customer choice.

= 1.43.0 =
* Service report: a work order can carry the work performed (with part serials for staff), a diagnostic grid and symptoms, printed or saved as a PDF, e-mailed, shared on the status page or attached to the invoice; serial numbers stay staff-only on everything the customer receives (the device label no longer shows the S/N to the customer either). Work Orders list: Export work performed CSV. TEG Companion routes for all of it.
* Labels print legibly on black-only thermal printers (Leitz Icon): the small rows (field labels and values, header lines) never go below 9 pt on labels 70 mm and longer - a row that no longer fits is left off instead of printed smaller - and the label logo / header image print in pure black and white (Settings > Printers > "Print the label logo in pure black and white", on by default; a private copy is made, the uploaded image is never changed).

= Unreleased =
* Launch ad: "Put up for adoption" gets a Launch ad card - one shared draft for eBay, Facebook Marketplace and Craigslist with per-site titles. eBay is listed directly when connected; Craigslist and Facebook open the real posting page with Copy buttons for each field, a photo download and "I posted it - paste the ad link". Each site shows its status, renew reminders (Craigslist 30 days, Facebook 7) and, once the item sells anywhere, offers to end the other ads. Craigslist posting links fixed (site abbreviation, every US site); Settings picks the site, sub-area and category. TEG Companion: ad-pack, launch, posted and renewed routes.
* PayPal payments arrive by themselves: Settings > Payments has a PayPal instant payment notifications box (the URL to paste into PayPal > Account Settings > Notifications > Instant payment notifications, your PayPal merchant ID or e-mail, and a sandbox switch). Each notification is verified with PayPal before anything is stored; a Completed payment is recorded as an incoming PayPal payment (the full amount the customer paid, the PayPal fee noted) and matched to its invoice like a Zelle one - 'INVOICE 102479' in the note is enough. Pending ones wait for Completed; a refund or reversal only raises a notice, no payment is changed. Orders of an online store on the same PayPal account (e.g. WooCommerce PayPal Payments) are left to the store: put its invoice prefix under "Skip invoices starting with". Incoming payments now say Zelle, Venmo and PayPal.
* Leads: "craigslist" is a lead source (TEGANSWER files replies to Craigslist ads as Craigslist leads).
* Request Zelle payment: a button on an invoice that still has a balance (and on its work order) sends the customer one message - by text when the shop's SMS is set up and the customer has a mobile, else by e-mail, or both - with the amount due, the shop's Zelle address and name, and "put the invoice number in the memo" so the bank alert matches and is recorded by itself. You see the exact message and pick the channel before it goes; nothing is sent by itself. Uses the Zelle address under Settings > Payments; new there: the name on Zelle, the message and the e-mail subject. The invoice History records each request, and the button then reads "Zelle requested <date> - send again". Demo sites record the request and send nothing. TEG Companion: new app/invoices/<id>/zelle-request route (preview and send) for the phone's button.
* Incoming bank payments now cover Venmo as well as Zelle: TEGANSWER posts each Venmo "X paid you $N" e-mail with source "venmo" (recorded as a Venmo payment); the tab, notice and description say "Zelle and Venmo" and "N incoming payments need matching".
* Incoming bank payments: a closed invoice that still has a balance is now offered as a candidate ("invoice is closed - reopen it first") instead of being invisible; it is never applied by itself, and Apply on it still says to reopen it first.

= 1.41.14 =
* TEG Companion: book appointments from the phone. A technician books a drop-off, pickup, on-site visit, remote session or consultation for a customer (from the Appointments screen, a customer or a work order), moves it, cancels it or marks it done - through the website's own appointment rules and the same confirmation and cancellation messages (on by default, a switch on the phone). The phone may book outside the online booking times; it is warned first when the technician already has an appointment then, the shop is closed or it is outside opening hours, the time has passed, or the clocks change that night.
* TEG Companion reminders: every appointment carries its exact moment in the shop's time zone, so the phone reminds the technician (and can ring an alarm) at the right time even across a clock change. When someone else books, moves, reassigns or cancels a technician's appointment, that technician's phone is told (only theirs) and moves its reminders.
* New app/appointments/list, get, create, update and status routes; app/events adds appointment.assigned, appointment.changed and appointment.cancelled for the assigned technician.

= 1.41.13 =
* Get my license: after it runs, the License tab says plainly that this website is licensed, what the license is (edition, websites, expiry, this site's seat) and which order it came from; the page returns to that panel with the result.
* US spelling: license, not licence, on the License tab and the Doctor sticks list.

= 1.41.12 =
* Settings > Licence > Get my licence: enter the order number and the e-mail from the purchase and the licence downloads and installs itself (no copying the code). A 5-site licence gives each website its own seat.
* Check licence: picks up a renewal or upgrade bought from the same store account; never a downgrade, never removes anything. It also runs quietly once a day.
* Release this website: frees this website's seat (with the code entered here as proof) so the licence can be used on another site. Pasting the code by hand still works.

= 1.41.11 =
* Invoices show the device password to staff (from the linked device or work order); never on the customer's copy.
* The invoice screen shows the linked device (make / model, OS, description) with a link to it; the invoice editor has an "open device" link.
* Import: an invoice (or quote / service request) with no work order keeps the old record's device password - on a device linked to the invoice (made when there is none, a blank one filled, a set one never overwritten, no duplicate on a re-import).
* Work orders: Edit is the first button on the work order and on every row of the list. The edit form also changes the status (no customer message - Ready still needs the quality check) and the device's own password. Saving an edit no longer blanks what the form has no box for (how they found us, the accessories ticked at check-in, how it arrived, the drop-off partner, the import id, the location when Locations is off).
* TEG Companion: app/workorders/update takes every field of the website's Edit form (customer, device, device password, problem, condition, accessories, checklist, passcode, data answers, notes, quote note, warranty, bench hours, location, status) with the website's rules; app/workorders/get adds an `edit` block; invoices carry `device` and `device_passwords` for staff.

= 1.41.10 =
* A deposit is not an invoice. Money taken on a work order before its invoice exists (Take payment, a deposit at check-in, a deposit request, a Zelle payment recorded as a deposit) no longer takes a new invoice number. It is held on the job - 102889 - and shows as "Deposit" with the work order's number on the work order, receipts, e-mails, texts, the pay page, card and Zelle notes and the customer portal. It is left out of the Invoices list, invoice search, statements, overdue reminders and A/R aging; tick "Deposits" on the Invoices list to see them. The work order can still be changed; "Convert to invoice" makes invoice 102889 and the deposit moves onto it as a payment.
* Self check-in: the same form sent twice (a double tap, a slow phone) opens one work order, not two - the button greys out and a repeat lands on the first check-in. The same customer checking in again the same day while that work order is still New does not open a second job: the same device is ignored, a different device is ADDED to the first work order ("Also: ..." on its problem, a note, and the device on the customer's list). New "Add another device" button on the check-in form: several devices, one work order.

= 1.41.9 =
* One job, one number. With shared numbering a job keeps its number from start to finish: service request 102783 becomes quote 102783, work order 102783 and invoice 102783 - no more 102783-1. Each stays its own document (the approved quote is kept on file) and is labelled Quote, Work order or Invoice. A new job still gets a new number. Numbers already printed with a -1 stay as they are.
* Service requests: new "Convert to quote". Converting a service request to a quote, work order or invoice keeps its number; so does converting a quote to a work order.
* Zelle and other bank payments: type a work order or quote number when the job has no invoice yet and the payment is recorded as a deposit on its work order - credited automatically on the final invoice. A quote without a work order says to convert it first. Automatic matching still only pays invoices. Payments always go to the invoice, never the quote with the same number.
* TEG Companion: "Convert to work order" on a quote, and the apps' About screen shows the shop's RepairShop version (Companion / Rover 1.11.0).

= 1.41.8 =
* Quotes: new "Convert to work order". When a customer approves a quote but the job is not done yet, open a work order for it in one click. The quote stays approved and linked, and you convert it to an invoice when the work is finished. On an approved quote, "Send out for repair" takes you straight to the work order's "Send it out" card for work that goes to a specialist.
* Invoices: new "Convert back to work order" for an invoice made by mistake. The invoice is voided (never deleted - it keeps its number, with a note saying who did it and when), a deposit goes back to the work order, parts go back into stock, and the work order is open again to invoice later; a quote it came from is approved again. Nothing is sent to the customer. If a payment was taken on the invoice the button is greyed out until you refund or move the payment. Also in TEG Companion.
* One job, one invoice: converting a quote whose job already has an invoice no longer makes a second invoice - it links the quote to the existing one. A double click or an out-of-date page no longer creates a duplicate either.

= 1.41.7 =
* Check-in forms now ask "Is the unit damaged?" first. Only when you answer Yes does the dents, dings and marks drawing appear - on the customer's QR check-in and on your own check-in and work order forms. An undamaged unit takes no room, and switching back to No clears the marks. Marks sent from TEG Companion are kept.
* All your QR codes are now in one place: Setup > QR Codes. Check in a device and Service request come first, then new ready-made Front counter codes for repairs and for service, then your other QR check-ins, then Book, Review and drop-off. Add or edit a QR check-in from that screen. The old QR Check-ins address still works, and codes you have already printed keep working.
* Upload one default picture for the middle of your QR codes: it replaces the built-in picture on every code set to Default, on screen and on the printed QR pages. Any single code can still use its own picture or none.

= 1.41.6 =
* QR check-in on phones: slightly smaller text; "What are you leaving with it?" (with an "Anything else?" box) now sits above the signature and wraps cleanly; the separate "Accessories you are leaving" line is gone (same information, nothing lost).
* QR check-in: required fields are marked in red. If the device cannot be checked in yet, the missing fields turn red and a list right above the button says exactly what is missing (tap an item to jump to it). A check-in the shop refuses keeps everything typed and shows the reason there.
* QR check-in: the signature "Clear" button keeps its label after clearing.
* QR Codes: "Check in a device" and "Service request" are now the first two codes in the list (printed codes keep working), and every code can have its own centre image: default, none, or one from your media library.

= 1.41.5 =
* New: "Ready for pickup - text & e-mail customer". One button on the work order (and in TEG Companion / TEG Rover) sets the job to Ready for pickup and tells the customer by text and e-mail, after you confirm the exact message and who it goes to. The quality check still has to be done first; a customer who opted out of texts is never texted; without a text gateway the phone opens its own messages app with the text ready. A reload or a resend never sends twice, and nothing is ever sent by itself.
* The "Ready for pickup" message now gives the customer their pickup code and the link to their status page, and leaves out "Amount due" when nothing is owed. New placeholders for every phone message template: {pickup_code} {pickup_line} {status_page} {due_line}. If you never changed the Ready for pickup text, you get the new one automatically; an edited text is kept as you wrote it.

= 1.41.4 =
* Fix: "Payment taken" on a repair that already has its invoice (a draft or an open one) now puts the money on that invoice, instead of making a second, paid invoice beside it.
* TEG Companion check-in: a new customer's address (typed at check-in) is saved with the check-in. It only fills fields the customer does not have yet.

= 1.41.3 =
* Every screen's buttons sit in one tidy row of rounded buttons under the title, in the same order everywhere: what you do first (filled), related screens, then printing on the right and Help at the end. Three or more print buttons fold into one Print menu.
* Help Center: a new "Set up your shop" chapter - installing and the license, the setup wizard, printers through PrintNode, taking cards, texting, online channels, backups, the phone apps and a go-live checklist - with a Setting up FAQ.
* The full Doctor report in TEG Companion needs the "See full serial numbers" permission, the same as on the website; without it the app shows the summary.
* Demo mode (the public demo shop) now also refuses, on the shop itself, every phone request that would e-mail, text, print or send anything out.
* Security review fixes: the Doctor report viewer is stricter (SVG styles, CSS escapes, animations and comments), a lead's texting number is a real number or nothing, the phone-pairing admin route exists only on a demo shop, and importing settings never turns demo mode on.
* Printed work order: the customer's copy now shrinks its terms & conditions to fit on ONE page (Auto terms size), starting a little smaller and going down to 5.5pt if needed; the internal sheet still aims at two pages.
* Includes everything in 1.41.2.

= 1.41.2 =
* Doctor Reports > Unclaimed stays readable: "Dismiss every open report from this machine" on each Unclaimed row and on By machine (with its open count) - one confirm, one log line, nothing open = nothing done, each report still reopens on its own.
* Settings > Doctor connection > Test machines: serial numbers and / or machine models (one per line) whose Doctor reports are dismissed the moment they arrive ("test machine"), and "Apply to the open queue now" for the ones already waiting. Over 100 open, Unclaimed says how many come from the test machines.
* TEG Companion: "Full report" - the whole HTML report a Doctor stick sent, with scripts, frames, forms and outside links taken out (app/doctors/reports/<id>/html).
* Leads on the phone: Settings > SMS > "Lead reply text" fills in the first reply to a lead for staff to send from their own phone (app/leads/text) - the shop never sends it.
* A check-in made from a lead books the lead and links it to the new ticket by itself - in TEG Companion (app/checkin lead_id) and on the website (a lead's "Convert to work order" / "New work order"). No second customer is made from the lead.
* Demo mode for the phones (the public demo site only): an administrator-only REST API mints pairing codes (drs/v1/admin/pairing-code) and switches demo mode (drs/v1/admin/demo-mode); in demo mode the apps are told demo: true, the shop name starts "DEMO - " and printing, card payments, shop e-mail / texts and marketplace posts are off. Paired phones survive the nightly demo reset (docs/DEMO-MODE.md). Off = the apps see exactly what they saw before.

= 1.41.1 =
* Fix: the 1.41.0 update made the "Repair status" page too early in the page load and took the site down ("Call to a member function get_page_permastruct() on null") - the page is now made once WordPress is ready, and on the next admin visit if it is still missing. The update from 1.40.x is otherwise the same as 1.41.0.

= 1.41.0 =
* Customer status page: a public "Repair status" page at /status/ (made on install / update; /repair-status/ when the site already has a /status/ page). Customers type the ticket number and the 4-digit pickup code, or scan the QR on the label ("Customer status page" mode) or the receipt, and see only their first name, the device, the stage, a quote waiting for approval and the balance due. Wrong codes are counted; Settings > Workflow can switch it off.
* Returns: a repair of the same customer's same device within 30 days (Settings > Workflow), or a finished repair reopened, is flagged "Return" with the original repair and whether labor was charged. Business Reports > Returns: the rate by month, repair type and technician, and parts whose supplier warranty ends in 30 days (Parts & Services > "Supplier warranty (days)").
* Tools > Doctor Sticks: every paired stick with its last report, report count, licence, and flags - no report in 7 days, report archive off, unpaired attempts from unknown sticks.
* TEG Companion / TEG Rover: club renewal calls and texts (Settings > SMS > "Club renewal text", sent from the staff member's own phone and noted on the member), a Leads list (Yelp, Google, web: call, text, mark booked or lost), Pickup (find the ticket by scan, number or pickup code; payment, signature, receipt - no e-mail to the customer), the house-call day (stops in order, Next stop in Maps, visit steps - House Calls > Checklists & settings), the Doctor report inbox with Attach to ticket, the Doctor sticks card, and a sync check for the offline outbox. Day close shows the club renewals of the month.
* Customers: house-call notes for technicians (parking, pets / other). House calls: a stop order. Online Requests: a "Lost" status for leads.
* Nothing in this release e-mails or texts a customer by itself.
* Companion API: see docs/COMPANION-API.md s.3 "1.41.0".

= 1.40.2 =
* Clubs: renew a membership for a year with its payment - from TEG Companion / TEG Rover (the new Clubs screen: current, expiring and expired members, search, Renew at the club's yearly price with Square, Zelle, cash or card) and from Memberships > overview ("Renew + payment" per member). The payment goes on an invoice for the year like every other payment; no e-mail is sent to the customer.
* Clubs: memberships remember when they were last renewed and what was paid; renewals show on the customer's timeline; the members search also finds the club's name and phone numbers typed as bare digits.
* Companion API: app/clubs/members and app/clubs/renew; app/clubs carries annual_price.

= 1.40.1 =
* Quote approval links always follow the quote's Valid until date (30 days by default, at most 90): the "Approval links work for (days)" setting is retired.
* The Google Local Services auto-reply (still off by default) now texts message leads only - never booking or phone-call leads.
* Doctor reports reach RepairShop within about 10 minutes: the report import now has its own 10-minute job (the hourly one keeps the rest), and the Doctor Reports button is "Pull now".

= 1.40.0 =
* Adoption corner: Parts & Services > an item > "Adoption corner" puts an item up for sale to the public - "In the Adoption corner" with an asking price (blank = "Ask"), condition, year made, a public description and private photos (the new Photos panel; the first one is the cover). The list has an "Adoption corner" button and filter, an "Adoption" badge and a "Listed on" column. TEG Companion has the same flag, price, condition, year and description on an inventory item. Nothing in it e-mails or texts a customer.
* Put up for adoption: Parts & Services > an item > "Put up for adoption" lists it on eBay (fixed price or auction, eBay category suggestions) or Etsy (vintage items 20+ years old only - Etsy's rule) straight from RepairShop, or copies the listing text and opens Facebook Marketplace, Craigslist, OfferUp or eBay to list it by hand and records the listing's address; every attempt is kept in the listing history and the activity log, and an eBay listing can be ended from there. TEG Companion does the same from the item's "Put up for adoption" button (direct for eBay / Etsy, the phone's share sheet for the rest). Nothing e-mails or texts a customer.
* Marketplaces: Settings > Integrations > "Marketplaces (Adoption corner)" holds the shop's own eBay keys (App ID, Cert ID, RuName, business policy ids, the account-deletion endpoint and verification token eBay asks for) and Etsy keys (keystring, shared secret, shop, category, shipping and return ids) with Connect / Test / Disconnect. Secrets and tokens are stored encrypted, never shown again and never in a settings export or backup. Photos stay private: a marketplace gets signed links that expire after 72 hours.
* Public Adoption corner page: the shortcode [drs_adoption_corner] shows the cover photo, name, condition, price, description and an "Ask about this" link - never cost, stock or SKU - only after Settings > Integrations > Marketplaces > "Show the Adoption corner on the public website" is ticked (off by default).
* Adoption corner on the phone: TEG Companion's Inventory > "Adoption corner" (and TEG Rover's) is a grid of the items to show a customer - swipe the photos, see the price and condition, and share the text and photos from the phone. No SKU, cost or stock is shown.
* Clubs on the phone: TEG Companion's customer list shows each customer's club as a chip (green active, amber expiring, grey expired, a star for priority) and "Add to club" enrols a customer from the phone (months, and "Bill: none / invoice" - an open term invoice, never a payment). Adding from the phone is quiet: no welcome e-mail; the shop can send it from the customer's card. Nothing e-mails or texts a customer.
* Abandoned repairs to the Adoption corner: Work Orders > a work order whose final abandoned-device notice went out > "Move to Adoption corner" makes it a catalog item (stock 1, photos copied, the public text only make / model / condition - never the customer) and closes the work order as disposed with the paper trail kept; TEG Companion has the same button. Trade-ins: Buyback > "List for resale" also puts the device in the corner (grade -> condition). Nothing e-mails or texts a customer.
* Price guidance and sold on eBay: Put up for adoption shows the low / median / high asking prices on eBay now and a link to eBay's sold listings (TEG Companion: "Price guide"); every hour RepairShop reads new eBay orders - the listing turns sold, the item leaves the corner with stock 0 and a paid invoice is made for a quiet "eBay buyer" record (Settings > Integrations > Marketplaces > "Import eBay orders every hour", "Pull now"). Nothing e-mails or texts a customer.
* Telling customers: Parts & Services > Adoption corner > "Newsletter block" (HTML / text since your last copy, a dashboard note when there are new items); "In our Adoption corner" on the customer's account page while the public page is on; Facebook Page, Instagram and Google Business Profile posts (buttons, and automatic switches that are OFF until you turn them on); Google Merchant Center and Meta catalog feeds (OFF by default); "Fill on Craigslist / Facebook Marketplace / Nextdoor" with the TEG Lister browser extension (Craigslist forbids automatic posting) and a dashboard note when a Craigslist ad is 25 days old. Nothing e-mails or texts a customer.
* TEG Companion: renew a customer's club from the phone (quiet, optional invoice), end a listing, lister links for the PC. Nothing e-mails or texts a customer.
* Sales: TEG-REPAIRSHOP > Sales & money > Sales sets up a code-less price promotion - percent or money off each item, for everything, parts, services, labor, fees, chosen items or the Adoption corner, with start and end times, a minimum bill, a limit in invoices (in total and per customer) and whether a coupon may go on top. It applies by itself: a covered item put on an invoice, a quote or a counter sale gets the sale price with the sale's badge on the line ("Screen protector - Fall sale") and the bill, receipt and PDF say "You saved $x (Fall sale)". A quote keeps the price it was given; the invoice it becomes records the use. Setting up a sale needs "Change prices"; everyone gets the sale price. Parts & Services shows a Sale badge with the sale price and the invoice line picker says "was / now". A Report tab shows invoices, money given away and what those invoices came to. Nothing e-mails or texts a customer.
* Showing sales to customers: a sale marked "Show to customers" appears on the website with the [drs_sales] shortcode (only when "Show current sales on the website" is on - off by default) and on the customer's account page under their coupons ("Show current sales on the customer's account page", on by default). Nothing is public unless switched on, and nothing e-mails or texts a customer.
* Coupons and sales: a coupon on a bill with a sale that says "no coupons on top" is refused with "That sale cannot be combined with a coupon."
* TEG Companion: apply and remove a coupon on an invoice (and on the take-payment screen, before charging) with the shop's own reason when it cannot be used, check a code read out over the phone, see sale prices and badges in the part picker and on invoice lines ("You saved"), and a "Sales on now" chip on the home screen (Companion 1.8.0; app/invoices/<id>/coupon, coupon-remove, app/coupons/check, app/sales). Nothing e-mails or texts a customer.
* An offer on every receipt: Sales & money > Gift Coupons > "An offer on every receipt" prints one coupon (with its QR code) or one public sale - "Bring this back for {offer} - code {code}, valid through {expires}" - on PAID invoices only: the printed invoice, the thermal receipt, the PDF, the e-mailed receipt ({receipt_offer}) and TEG Companion's paid invoice. Never on quotes or unpaid bills. The campaign report counts the paid invoices printed with it. Nothing new is e-mailed or texted to a customer.
* Deposit at check-in by text link: Settings > Workflow > Deposit at check-in (Off, as shipped / Ask / Required), the amount (the diagnostic fee, a fixed amount or a % of the quoted price) and the text. When on, every check-in - New work order (check-in), TEG Companion and the customer's self check-in - opens the job's deposit invoice ("Deposit - repair WO-1042") and the work order shows a **Send deposit link** button: a text when the customer is textable, else an e-mail, else the QR code of the pay link on screen. Required only adds a red "Deposit not received" badge until it is paid; it never blocks a check-in. Paid online, by Zelle or by hand, the work order says "Deposit received" and the final invoice gets it as a payment already received. TEG Companion: app/workorders/<id>/deposit (create / send), the work order's `deposit` block, hello.can.deposit_link. Nothing is texted or e-mailed to a customer until staff click Send.
* When the same device comes back: on New work order (check-in), as soon as the customer and device are picked, a yellow notice "This device was here {date} for {problem}; the {N}-day warranty runs until {date}" for every earlier repair of that device (same device, same serial / IMEI, or the same make and model of the customer) whose warranty still runs, with **Open as a warranty claim** - the check-in is saved as a claim on that repair (linked, high priority, no diagnostic fee, labour at zero, no deposit). TEG Companion: app/checkin/warranty-check, and app/checkin takes `warranty_of`; hello.can.warranty_check. Nothing e-mails or texts a customer.
* Review requests, gated and rate-limited: a review (and the one-tap rating) request now goes only from the hourly job, only for a repair picked up at least "Hours after pickup" ago whose invoice is paid in full, to a customer with an e-mail who has not opted out and was not asked in the last 180 days (Settings > Integrations > Review requests), with no warranty claim or refund on the job - at most 10 a day. The rating request no longer goes the moment a job is set Completed. Settings > Integrations > Review requests shows what would be sent today (and what is held back, and why) with **Send one now** per row. Automatic sending stays OFF until the shop ticks "Send review requests automatically" under Settings > Notifications.
* Text the quote: the work order has a Quote approval card for its newest quote with **Text the quote** and **E-mail the quote** (the quote itself has **Text the quote** beside **E-mail approval link**); the customer gets one text "{shop_name}: your quote {number} for {total} is ready - approve here: {link}" (Settings > SMS > "Text the quote (approval link)"), opens the quote on their phone, signs and taps Approve and sign - or declines with a reason. TEG Companion has the same button. Nothing is texted or e-mailed unless staff click it.
* Quote approval links now work until the quote's "Valid until" date (at most 90 days); "Approval links work for (days)" is used only for a quote without a valid-until date still to come.
* An approved quote sets the work order's quoted (authorized) amount to the approved total, the timeline says "Quote {number} approved by {name} on {date} (signed)", the signature is kept privately with the signer's IP address and browser, the printed / PDF quote shows "Approved by {name} on {date}" with the signature, and webhooks get estimate.approved / estimate.declined. The staff are alerted as before; nothing is sent to the customer.
* Need a part: on the work order (Parts this repair needs), search the catalog and the supplier price lists (cost and ETA from the supplier's lead days), pick a supplier and click "Need a part - order it": the part goes on that supplier's draft purchase order (one draft per supplier), and a job that is being worked on moves to Waiting for parts. Receiving the purchase order marks the part received, reserves the stock for the job and puts the job back in the status it had; the technician's phone gets "Parts arrived". TEG Companion does the same (search, Need a part, the job's parts with state, supplier, ETA and PO number, a parts-waiting count). Nothing is sent to the customer or the supplier by itself.
* Doctor test requests: on the work order, **Request a Doctor test** (SMART, memory, battery, disk / CPU usage, HTTPS, examine, deep scan, crash analysis, startup, network, full) with a note; a paired WinDoctor stick lists the open requests, runs the test and sends the report back, which marks the request done with a link to the report and a timeline line naming the stick and who paired it. Reports show "Requested by". TEG Companion can request a test and shows the requests. Nothing contacts the customer.
* Help Center: new sections "Approving a quote from a phone", "Ordering a part for a repair" and "Asking the Doctor stick for a test", with FAQ entries.
* Day close: TEG-REPAIRSHOP > Sales & money > Day close puts one day's money side by side - payments by method, the cash drawer (opening float, payouts, cash counted, expected, over / short - the same count the Z report shows), card payments recorded vs settled by Square (or "not connected"), Zelle bank alerts received vs matched beside the Zelle payments recorded, other methods, invoices paid, deposits taken, refunds, work orders picked up with a balance, and a mismatch list (a payment on no invoice, an invoice marked paid with no payment, a Square payment with no payment in the shop, a card payment Square rejected). "Close the day" stores the numbers with who and when, one close per day; a closed day can be reopened with a note and closed again; "Print summary (PDF)" prints a one-page summary. Needs "Counter sales and the cash drawer" to close (or "Business Reports" to look). The Companion reads the same numbers for its "Today" screen (app/dayclose, read-only). Nothing e-mails or texts anybody: the summary joins the shop's own daily digest only when the new "Day close summary" box under Settings > Integrations > Scheduled reports by e-mail is ticked - it ships off.
* Customer timeline: a Timeline tab on the customer screen lists everything that happened with the customer, newest first - work orders, check-ins, status changes and notes, quotes and invoices issued / paid / voided, payments and refunds, texts, e-mails, calls, Doctor reports, club changes, coupons, appointments, photos, pickups and warranty claims - with filter chips by kind and an "Older" button. The Companion shows the same list (app/customers/{id}/timeline). Read-only; nothing is sent.
* Fleet: TEG-REPAIRSHOP > Tools > Fleet lists managed clients - everyone in a club, and anyone with two or more machines that sent a Doctor report in the last 90 days - with each machine's latest report date, its headline findings (disk health, memory, battery, blue screens) and a red / amber / green state, plus the client's open work orders. "Monthly summary" saves a one-page PDF ("Your machines this month": machine health, what we did, what we recommend) to the client's private documents, shown in their portal account under "Reports" and downloadable only by them. Sending is a staff click ("E-mail to customer"); nothing is sent by itself. The Dashboard shows a "Fleet: N machines red" tile; the Companion reads the fleet (app/fleet).
* Database: new tables wp_drs_day_closes (DRS_DayClose) and wp_drs_fleet_docs (DRS_Fleet); a new private-files subfolder "fleet". Backups / exports carry the day closes.
* Google Local Services leads: set up under TEG-REPAIRSHOP > Setup > Settings > Integrations > Lead sources > Google Local Services (developer token, OAuth client and customer ID, all secrets stored encrypted; Connect Google). Your Local Services Ads leads (messages, phone calls, bookings) are fetched every 10 minutes (adjustable) into Front counter > Online Requests with a green Google badge, the customer's phone and e-mail, the job category, whether Google charged for it, and Open in Local Services / Dispute links; the staff are alerted exactly as for Yelp leads, polling again never makes a duplicate, and Convert copies the phone and e-mail to the new customer. An optional auto-reply text (one per new message or booking lead with a phone) and "mark booked on Convert" ship off. Nothing e-mails or texts a customer by itself unless you switch the auto-reply on.
* Online Requests: a "Leads this month" line at the top of Front counter > Online Requests counts each source's leads, how many were converted and the conversion rate. Nothing e-mails or texts a customer by itself.
* Google Business Profile: TEG-REPAIRSHOP > Setup > Settings > Integrations > Google Business Profile now links Google's API access request (the project must be approved before Connect lists a location), keeps the account of the picked location, says that one connection serves reviews and posts, and notes that Google shut down Business Messages in 2024 (nothing to connect for messages). Nothing e-mails or texts a customer by itself.
* Nextdoor: TEG-REPAIRSHOP > Setup > Settings > Integrations > Marketplaces > Nextdoor is a checklist (claim the free Business Page, add the service area, ask three happy customers for a Neighborhood Fave recommendation, post monthly); once the page is ticked as claimed, the Dashboard asks "Post something on Nextdoor?" every 30 days (dismissable, or switch it off). Nextdoor has no Business Pages API yet, so nothing is posted for you. Nothing e-mails or texts a customer by itself.
* Help Center: new sections Google Local Services leads, Google Business Profile and Nextdoor, and seven FAQ entries (developer token, auto-reply, disputing a lead, one Google connection, no locations listed, Google messages, posting to Nextdoor). Nothing e-mails or texts a customer by itself.
* Fix: the item form no longer shows a stray apostrophe after the "Serialized" checkbox.

= 1.39.18 =
* Help Center: TEG-REPAIRSHOP > Help (now the last item of the menu) is a full manual - a Getting started tutorial, a section for every screen and every Settings tab (what it is for, step by step, tips, "If it doesn't work") and a searchable FAQ of common questions - with an instant search box that filters and highlights as you type. The "? Help" in the top right of every RepairShop screen opens the manual at that screen's section (WordPress's own Help tab points there too). The guide is plain Markdown shipped in the plugin's help/ folder, from the Help Center shared by every TEG shop. Nothing in this release e-mails or texts a customer.

= 1.39.17 =
* TEG Rover on-site visits: the technician taps "Arrived" and "Leaving" on a house call; each visit records the times, how far the phone was from the address, the minutes on site and a leave checklist (House Calls > Checklists & settings > "Visit checklist"; leaving with a required item unticked needs a reason). The office sees it on the call's timeline, the work order, the staff alerts and a printable "On-site visits" card.
* Signatures at the door: TEG Rover takes the customer's signature on a house call (delivery or pickup proof), kept privately with the call and shown on its screen and printed visit sheet.
* "On my way" text: a new message template ("{tech_first} from {shop_name} is on the way - arriving about {eta_time} ({eta_minutes} min)") the phone fills in for a house call's customer with the arrival time and sends from its own texting app; it is noted on the call. Nothing is sent by itself.
* Mileage log: TEG Rover sends the miles a technician drove each day (one entry per day and route, updated as the day goes on); Business Reports > Mileage log shows each technician per day, monthly totals and a CSV download, in miles or km by the shop's country.
* Today: the day's numbers - check-ins, pickups, invoices sent, money taken by cash / card / Zelle / other, card and bank payments still to confirm, running timers, jobs waiting on parts, house calls and new leads - on the phone and as a "Today" card on the dashboard.
* Photo markup from the phone: a photo marked up in TEG Companion is saved as a new private photo beside the original (the original is kept).
* Deposit at check-in: TEG Companion can take a deposit while checking a device in (cash, card, Square ...), recorded exactly like "Payment taken"; new setting Settings > Payments > "Suggested deposit at check-in" (an amount or a %) pre-fills it.
* Online estimate approval with signature: "E-mail approval link" / "Text approval link" on a quote sends the customer an expiring link (Settings > Documents: "Approval links work for (days)", default 14) to a page with the quote's lines, total and terms ("Estimate approval terms", blank = the check-in terms), where they sign with a finger or mouse to approve, or decline with an optional reason. The signature is kept privately with the quote, the staff are alerted, the work order's timeline notes it, and TEG Companion shows the link and the answer on the quote; the phone's "Estimate waiting" message now carries the {approval_link}.
* Counter pre-check-in QR: a new QR Check-in type "Counter pre-check-in" for a code on the counter - waiting customers enter their contact details, device, problem and passcode on their own phone; staff get an alert, and Front counter > Pending check-ins > "Finish check-in" opens the normal check-in form already filled in (TEG Companion: the pending list, and check-in from one).
* Message button on the work order: the TEG Companion message templates, previewed for the job and sent as a text (through the shop's SMS gateway, opt-outs honoured) or an e-mail, logged on the timeline - one send per click, never automatic.
* Google reviews: connect Google Business Profile under Settings > Integrations (OAuth client, secret encrypted at rest - Google's API access must be approved first, see docs/GOOGLE-REVIEWS-SETUP.md), then Sales & money > Google reviews lists the reviews with a reply box; a daily fetch alerts the staff (TEG Companion) about each new review. Customers are never e-mailed.
* Pay by Zelle instructions: set the shop's Zelle address under Settings > Payments and every invoice that still has a balance (print, PDF, the customer's link and portal, the invoice / reminder / receipt e-mails, the statement and TEG Companion) says "Pay by Zelle: send {amount} to {zelle_address} and put {invoice_number} in the memo" (wording editable, can be switched off) - so the incoming Zelle payment matches its invoice and is recorded by itself. Never on quotes or paid bills.
* Pickup code: every repair gets a 4-digit pickup code at check-in (open repairs get one on update), printed on the customer's tear-off part of a cut label and on the work order, and shown on their status page. "Verify pickup" at the top of the work order (and in TEG Companion) checks the code the customer gives at the counter: a match is marked Verified and noted on the timeline, a wrong code is flagged in red and counted. Can be switched off under Settings > Workflow.
* Reorder list (Parts & stock > Reorder list): stock-tracked parts at or below their minimum, by preferred vendor, with what is already on order and how many to order (twice the minimum less on hand and on order); "Create draft purchase order" per vendor. Receiving a purchase order adds the stock, marks the job's parts received and moves a "Waiting on parts" repair back to In progress (TEG Companion's "Parts arrived"); the work order shows which PO a part is on and when it arrived.
* Bank reconciliation (Sales & money > Bank reconciliation): for a month, the bank's Zelle alerts against the Zelle payments recorded - alerts not recorded (unmatched or ignored), payments recorded by hand with no alert, what matched, the totals and the difference - with a CSV download and links to each invoice.
* Doctor sticks: a WinDoctor run on a customer's machine can send its report straight into that customer's work order. Settings > Integrations > Doctor sticks makes a one-time 8-character pairing code (30 minutes, single use); on the stick, windoctor --pair-shop exchanges it for a key that can only file reports and look up a work order (revocable in the list). At the end of a run the technician types the work order number or scans the label's QR; the report (HTML page + JSON) is kept privately on the work order with view / download links, a timeline note "WinDoctor report: ..." is added and the Companion's bell rings. A work order closed more than 30 days ago is refused, and a report is never filed twice. API: docs/DOCTOR-LINK-API.md.

= 1.39.16 =
* Incoming bank payments (Zelle): ZELLEANSWER posts each M&T Bank "You Have Received a Zelle payment" alert to the new endpoint POST /wp-json/drs/v1/payments/incoming; a payment that matches exactly one open invoice for certain (the balance plus the customer's name or the invoice number in the memo) is recorded by itself, the rest wait under Sales & money > Payments to confirm > Incoming bank payments to Apply (pick a suggested invoice or type its number) or Ignore - never with an e-mail or text to the customer.

= 1.39.15 =
* TEG Companion signatures: the customer signs on the shop phone at check-in, at pickup or to approve an estimate, under the check-in terms (new Settings > Documents field "Check-in terms (shown above the signature)"). Each signature is kept with the signer's name and the version of the terms they saw, stored in the shop's private folder (never the media library), and printed on the work order and the invoice as "Signed <name>, <date>".
* TEG Companion one-tap customer messages: "Ready for pickup", "Estimate waiting", "Parts ordered", "Parts arrived" and "Pickup reminder" templates (editable under Settings > Notifications) filled in for the work order and sent from the phone's own texting or mail app, then noted on the work order's timeline. Nothing is ever sent automatically; the shop's own SMS gateway is used only when staff tap "Send from the shop".
* TEG Companion notifications: a staff events feed the app checks for new work - a job assigned to you, status changes on your jobs, parts arrived, customer messages, payments, new service requests and check-ins. Events stay on the shop's own server (no push service) and are kept for 30 days; nobody is notified of their own actions.
* TEG Companion job timer: start and stop the labor timer on a work order from the phone (the same timer as the work order page, billed the same way), with today's total; and an Idempotency-Key on the app's saves so its offline queue never records anything twice.
* TEG Companion card payments (Square): when the shop cannot reach Square to check a payment (Square not answering, a network error or timeout, no access token, or a payment Square took offline), the payment is now recorded and flagged instead of left in doubt - the app is told "recorded, not confirmed yet". New page Sales & money > Payments to confirm (with a count badge and an admin notice "N card payments await checking"): Confirm asks Square again; if Square says the payment does not exist it is marked rejected and can be voided (a reversal goes on the invoice and its balance reopens); Mark checked records a note when you checked it in Square yourself. Square's own notification confirms such a payment automatically. A payment Square says is not real is still refused at once, as before.
* New report Sales & money > A/R Aging: what each customer owes in Current / 1-30 / 31-60 / 61-90 / 90+ days past the DUE date (each customer's payment terms, not the invoice date), with totals, a terms filter, sortable columns and a CSV download. Each customer has a statement - open invoices with dates, due dates, amounts, payments and balance, the aging summary and where to send payment - to print, download as a PDF, or e-mail with the "E-mail statement to customer" button (one e-mail, only when clicked; nothing is ever sent automatically, and overdue reminders stay as you set them).
* New Tools > Remote support billing: upload SimpleHelp's Session Report CSV and turn session time into invoice lines. Columns are detected automatically; only sessions since the last import are shown (or a window you choose); each session is matched to a customer by e-mail, phone, name, company or a remembered name / SimpleHelp group, and you review and correct every match before billing. Short connection checks (under 3 minutes) and sessions over 8 hours start unticked. Time is billed at the "Remote support" service's price in Parts & Services ($60.00 an hour unless you already had one), in 15-minute steps with a 15-minute minimum, on a DRAFT invoice per customer (or added to their open remote-support draft). Nothing is finalised or sent, and a session is never billed twice.
* Nightly backups at a time you choose (Settings > Data, default 02:30): every RepairShop table, the settings (never passwords or keys) and - under a size cap you set - the private photos, in one zip in a private folder on the site, kept 14 nights plus one a week for 8 weeks. Optional off-site copy by SFTP (new) or FTP / FTPS, with the password stored encrypted; Test connection and Run backup now buttons; a status row (last run, size, result, next run) and a warning on the dashboard when the last nightly backup failed or none has succeeded for 48 hours. Big shops are fine: the tables are written out a few hundred rows at a time.
* Backups to Wasabi: the S3 off-site copy now has a Provider choice - Amazon S3, Wasabi (pick the bucket's region; the endpoint is set for you) or Other S3-compatible (your endpoint URL and region). The upload is streamed from disk (big archives go up in 16 MB parts), Test connection lists the bucket, old backups in the bucket are cleared by the same keep-14-plus-8-weekly rule, and the secret key is stored encrypted.
* Settings > Printers > Printer check: send (or print) the calibration label, measure it, type the length in and save. The last 10 checks are listed (when, printer, should be, measured, who); when the latest is more than 3 mm off, the panel lists the usual Windows causes (print directly to the printer, advanced printing features off, Quality 300x600, regular-weight text).
* Tax-exempt certificates: the dashboard and the Customers list say how many certificates expire within 30 days (and how many already have), linking to a list of exactly those customers, soonest first. The number of days is under Settings > Documents & numbering. It only warns - nobody's tax changes and no customer is contacted.
* What's new after an update now lists every release since the one you last saw (not only the newest), appears on the first wp-admin page you open after updating, is shown to administrators only, and its button says "Don't show again until the next update".
* Leads from Yelp: new Yelp "request a quote" leads can be sent to the shop (POST /wp-json/drs/v1/leads with the API key from Settings > Integrations - the YELPANSWER helper does this) and appear under Front counter > Online Requests with a Yelp badge, when they came in, which auto-reply answered them and a Reply on Yelp button. The staff are alerted as for any online request; nothing is sent to the customer and no customer is made until you press Convert, which creates the customer once and opens the New work order (or New appointment) form for them.

= 1.39.14 =
* Sample data looks like a real, busy shop: about a dozen work orders and four invoices now carry photos of the devices on the bench (cracked screens at check-in, opened laptops, parts being fitted). The photos are royalty-free stock (Pexels License) and are stored in the shop's private photo folder like any customer photo - never in the media library, never at a public address. Reloading the sample (or the nightly demo reset) replaces them, it does not pile them up.
* Sample data: more varied device models, every repair's problem now fits its device and bills a fitting part, and four business accounts on net-30 terms have overdue invoices (one part-paid) to try statements and the overdue filter on.
* New check-in option "Customer kept the unit" (the wp-admin New work order form and the TEG Companion app). The device still works and goes home with the customer until the parts arrive: the work order opens as "Customer kept device - waiting for parts" (or New, with a note, when that status is hidden in Settings), no accessories or charger are recorded as left with the shop, and the timeline says "Customer kept the unit at check-in". The passcode, data and terms questions are still asked.
* TEG Companion app: Contact > Drive lets you choose which location to drive to when a business customer has more than one (the main address and each of their sites); with one location it works as before. Door and access codes are never sent to the app with the locations.
* TEG Companion app (Android): "Take card payment (Square)" on an invoice and on a work order. The phone hands the balance (or less, for a part payment) to the Square Point of Sale app - Tap to Pay or a Square Reader - and the shop checks the payment with Square (the order, its card payments, the amount, currency and location) before it is recorded as a card payment; a payment Square does not confirm is not recorded, and the same Square payment is never recorded twice. Turn it on under Settings > TEG Rover ("Allow card payments in TEG Companion") and register the TEG Companion package shown there in Square. Without a Square access token the payment is recorded as a card payment marked "not verified with Square".
* Nothing in this release e-mails or texts a customer; loading the sample sends nothing.
* Labels never have overlapping rows or text off the edge. The label is measured with the real Helvetica widths (the old estimate was up to 15% short for capitals and bold text, so a line "fitted" by it ran into the next value or the QR). When the content does not fit, the whole label shrinks step by step - text and line spacing together - but never below 5 pt; a long one-line value (problem, e-mail, device) is cut with "..." to its width; only then are rows left off, least important first (data, e-mail, problem, invoice, dates, website, phone) - the work order number, customer name and device are never left off. Every layout is checked before it is used: no two lines overlap, nothing touches the QR or the header image, everything is inside the label, the big work order number keeps 2 mm under the tear-off line. A cartridge nudge moves the label but no longer pushes its edge off the page. Cut lengthwise with a text header and no cut position chosen: the cut now sits just under the strip, so a longer label gives its extra length to the bottom piece. Every print button (Print / Reprint label, Print on <printer>, the check-in auto-print, the Companion) now sends the identical label PDF. Continuous labels (Leitz Icon) now come out the length they are laid out for - measured on the shop's printer, a 70 mm label had come out 16 - 63 mm, squashed: the label job now asks the driver for its finest resolution (300x600; at its 300x300 default the Leitz drops about one row in seven), and a continuous label has a thin rail down each side so no row is blank (the Leitz skips blank rows). Leitz labels (continuous and die-cut) print their text in the regular weight - the Leitz Windows driver loses rows far more often under bold text. Settings > Printers: Resolution (Auto / the driver's default / a listed value), Edge rails (on) and Regular-weight text on Leitz labels (on), plus the Windows settings that help (Printer properties > Advanced: Print directly to the printer, Enable advanced printing features off); the calibration label carries the rails too and says how long it should be.

= 1.39.13 =
* Payment terms: a customer's terms are now picked from a list - Due on receipt, Net 10, Net 15, Net 30, Net 60, the shop default, or a custom number of days.
* Fixed: a new invoice started from wp-admin now falls due on the customer's own terms (it used the shop default even for a net-30 account).
* The printed invoice shows its terms ("Terms: Net 30") next to the due date.
* Tax-exempt customers: record the exemption certificate number and its expiry date. When the certificate has expired, or none is on file, the customer, the invoice and the TEG Companion app show a warning. Nothing changes on its own: the customer stays exempt until you untick the box.
* TEG Companion app: a customer's payment terms and exemption certificate can be seen and edited on the phone.
* Nothing in this release e-mails or texts a customer.
= 1.39.12 =
* New: Outside Vendors (TEG-REPAIRSHOP > Parts & stock). A directory of the specialists you send work to - name, address, phone, e-mail, notes and their usual turnaround - and a list of every device that is out with one of them right now, how many days it has been out, and the overdue ones in red. The specialists you listed under Settings are copied in on the update.
* TEG Companion app: "Outside" - what is out with each vendor and for how long (overdue in red), "Send out" on a work order and "Back in" when it returns. Needs the new permission "Send work to outside vendors" (shop managers and technicians have it by default; a saved permission matrix gets it for both on the update).
* TEG Companion app: a one-tap "Waiting on parts" list (work orders waiting for parts, including "Customer kept device - waiting for parts"), and sorting the invoice list by date, number or customer.
* TEG Companion app: "Report a problem" sends the app version, the phone model and its recent log (no customer data) to the shop. Reports show under TEG-REPAIRSHOP > App Problem Reports and as a staff alert.
* TEG Companion app: scanning a work-order or invoice label (or typing its number) opens it directly.
* Nothing in this release e-mails or texts a customer.

= 1.39.11 =
* TEG Companion app: "General search" - a new chip next to the search box. With it on, a word is found anywhere: a device's make, model, serial or description, the lines of an invoice, work-order notes, invoice notes, and a customer's e-mail, street address, notes and devices. Typing "sony" finds the customers with a Sony, their work orders and the invoices that sold or fixed one. It is off by default, so the normal search (number, name, phone, last 4 digits of a phone, problem) stays as fast as before.

= 1.39.10 =
* TEG Companion app: "E-mail to customer" on an invoice ("E-mail for approval" on a quote). After you reopen and edit an invoice you can e-mail the customer a proper copy from the phone - the same e-mail, PDF and ways to pay as the website's "E-mail to customer" button. A draft or open invoice is marked sent. The app first asks you to confirm and shows the address(es) it will go to. A double tap or weak signal never sends it twice. Nothing is ever sent unless someone presses the button.
* TEG Companion app: "Send reminder" now only shows on an invoice that was already sent (or partly paid) and still owes money.
* New on the customer: "Billing / payment e-mail (optional)" - a second address, for example a business's accounts office - and "Send invoices, payment links, receipts and statements to: Both / Billing e-mail only / Main e-mail only". Invoices, quotes, pay links, receipts, reminders, statements and the Square receipt follow that choice. Repair updates, ratings, reviews and everything else still go to the main e-mail only, and "No e-mail" still stops everything. You can edit both on the website and in the Companion app.
* Customer search (the customers list, the search box at the top and the Companion app) also finds a customer by the billing e-mail. The privacy export includes it and Anonymize removes it; a site move, merging two customers and both customer imports (a billing_email column) carry it.
* Fix: a random token (for example a new QR Check-in access token) was sometimes one character short - 19 instead of 20. Tokens are now always exactly as long as they should be.

= 1.39.9 =
* TEG Companion app: "Payment taken" on a work order. Record money the customer paid at the counter - amount, how they paid (your shop's own payment methods), a reference, the date and a "Paid in full" box - right from the phone. It is the same as the website's Payment taken: kept as a paid deposit and credited on the final invoice, so the customer is never billed twice. Nothing is e-mailed. Sending the same payment twice (a weak signal, a double tap) never records it twice.
* TEG Companion app: work orders show PAID IN FULL $X or Prepaid $X, on the work order and in the work order lists, exactly like the website.
* TEG Companion app: the "Customer kept device - waiting for parts" status shows with its name and can be picked from the work order's status buttons like any other status.
* TEG Companion app: staff alerts. The app can now show the same alerts the Bench page gets - a new check-in, a customer message, a booking, a warranty claim, a low rating, an abandoned device - and "Parts in - customer has the device" when the last part arrives for a job whose customer took the device home, so you know to call them. The shop keeps the last 30 alerts for a day (before: an hour).
* The "Parts in - customer has the device" event is listed with the other events for webhooks.

= 1.39.8 =
* New on the work order: Payment taken - record money the customer paid at check-in (cash, card, check..., reference, date, and a paid in full box). It is kept as a paid deposit, so the final invoice made from the work order shows it as already paid (balance 0 when paid in full) and nothing is billed twice. The work order shows PAID IN FULL $X or Prepaid $X. Nothing is e-mailed.
* New work order status "Customer kept device - waiting for parts": when the device still works, the customer takes it home while the parts are on order. It stays an open job on the board but is left out of the bench queue, and no e-mail goes to the customer. When the last needed part is received, the staff get a note and a push - "All parts are in. The customer has the device: call (name - phone) to bring it back."
* Fix: a placeholder serial number - NONE, N/A, -, 0, ?, "unknown", or a date - no longer counts as a serial. Before, every device whose serial read "NONE" was treated as the same device: at check-in, in the TEG Companion scan, when adding a device to a work order, and in both importers. On one shop the old-system import attached 1,475 jobs of 1,220 customers to one customer's iPad.
* Importing work orders now only matches a device that belongs to that job's own customer (by a real serial, or else by the same device name); otherwise it creates the device under that customer. A job that names no device and no real serial gets no device instead of someone else's.
* A date found in an old system's serial field is kept in the device's notes rather than as a serial.

= 1.39.7 =
* New: QR Check-ins (Front counter > QR Check-ins). Every QR code that leads to a service request form is now in one list: the full form, each campaign, each business account's link and custom links. Each row shows its name, type, code, where it goes, how many times it was scanned (and when last), and whether it is on. Edit, print its QR page, copy its link, switch it off or delete it from that one screen.
* New: one address for every code: your site's /service-request/?qr=<code> (a business code with an access token adds &t=<token>). You only choose the code - the address is always your own shop's. A "Custom link" code can send people anywhere else (any http:// or https:// address) and is still counted, because the printed code goes through your shop first.
* Scans are counted: every time someone opens a code's address (link previews and search-engine robots are not counted, and neither is sending the form).
* Codes you already printed keep working forever: /service-request/, /service-request/?src=<campaign> and /service-request/<business>/ (with ?t=<token>) open the same codes as before. If you change a code later, the old one keeps working too.
* On update, your existing campaigns (Settings > Service requests) and business links (on each customer) are copied into QR Check-ins automatically, tokens included. The old settings are left untouched but are no longer used - make changes in QR Check-ins.
* The customer screen's "Create a QR Code Check-in" card still manages the business's locations, and its link part now edits that business's QR Check-in.
* The forms themselves work exactly as before (fields, spam trap, hourly limit, how-they-found-us tagging, business billing, staff alerts).
* Companion app: one search across customers, invoices, work orders, quotes, service calls and purchase orders, with a count per type. Four digits find customers whose phone number ENDS in them, and their documents. New lists and screens in the app for quotes, service calls and purchase orders (purchase orders for staff with "Purchase orders and receiving").

= 1.39.6 =
* New invoice status "Closed (not collected)": for a bill you will never collect - old history whose payments were not all recorded, a balance written off, a few cents of rounding. It is NOT marked paid (no payment is recorded, so your income, sales and payment reports do not change) and it is NOT void (stock used on it is not returned). A closed invoice stops counting as money owed: no overdue reminders or statements, not in aging, the customer's balance, the dashboard and daily digest totals, the unpaid / overdue invoice filters, the customer portal's amount due and Pay button, or the Companion app's unpaid lists. It still shows its lines, and its balance as "Closed - not collected: $X" on the screen, print, PDF and receipt.
* On an open, sent or partially paid invoice: "Close (not collected)" with an optional reason. "Reopen (collect again)" puts it back to open (or partially paid when it has payments). Both are recorded in the invoice's history with who, when and why. The invoices list has a "Closed (not collected)" filter.
* Settings > Import > "Close old unpaid invoices": close every open, sent or partially paid invoice issued more than N days ago (default 90) or owing at most $X (default $1.00), imported invoices only or all. Preview first - a dry run shows how many, the total and the first 20, and changes nothing - then confirm. Nothing is e-mailed or texted and no stock moves; draft, paid, void and converted documents are never touched. Also from WP-CLI: wp drs invoices close-old --days=90 [--max-balance=1.00] [--imported-only] [--dry-run].
* Imports: an imported invoice left owing $1.00 or less (a rounding difference) is closed as not collected as it is imported (the amount is a setting on the same screen; 0 turns it off). "Mark documents dated before a cutoff as completed/closed" now closes an unpaid old invoice as not collected instead of marking it paid; a fully paid one stays paid.
* Review requests: Settings > Notifications > "Review request after a rating" is now a choice - Off, Skip low ratings (as before: anyone who rated 4-5 or did not rate is asked), or "Ask for a review only after a 4-5 star rating" (customers who did not rate are not asked). A customer who rates 4 or 5 is asked the set number of hours after rating, once per repair. Review requests are never sent automatically for imported work orders or to customers who opted out of marketing.
* TEG Companion: "closed" is in the invoice statuses (app/hello) and can be set on an invoice that is still owed (app/invoices/status, with an optional reason) and reopened by setting "open".

= 1.39.5 =
* Online SERVICE REQUEST form, replacing the three old Aestiva pages at the same addresses: /service-request/ (the full form), /service-request/?src=nvdaily (the quick Northern Virginia Daily form) and /service-request/<account>/ (a business account's form, e.g. /service-request/qhs/). The plugin answers these addresses itself - no page to create, no permalinks to flush, plain or pretty permalinks alike. Also available as the shortcode [repairshop-service-request].
* Full form: name, phone, e-mail, address, the problem, house call or other service / drop-off, "I am a new customer", Normal / Rush (next day) / Emergency (same day) - the urgency levels normal / priority / ASAP with the rush fee or labor rate shown - the date and best time, "I need a pickup". The intro, the pricing text (house call $160 the first hour, then $120 an hour) and the "we will call you within 1 hour" line are settings (Settings > Service requests).
* Campaigns (Settings > Service requests > Campaigns, one per line): ?src=<slug> shows a short name / phone / problem form under the campaign's own heading. Requests are tagged with the campaign (Front counter > Online Requests > Campaigns counts requests and new customers per campaign) and a NEW customer is recorded as found through the campaign ("Leaflet or local paper" / NVDaily). The nvdaily campaign is set up ready.
* Business accounts: on a business customer's screen, add its SITES (houses, offices: name, optional code, optional address, active) and give the account a link name (and optionally an access token). Its staff give their name and phone, pick the site and press "Log problem"; the house call is billed to the account, records who reported it and goes to the site's address. The page lists only that account's active sites and shows no customer details.
* Every request: matched to an existing customer by phone (any format) or e-mail, or a new customer is made; a house call lands on the House Calls screen (Rush = high, Emergency = urgent priority; optionally straight onto the open board), anything else as a requested drop-off or pickup appointment; the staff get an e-mail (and a browser push / the Telegram staff chat when set up). Nothing is sent to the customer. Protected by a nonce, a hidden honeypot field and a per-connection limit (5 an hour by default). Front counter > Online Requests lists them; the Companion app reads them (app/service-requests/list).
* QR pages: Front counter > Online Requests > QR pages - one US-Letter page per form (full, each campaign, each business link) with the code ten times in four sizes, each with only a title and a caption (no printed address). Open it as a PDF or print it on the PrintNode document printer. The logo in the middle of these codes is its own setting, separate from the other QR codes.
* ACCESS CODES: door, lock-box, gate and alarm codes and access notes for a customer's address and for each business site, on the customer screen. Stored encrypted, shown masked with a Reveal button, every reveal recorded in the activity log. New permission "See and change access codes" (shop managers and technicians by default; a saved permission table gets it on update). The technician ASSIGNED to a house call sees that address's / site's codes in the Companion app (app/housecalls/access) while the call is live. Never on public pages, QR pages, invoices, PDFs, e-mails, texts, the customer portal or exports.
= 1.39.4 =
* Labels for invoices: every invoice now has Print label / Reprint label, also an invoice with no work order and no device (a counter sale, or history imported from an older system). An invoice with a work order still prints the work order's label, and one with a device the device's label, exactly as before.
* The invoice's own label carries the invoice number large, the customer and phone, the computer the invoice is about and its serial number when the invoice names them (the problem field or a line such as "Dell Latitude 5520 laptop, S/N 8XK2Q83"; "Serial: ..." and "Service Tag ..." are read too), otherwise the first item, and "Date:" the invoice date. Same layouts, label sizes, margin, header, Leitz cartridges and calibration as work order labels.
* Its QR follows Settings > Printers > "Label QR opens": staff (the default) is a short link that needs a login and opens the invoice; customer opens the invoice's customer page; off prints no QR. The website's scanner opens the invoice from it.
* "Last printed ... by ..." shows under the button, as on work orders. When the customer has devices on file, a small list next to the button prints a label for one of them with this invoice's number instead.
* Invoices list: a small label icon beside the print icon opens that invoice's label with the print dialog.
* Quotes and service requests keep their label only when they have a work order or device.
* Companion: a new route prints an invoice's label (app/invoices/<id>/label, the same rules as the work order label route), invoices/get says when its label was last printed (label_last_printed), and hello says the shop supports it (can.invoice_label).
* Overdue reminders and statements can no longer dun imported history. An invoice is never reminded (automatically, with "Send a reminder now", or from the Companion app) and never put on a statement when it was imported from another system, was created or issued before the latest data import, is due longer ago than "Never remind after" (Settings > Notifications, default 365 days), or is marked "Never send overdue reminders" (a new box on the invoice, also in the Companion app).
* A hard daily limit on reminders + statements (Settings > Notifications, default 25); the rest wait for the next day.
* "Preview today" in Settings > Notifications lists what today's run would send - without sending anything - and how many overdue invoices are never reminded, and why.
* Automatic overdue reminders are now OFF on a new install. An updated shop keeps the setting it had.
* TEG Companion: taking a payment on an invoice now goes through the same code as the website's Record payment - the shop's own payment methods (app/hello lists them), a reference (a check number is required for a check), the date paid, and an optional receipt e-mail; partial and cumulative payments as before. A quote can be converted to an invoice from the app (app/invoices/<id>/convert), the same as the website's Convert to invoice.

= 1.39.3 =
* Clubs: what memberships are called is now a setting - Settings > Workflow > Membership club > "Call memberships": Membership (the default, as before), Club or Plan. The menu, the screens, the customer portal, the e-mails ({club_word}) and the discount lines use it with the plan's name: with Club, a plan named "Gold" prints as "Gold Club" (a plan already named "... Club" prints as it is).
* Member benefits are now applied AUTOMATICALLY. Whenever an invoice or quote is created or its lines change - the invoice editor, a house call's "Create invoice", work order to invoice, a quote converted to an invoice, the Companion app and TEG Rover, the counter (POS) and the REST API - a member's plan discounts are added as their own visible lines, for example "Gold Club - 50% off House call visit  -$80.00". They print on invoices, receipts and PDFs and show in the customer portal. Before, the discount was worked out but never put on the invoice.
* A benefit line takes on the kind, Taxable box and tax class of the line it discounts, so "Is labor taxable?" works unchanged: a discount on a non-taxed house call or labor moves no tax, a parts discount lowers the taxed parts, and with labor taxable each discount lowers exactly the amount that was taxed.
* Which documents: invoices and quotes of a customer whose membership (active, or expired since) covers the document's date. Never imported documents (the Aestiva / CSV history), documents dated before the membership started, the membership's own invoices or recurring-plan invoices. Paid, void and converted documents keep their member lines exactly as billed. Re-saving never adds a line twice.
* A manual discount (the Discount field) is taken off after the member lines, from what is left: 50% off a $160 house call plus a $10 discount is $70.
* Included house calls: the first ones of the term are free, then the plan's % applies. A draft invoice reserves its free visit; it is counted against the membership when the invoice is issued (open, sent, part paid or paid), once, and given back if the invoice is voided or deleted. "No diagnostic fee for members" now takes the diagnostic line off too.
* "Remove member discount on this invoice" (on the invoice / quote screen and in the Companion): needs a reason, which is logged and kept in the private note; "Restore" puts it back.
* Customers may be in several clubs at once (one membership per club). Each line gets the single best benefit of the customer's clubs - never two discounts on one line; a repair opens at the highest priority any of the clubs gives.
* Member badge ("Gold Club · Priority") on the customer page, the work order and the work order list, the invoice, house call booking, the house call screen and the dispatch list; an expired membership shows greyed. The plan editor shows a Benefits summary ("Half-price house calls", "Priority service: every repair opens at high priority" ...).
* TEG Rover technician pay: new setting "Club member discounts" (Settings > TEG Rover) - pay on what the member was charged (default: a 50% share of a half-price $160 house call is $40) or on the full price ($80, the shop carries the discount).
* New overview page (Memberships / Club Membership / Plans in the menu): a section per club with price, term, benefits and how many members are active, expiring in 30 days and expired; the member list with filters (active, expiring soon, expired, awaiting payment, canceled), search, start and expiry, days left or overdue, the invoices it came from and the last reminder; Renew (a new term from today or the expiry, whichever is later, optionally with its invoice); CSV export.
* Send renewal reminder - to one member or to the ticked ones - shows exactly who will be e-mailed (and who has no address) and sends only after you confirm. Memberships recorded from invoice history are never reminded automatically.
* Enroll a customer by hand (overview or customer page): start date, term in months, and paid in store now (an invoice paid on the spot), an invoice to pay later, or nothing to bill; welcome e-mail optional.
* Populate from invoice history: you enter rules - phrases to look for on invoice lines and the club they mean, words that rule a line out (e.g. "think"), a minimum amount, and how the period is found (read from the line - "2 years", "six months", "(12 mo)"; "$6 per month" is a rate, not a term - else from the amount and the price of a term, else the plan's term). A dry run lists every proposed membership (customer, club, start, expiry, the source invoices, how the period was found, anything to check) and the lines left out with the reason; Apply records them without sending any e-mail, and running it again updates the same memberships. No rules are built in. Also from WP-CLI: wp drs club populate --rules=rules.json [--apply].
* A public plan ("Offer it on the customer page") can now be joined from My account: the membership starts when its first invoice is paid.
* WP-CLI: wp drs club plan (create or update a plan by name), wp drs club populate, wp drs club members.
* TEG Companion: customers, work orders and invoices carry a `membership` block (club, plan, number, status, active, started, expires, priority, benefits, house calls included / used / left, and every club in `clubs`); invoices add member_discount and member_off, lines add member_benefit (read-only - the shop makes those lines again on every save, so echoing them back never doubles them); {"invoice": {"member_off": 1, "member_off_reason": "..."}} removes the discount.
* Plain document numbers: a document prefix (invoice, quote, work order, purchase order, service request, consignment) can now be left blank under Settings > Documents, and the number prints as it is - 102874 rather than INV-102874. Before, a blank prefix quietly came back as the default.
* With blank prefixes and one numbering sequence, a quote and its invoice share a table, so a quote that becomes an invoice keeps its number with a suffix (102875 becomes invoice 102875-1); a work order and its invoice both read 102874. With a location code a blank prefix gives NYC-102874.
* Replies to e-mails about a work order are matched by a plain number in the subject too ("[102874]", "#102874", "WO 102874").
* Import: a document imported with its old number now also takes that number's place in the sequence (94141-1 and 94965A count as 94141 and 94965). Before, imported documents got an unrelated running number behind the scenes, and a split number such as 94141-1 could push the next number about a million ahead.

= 1.39.2 =
* Labels: the scissors mark at the start of the cut line is now bold and a little larger, so it prints as a clear mark rather than a tiny speck. The label PDF is now tested against the on-screen preview for every layout, size, margin and header: no two lines overlap each other, the header image or the QR, and every line prints within 0.5 mm of where the preview shows it. The "Large number" layout leaves a full line under the number before the customer name.
* Calibration label: a feed check. It has a 30 x 30 mm square and a 50 mm ruler each way. Measure them: if the square is not square, the printer or its driver is squeezing the label along the feed direction, which makes the rows crowd into each other.
* Work Orders, Invoices and Quotes lists: a small printer icon after each number opens a quick copy of that document in a new tab with the print dialog. When PrintNode has a document printer, a second small button (or Shift + click on the icon) sends one copy straight to it without leaving the list, and a notice says whether it worked.
* Companion: a new route prints a work order, invoice, quote or service request on the shop's document printer (app/documents/<type>/<id>/print). The work order and invoice details now say when the document was last printed. The app's own button comes in a later Companion update.

= 1.39.0 =
* New "Doctor reports - unclaimed" (Doctor Reports > Unclaimed). Reports the Doctors archive from a technician's USB stick arrive without a customer; this list shows the ones nobody has dealt with yet, newest first: date, Doctor and version, machine model and serial, health score and the top three critical / error / warning findings, and a "non-Pro" badge when the Doctor that ran was not a Pro edition. Filter by Doctor, search by model or serial.
* Claim a report to its customer - the device is found or made from the report's model and serial, and the machine's other unclaimed reports can be claimed with it - and attach it to one of that customer's work orders or open a new work order from it. Or Dismiss it (with an optional reason) when it is not a customer job, several at once with the tick boxes. Reopen on the report puts it back in the list. Reports already linked to a customer count as claimed, and a report that arrives for a known customer's device is claimed automatically.
* Claimed reports show on the customer's page and on the work order (all the reports attached to it).
* New permission "See full serial numbers and search customers when claiming Doctor reports" (Settings > Access & technicians > Permissions; shop managers and administrators by default). Without it the list shows only the serial's last four characters and a report is claimed by entering the work order number.
* The central Doctor archive is told about every claim, dismissal and reopen in the background; if it cannot be reached or does not support claims yet, the change is kept here, retried every hour, and the list says so. Nothing on the site waits for it.
* TEG Companion: new routes for the unclaimed list and for claim / dismiss / reopen (the app screen comes in a later Companion release).

= 1.38.5 =
* Every Save now says so. After saving a Settings tab, a work order, a customer, a device, an invoice or an item, a dismissible notice ("Settings saved.", "Work order saved.") appears at the top AND a toast in the top-right corner of the window (success fades after a few seconds; errors stay until closed). The message now travels with the page the save returns to, so another open RepairShop tab, an auto-refreshing board or a caching setup can no longer swallow it, and it never shows twice. Dragging a card on the Bench Board confirms the save the same way.
* Label layouts you can see: Settings > Printers > Label layout is now a gallery of previews - the real label at your label size with sample data. Click one to pin it, then Save. New layouts: Header across the top; Header down the left side (the header image turned to run up the left edge - for long, narrow labels); Compact - no header; Large work order number. The existing Cut lengthwise, Cut at one third and Classic (no cut) are there too. A layout that does not suit the label (the cut layouts on a portrait label) is greyed with the reason. Nothing changes until you pick one: an unset layout prints exactly as before.
* Label margin: new setting (0 - 6 mm, default 0) - a blank border on all four sides of the label (optionally a different top / bottom value), in the browser label and in the PDF sent to PrintNode alike, on top of the label's own 2 mm safe edge.
* "Print test label with this layout" (PrintNode, exactly ONE label) and "Open browser test label" print the layout, margin, header and cartridge shown on the screen, even before you save. The previews update as you change them. Send test, the Print label buttons, automatic check-in labels and the Companion app all print the pinned layout and margin.
* Continuous labels: the label length is always the one in "Continuous: label length (mm)" (default 54 mm for the 88 mm roll). A second, older copy of the height could make the label print at another length (88 x 60) than the field showed.

= 1.38.4 =
* The label's QR code no longer opens the customer's status page by default. A label is stuck on the customer's device, so anyone holding the device could scan it and see that customer's job. New setting Settings > Printers > "Label QR opens": Staff work-order page (the default, also for shops updating), Customer status page (the old behaviour) or Off. The staff QR is a short link (your site address + ?drs_wo= and the work order's id) that asks for a staff login and then opens the work order; someone without a login sees only the login page, and nothing about the job. The website's "Scan a label" and TEG Companion's scanner open the work order from it. The test label's QR shows the chosen setting (staff: the Work Orders list).
* New "Print label" button on the work order (view and edit screens), on the device and on an invoice or quote that has a work order or device: sends the label straight to the label printer through PrintNode, with a copies choice (1 by default), and says whether it printed. Once a label has been printed the button reads "Reprint label" with "Last printed <date> by <name>". Every print - including the automatic one at check-in and "Print on <printer>" on the label page - is recorded in the activity log and in the work order's timeline (staff only). Without PrintNode the button opens the label page to print from the browser. Anyone who can edit work orders may print.
* TEG Companion: the app can print or reprint a work order's label (new Companion route; it appears in the app only when a label printer is set up). A resent request never prints twice.
* Label fix: on the 88 x 54 mm continuous label (and other cut-lengthwise labels) the customer name next to the work order number shrank to 4 - 5 pt to squeeze in beside the QR. It now moves to its own line under the number when it does not fit beside it at a readable size. The device line (make, model, serial) never prints below 7 pt: when it is too long for one line the serial wraps onto a second line, and the device is the last detail left off a crowded label.

= 1.38.3 =
* Leitz Icon continuous paper labels (70030001, 3 1/2 in / 88 mm wide, and the other continuous rolls). Apply the cartridge on Settings > Printers and each label is 88 mm wide by a length you choose - new "Continuous: label length (mm)" field, 54 mm by default (about 2 1/8 in, landscape), remembered per cartridge and kept between 20 and 300 mm. The device label (shop name, work order number, customer, device, dates and the QR code) is laid out for that size inside the 81.3 mm the print head can reach, shrinking text before shortening it.
* PrintNode: a continuous label job names the driver's continuous paper of the roll's width (for example `*Continuous - 3.5"`; the starred entry is preferred), never a die-cut size such as 88 x 50, and always prints at actual size (never fit-to-page), so the label is exactly the page RepairShop sends. The test label and the calibration label print ONE copy on a continuous roll. The Printers tab warns to print one label first with the printer queue open, ready to cancel if the printer keeps feeding. The "Driver paper" choice still overrides the automatic paper.
* The calibration label on a continuous roll is 88 mm by the label length, with the same rulers and marks.
* Square payments: the webhook is accepted whether Square signs the www or the non-www address (and http or https). For a week Square signed the www address while RepairShop checked the non-www one, and every webhook was refused. The signature check itself is unchanged - only the address forms it is checked against. Twilio voice webhooks get the same treatment.

= 1.38.2 =
* Leitz Icon labels print square on the label. A label job sent through PrintNode never named a paper size, so the printer driver printed the label page on whatever its default paper was - the label came out shifted left and up, cut off on the left and at the bottom, with the right side blank. Every label job now names the driver paper that is the label size (picked automatically from the sizes the driver offers, or chosen on Settings > Printers), and the test label says which paper it used.
* Leitz Icon 70130001 is 59 x 102 mm (Leitz's catalogue and the shop's own cartridge), not 57 x 102. A site that applied 70130001 before prints at the right size automatically. The cartridge picker now lists every Leitz Icon cartridge (die-cut shipping and address labels, continuous paper, plastic and card stock), and on an 88 / 91 mm roll the content stays inside the 81.3 mm the print head can reach.
* The label page is exactly the label: the page size in millimetres with no margin, every box and the QR code sized in millimetres, a 2 mm safe edge, nothing rotated or scaled. A shop name or detail line too long for the label shrinks a little before it is shortened with "...".
* New on Settings > Printers: "Print calibration label" (and "Send calibration label" through PrintNode) - the label's edge, corner marks, a centre cross and millimetre rulers, so you can see exactly how far a printer is off; a per-cartridge nudge (right / down, in mm) for a printer that still prints a little off; and the exact Chrome / Edge print settings for the label (paper size, margins None, scale 100%, headers and footers off).

= 1.38.1 =
* Tax: new setting Settings > Documents > "Is labor taxable?" (Yes / No). Yes (the default) taxes labor like parts: every line whose Taxable box is ticked is taxed - as every version before 1.36 did. No taxes parts only and never labor, service, diagnostic or fee lines (Virginia: labor stated separately is not taxed). A shop updating from 1.36.2, 1.37.x or 1.38.0 (which always taxed parts only) is set to No; nothing it bills changes. A shop that already chose is never changed. A line whose description or code says NONTAX is never taxed either way.
* Tax, "Is labor taxable? No": discount lines now lower the taxed parts. A Discount line comes off the parts in proportion to their share of the subtotal (a $129 part with a $20 discount at 6% is taxed $6.54, not $7.74); a negative part line is a parts discount and lowers them directly; a negative labor or service line is a labor discount and leaves the parts tax alone. The taxed amount never goes below zero. With Yes, nothing changes.
* Fix (money): an imported document that carried only a tax-inclusive total (no lines) lost the tax under the parts-only rule - a $106.00 total at 6% came in as $100.00. The whole total is now kept when the line will not be taxed.
* Fix (money): an invoice line sent through the REST API without a "qty" was accepted as quantity 1 but saved as quantity 0 - a $0 line. A line with no quantity is quantity 1 again; a line with a blank quantity, and imported quantity-0 "suggestion" lines, stay $0 lines.
* Fix: the unanswered-messages count and the Held up count (1.36.2 caches them for a minute) now update at once when a customer message arrives or a part / off-site trip changes.

= 1.38.0 =
* Privacy fix (important - please update): repair photos (the device at check-in, during the repair, after, at pickup, and photos customers attach to an online booking) were stored as ordinary WordPress media files. They were hidden from the Media Library screen, but anyone could list and download them through the public WordPress REST API (/wp-json/wp/v2/media) and at their uploads addresses, and the camera's EXIF data (including GPS location) was kept. Photos can show serial numbers, a customer's screen and their home.
* Repair photos now live in RepairShop's private folder, like the Companion and TEG Rover photos: random file names, no public address, EXIF / GPS / camera details / comments stripped on upload (the picture's orientation is kept), and a thumbnail made beside each one. Staff see them through a signed-in, permission-checked link; the customer's repair status page and appointment page show only that job's photos marked "customer can see", through links that are signed with that job's own secret key and expire after about 12 hours.
* Existing photos are moved automatically after the update, in small batches in the background: each file is copied, checked by hash, stripped, stored privately, and only then is the public copy (with all its resized versions) deleted. It is safe to interrupt and picks up where it stopped. Progress, and a "Move a batch now" button, are under Settings > Doctor connection > Status & diagnostics. Until a photo is moved it is already hidden from the REST API, its attachment page answers "not found", and it is left out of sitemaps.
* New self-check: the site checks that its private folders (photos, phone uploads, local backups) cannot be fetched from the web, and warns in Status & diagnostics and with an admin notice if they can. Apache and IIS use the deny files RepairShop writes; nginx ignores those, so the warning gives the one-line nginx rule to add. Defining DRS_PRIVATE_DIR in wp-config.php (a folder outside the web root) remains optional - nothing needs editing.
* The local backup folder now gets the same deny rules (Apache 2.2 and 2.4, IIS, index.php); before, only the older Apache form was written.
* A customer's data export now includes their repair photos themselves (they no longer have a web address to link to).

= 1.37.1 =
* Fix (licensing): a paid shop could lose its licensed features for up to 10 minutes after a single app request. When the license server was unreachable, a REST / Companion / TEG Rover request that sees the site under a different address was (correctly) not treated as validated, but that "not licensed" answer was then remembered for every page, so wp-admin and the storefront - which ARE validated and should keep working - were refused too. Now a "not licensed" answer is remembered only when it is a real revocation on a validated site; any other one is worked out again on the next request (still at most one license-server attempt per 10 minutes). The license binding (domain, install id, activation, the check-in request) is unchanged.
* Fix (licensing): the Companion app's fast read path never contacts the license server, so for a paid license that has not yet checked in from this site it answered "licensed" - and that answer was remembered for the whole site, briefly unlocking paid features in wp-admin before the first check-in. The fast path no longer leaves that answer behind for a license not validated on this site; the next normal page runs the usual check. Validated shops and explicit offline installs are unaffected.

= 1.37.0 =
* Speed: the TEG Rover phone app's house-call board (rover/calls) now loads through the same lean read-only entry the Companion app uses (fast/companion-pair.php), skipping the full plugin and theme start-up on every refresh. The device signature is checked by the very same code as before; a Companion key still cannot read Rover routes and a Rover key still cannot read Companion routes. Claiming, status changes, completions, uploads and GPS check-ins keep using the normal REST API.
* The Rover app learns the address from the signed pairing reply (device/hello). A staff key's app/hello lists the Rover read too, so one phone with both apps uses one fast address. On by default; switch it under Settings > Integrations > TEG Rover fast reads. The Companion fast-reads switch is unchanged and separate.
* The fast entry never contacts the license server for a Rover read: it serves only when the license is clearly good from what the site already knows (a trial, or a paid license validated on this site with a fresh check), and otherwise hands the read back to the normal endpoint.
* Fix: on a shop with a PAID license the fast entry could not work out the license (a WordPress helper it needs is not loaded in the lean start-up), so every fast read - Companion and Rover - quietly fell back to the normal endpoint. It now loads that helper and paid shops get the fast reads (trials were not affected).
* Companion fast reads are now ON by default too (a site that never touched the switch); a saved "off" stays off.
* New self-check: the site asks its own fast-read entry once (every 12 hours, hourly while blocked, or Settings > Integrations > Check again). If a security plugin blocks it - BulletProof Security's Plugin Firewall answers with a slow 403 page - the phones are told not to use the fast entry (so reads are never slower than before) and an admin notice names the exact whitelist entry to add: /teg-repairshop/fast/companion-pair.php (and /teg-repairshop/fast/companion.php) under BPS > Security Modes > Plugin Firewall.

= 1.36.2 =
* Security: the repair-status lookup ([repairshop-status] and the portal status view) could be satisfied by an answer with no digits whenever the customer had no second phone, opening any repair page by its number. It now needs a real e-mail match or a phone number of at least 7 digits that equals a stored, non-empty number, and failed lookups are limited per visitor (10 per 15 minutes).
* Security: incoming WhatsApp messages are refused unless WhatsApp is set up AND the Meta app secret is entered (before, an empty secret - the default - accepted anyone's post as a customer message). The settings now say the secret is required and warn when it is missing.
* Security: the public self check-in no longer shows a returning customer's name or devices, or changes their contact details and opt-ins, until the phone is verified (Settings > Check-in verification) or the customer is signed in. They can still check a device in. Staff-paired check-ins (the Companion partner check-in) are unchanged.
* Speed: the held-up badge in the admin menu ran two database queries per open repair on EVERY admin page; it now runs three in total, once per request, shared for 60 seconds (the Held up board itself always reads fresh).
* Speed: the dashboard's unanswered-messages count scanned every message on each view; it is now computed once per request and shared for 60 seconds, and a staff reply clears it.
* Build: the release zip no longer includes the plugin's tools/ test scripts.
* Includes the changes deployed after 1.36.0 (VA tax rule, deposit / newsletter / intake fields, device brand list, $0 suggestion lines, reopen a paid invoice).

= 1.36.0 =
* New: the importer and RepairShop now carry every legacy document TYPE, not just work orders. An import file's document-type column (Aestiva CDBFORM) routes each row to the right record instead of turning everything into a work order: invoices import as invoices, quotes as estimates, service requests as service requests, purchase orders as supplier POs (to the vendor), and consignments as consignments - each keeping its original document number, and a Replace import clearing all of them first so a re-run never duplicates.
* New: Service Requests - a billable document (like an invoice) that can also be CLOSED with no charge when the customer declines, and converted to a work order or an invoice when it goes ahead. Its own menu, numbering (SVC-) and screens.
* New: Consignments - goods a customer leaves for the shop to sell, tracking each item and the price split (the shop's commission and the consignor's payout). Mark each item sold (in whole or part) or returned; the consignment's status follows along (open, partly sold, sold, returned). Its own menu and CN- numbering.
* Includes the Companion pairing fast-read path (see 1.35.2).

= 1.35.2 =
* New: the Companion app's READS (customer, work-order, invoice and catalog lists, device lookups) can be served through a SHORTINIT fast path that skips the multi-second WordPress + plugin bootstrap each signed request otherwise pays, so a screen full of lists opens in a fraction of the time. The fast path re-runs the IDENTICAL device-signature check and the SAME queries as the normal endpoint and returns identical results; it serves reads only (every write still goes through the full path, with notifications, stock, numbering and idempotency intact), never phones the license server, and falls back to the normal endpoint whenever it cannot safely answer. Opt in under Repair Shop > Settings > Integrations ("Companion fast reads"); the app discovers and uses it automatically once a build that supports it is paired.

= 1.34.6 =
* Fix: work-order and invoice lists stay fast on large or imported stores even if a previous update's index step did not apply. The 1.34.5 update added two database indexes to keep the newest-first lists quick, but on a big store that one-time step could silently fail to take and was never retried, leaving the lists sorting every row on each page view (tens of seconds). The plugin now self-heals: it checks the indexes on every admin visit (cheaply, at most once every few minutes) and on update, and re-creates any that are missing - so a store stuck without them recovers on its own. A failed index creation is now written to the site's error log instead of being hidden.
* Fix: opening a single work order or invoice no longer stalls when the Doctor server is slow or unreachable. The linked Doctor ticket and report are read from the local copy, so the page is drawn without ever waiting on the server; if you turn on the new "Fetch a linked Doctor ticket when viewing" option, a missing ticket is fetched with a short timeout and a slow or unreachable server is skipped for a couple of minutes rather than delaying the page again and again.
* New: Repair Shop > Settings > Doctor connection now has a Status & diagnostics panel - it shows whether each list index is present (with a one-click "Repair indexes now" button), one quick, time-limited check of whether the Doctor server is reachable, and whether a persistent object cache (such as Redis) is in use.

= 1.34.5 =
* Fix: work-order and invoice lists (both in wp-admin and the Companion app) load quickly again on large or freshly imported datasets. The newest-first sort now uses a database index instead of sorting every row on each page view, and a checked_in index was added for work orders, so a store with thousands of imported records lists in milliseconds rather than tens of seconds. The displayed order is unchanged: newest by real business date first, undated records last. Existing installs add the new indexes automatically on update.
* Fix: the admin submenu's bottom item is now fully visible and clickable instead of being slightly clipped.

= 1.34.4 =
* Fix: the Companion phone app is fast and reliable. The cached "licensed" answer is now reused on every app request, so opening work orders, invoices and customers is instant and the app no longer re-checks the license server on each request. This reuses the 1.34.3 speed-up but keeps the license binding exactly as it was in 1.34.2: only the internal cache key was changed, nothing that decides whether a license is valid. A site that was already validated is never asked to re-validate and can never be locked read-only by a slow or failed license-server call. A paid license still validates once from this site before paid features unlock, a copy moved to a new domain is still read-only until it validates there, a revoked license is still blocked, and trials still work fully offline.
* Fix: the RepairShop admin submenu now scrolls when it is taller than the screen, so the lower items are reachable instead of being cut off below the bottom of the window.

= 1.34.3 =
* Fix: the RepairShop Companion phone app is fast again. After 1.34.1 added a cross-request license cache, the app was still doing a license-server round-trip on nearly every request because the cached "licensed" answer was stored under a key that depended on how WordPress happened to build the site address on that request - and the phone (REST) requests computed a different key than the wp-admin page that first validated the license, so they never found the cached answer. The site address is now worked out from the stored setting in a way that is identical on admin, phone and command-line requests, so once this site has validated its license the app answers instantly from cache with no network call at all. No change to what a license allows: a paid license still validates once from this site before paid features unlock, a copy moved to a new domain is still read-only until it validates there, a revoked license is still blocked, and trials still work fully offline. A site already validated before this update does not have to re-validate.
* Fix: even the first (cold) license check can no longer hang the app for ~15 seconds when the store's server is slow to look up the license server's name. WordPress's HTTP timeout does not bound DNS resolution; the check now also caps the connect-and-resolve phase to a few seconds, so a slow or failing name lookup gives up quickly instead of stalling the request.
* Diagnostics: a signed Companion app/* request sent with debug:1 now gets a small "_timing" field in the reply (total time, license-gate time, whether the gate phoned home or answered from cache, and whether a persistent object cache is present), so a single tap can confirm the gate is instant. Ordinary requests are unchanged.

= 1.34.2 =
* Import data: an imported invoice now keeps the legacy document number (the same number as its work order), instead of being given a fresh shop number. Aestiva used one number per record, so the work order and its invoice now share that number. If that exact number is already in use on another document the imported invoice keeps its shop-assigned number and the import flags it in a "needs review" list rather than overwriting. After an import, the invoice counter is moved past the highest imported number so brand-new invoices never reuse a legacy one (the work-order counter already did this).
* Lists now default to newest-first by the real business date, not by the order records happened to be added: work orders by check-in date, invoices by issue date (records with no date sort last). This matters after a migration, where imported history now interleaves correctly with new jobs. Your own sort choices and filters are unchanged.
* Companion app: the work-order list endpoint accepts a sort (by date, customer, number or status) and direction, applied across the whole list (not just one page), so the app's sort buttons work and report which sort is active.

= 1.34.1 =
* Fix: opening a work order (or anything else) in the RepairShop Companion phone app no longer stalls while the shop's server checks the license. The license verdict is now remembered across requests for a few minutes, so only the first request after the app opens does any license check-in and every request after it is instant. The one check-in that does go out on a normal page or app request now gives up quickly (a few seconds) instead of waiting the full timeout, so a slow or unreachable license server can never make the app crawl. The full wait is kept only for the license panel's own "Re-check with license server" and when you enter a code, where you are deliberately waiting for an answer.
* No change to what a license allows: a paid license still has to check in with the license server once from this site before paid features unlock, a copy moved to a new domain is still read-only until it checks in there, a revoked license is still blocked (it may keep working for up to a few minutes after it is revoked, until the cached verdict lapses), trials still work fully offline, and an explicit offline install (DRS_NO_LICENSE_NETWORK) is unchanged.

= 1.34.0 =
* Printers tab: a Leitz Icon cartridge helper. Tick "This is a Leitz Icon label printer" (it is also offered automatically when the chosen label printer's name contains "Leitz" or "Icon"), pick your cartridge, and RepairShop sets the label width, height and orientation for you - so the device label prints upright and fills the whole label instead of rotating into a corner. Fixes a 70130001 label that printed rotated 90 degrees with the content crammed into the top-left and the rest of the label blank (it had been rendering at a Dymo-ish 62 x 100 mm, the wrong size and orientation).
* The cartridge list is owner-extensible: only part 70130001 (2 1/4 x 4 in, 57 x 102 mm - physically confirmed) is built in; add any other cartridge in Settings > Printers as "part | width mm | height mm | orientation | name", one per line, and it joins the picker. Only add a size you have measured.
* A new "Leitz Icon 70130001 - 2 1/4 x 4 in (57 x 102 mm)" label size is available in the label size list, and a Send test on the label printer now prints a correctly sized test label for the chosen cartridge.

= 1.33.0 =
* New: Setup > Import data now has a third importer, Inventory (the parts & services catalog), alongside Customers and Work orders. Bring your parts and services in from your current system or a supplier list - any CSV, through the same column-mapping screen (SKU, name, cost, price, quantity, reorder level and supplier are recognized from common header names). Items match by SKU: re-importing the same SKU updates it, it never duplicates. A quantity sets the opening stock and records one stock movement for the audit trail. Add/update or Replace mode, a mandatory safety backup and the same chunked, resumable, roll-back-on-failure apply as the other importers; Replace for inventory only ever clears the catalog and its stock movements - never customers, work orders or invoices.
* Database: the parts & services catalog gains an indexed ext_id column so an imported item can be traced back to its id in the old system.

= 1.32.0 =
* New "Printers" tab in Settings. Printer setup and testing used to be buried at the bottom of Settings > Integrations; it now has its own tab. Integrations keeps a one-line pointer to it. No setting changed name and nothing has to be re-entered.
* Printer setup is easier: the receipt, label and document printers are now chosen from drop-down lists of the printers PrintNode can actually see (with a "— none —" choice), not typed in as id numbers. A "Refresh printer list" button checks the connection and says how many printers were found, or shows the PrintNode error if the API key is wrong. If the list cannot be loaded the saved printer is kept.
* A "Send test" button sits beside each of the three printers: a short receipt to the receipt printer, a sample label to the label printer, and a one-page document to the document printer. Each reports which printer it went to and the PrintNode job number, or the exact error.

= 1.31.2 =
* Import data: large imports (thousands of rows) now apply in batches with a progress bar, instead of one long request - so a big migration no longer hits a gateway timeout. Each batch is saved as it completes; if a batch drops or you reload, the import resumes where it left off rather than starting over, and re-running is always safe (no duplicates - it matches by external id / SKU). The safety backup is still taken first and is your one-click way back. You can set the rows-per-batch on the import screen. Small imports still apply in a single all-or-nothing step.

= 1.31.1 =
* Import data: a customer with no e-mail address is now imported instead of refused (some customers decline to give one); only a non-empty, malformed e-mail is rejected. Such a customer is flagged "No e-mail" automatically so the shop never tries to e-mail them.
* New "No e-mail - never e-mail this customer" option on the customer form (and a badge on the customer view). You can also set it from a no_email column in the import (no_email / do not email / email opt-out; 1/0/yes/no). RepairShop sends no e-mail to a flagged customer, even if an address is on file.
* Database: wp_drs_customers gains a no_email flag.

= 1.31.0 =
* New: Setup > Import data - a bulk importer for bringing a legacy shop in from spreadsheets, keyed on each record's external id so a file can be re-applied with no duplicates. Two CSV importers in order (Customers, then Work orders & invoices), each with a downloadable template, a dry-run "Check only" preview that writes nothing and lists every row it would refuse and why, and Apply. A customer matches by ext_id; a work order by ext_id and links to its customer by customer_ext_id. Each legacy work order becomes a RepairShop work order and, when it carries money, a linked invoice built through the normal invoice path (line items, tax, payments, stock). Card numbers are never accepted: any card-like column is dropped on read and never stored. Administrators only. Built for an Aestiva migration; the exact accepted columns are the contract in docs/IMPORT-FEATURE-HANDOFF.md. (Version 1.31.0 was chosen because 1.30.0 is reserved for the shortcode-pairing / driver release in flight.)
* Import data: your file does not have to use RepairShop's column names. After you choose it, a mapping screen shows each column it found, the RepairShop field it will go to (guessed from the name, with a built-in alias table and fuzzy matching), and a sample value, for you to review and correct before importing. Required fields must be mapped or the run is refused. Card-like columns are blocked and cannot be mapped. The matching engine is written to be shared by the other shops' importers later.
* Import data: imported work orders are historical, so bringing one in never notifies the customer - no e-mail, text, push, auto-print or webhook fires, and the work order shows no customer-visible timeline note. All totals, tax, stock and payment logic still run. The notes column is stored as an internal note only.
* Import data: choose how to import. "Add / update" (the default) keeps your existing records and only adds or updates by external id. "Replace" deletes the import-owned data first (customers, work orders, invoices, line items, payments and work-order notes - nothing else) and imports fresh; it spells out exactly what will be removed with current counts and makes you type DELETE to confirm. A safety backup is taken automatically before any import (and the import is refused if the backup fails), and the import runs inside a database transaction so a mid-way failure rolls everything back and leaves your shop unchanged.
* Database: customers, work orders and invoices gain an indexed ext_id column holding the legacy record id, so imports are idempotent and a RepairShop record can always be traced back to its source.

= 1.29.2 =
* FIX - numbering: with unified numbering on, the four "Next ... number" boxes did not set the number actually used, so typing 110000 in "Next invoice number" changed nothing. The top of Numbering now has one "Next number (every document)" box; change it and the separate counters follow (raised, never lowered), so switching back to separate numbering never reuses a number. Lowering it below numbers already in use saves with a warning. A number typed into a per-kind box before this fix is honored on update. Locations with a code follow the same rule on their edit screen.
* New: "Change number" on every invoice, quote, work order and purchase order (administrators only). Type the new digits (prefix and location code kept, with a preview) and a reason; optionally continue numbering from there. A document that was sent, answered, paid or partly paid - and every work order - needs OVERRIDE typed; a number already in use is refused outright; an out-of-sequence number is warned about. With unified numbering the linked documents of the job can move together. The old number stays in the log, in a note on the document and as a search alias (search, scan, repair-status lookup and payment references still find it). Also over the REST API with an administrator application password: PATCH invoices/{id} or workorders/{id} with {"renumber": {...}}.
* Estimates are now called Quotes everywhere you and your customers see them - menus, lists, buttons, printed documents and PDFs (titled QUOTE), e-mails, texts, the customer pages and help; the Spanish translation says Presupuesto throughout. Links, settings, the API and your saved prefix (EST- by default) do not change; e-mail and text templates you saved yourself keep your wording.
* The quoted price on a work order now records when it was given, who gave it and a note. It shows on the work order and its timeline, beside each repair on the customer screen, and for reference on the invoice made from the work order.
* Deposits: money taken at the work-order stage now shows on the invoice as a payment already received - the invoice keeps its full total and the balance due is total minus payments (it used to be a negative "Deposit received" line). The deposit invoice is voided with a note, so nothing counts twice. A quote converted to an invoice now credits the deposit too (it used to be missed), a second invoice for the same job does not get it again, and deleting or voiding the invoice returns the money to the deposit. Invoices made before this update are not changed.
* Number boxes are wide enough for ten digits.
* The menu group headings (FRONT COUNTER, SALES & MONEY, PARTS & STOCK, FIELD WORK, TOOLS, SETUP) are now bold capitals everywhere - in the open menu, in the fly-out when you hover the Repair Shop menu from another page or plugin (where they used to look like ordinary links), in the collapsed menu and on a phone. They are labels, not links. Same groups, same pages, same order, same permissions.

= 1.29.1 =
* Portal sign-in gives one generic answer for every failure (wrong password, unknown name, or a name that matches more than one customer) - it no longer says that more than one account matches.
* Instant quote: parts-plus-labor prices read "Parts at cost (about $40-$90 on Amazon) + $120 labor = $160-$210" (you type the labor and the typical parts range; nothing is looked up online). The built-in default quote list changed: the laptop "Screen cracked or blank" row is now "Broken screen" (parts 40-130 + labor 120) and "Liquid spill" is now parts 20-150 + labor 120 (was 49-299). A quote list you have already saved in Settings is not changed.
* American spelling in the last few places (License status, finalized, canceled), with the Spanish translation following. The demo sign-in is demo / demo123 everywhere.
* Fix: invoice lines are stored rounded to the cent - quantity and unit price to 2 decimals, and the line total from those - so the unit price times the quantity always equals the line total, and a sub-cent quantity or price can no longer slip a changed total past the lock on an invoice split with a billed insurance claim.
* Fix: serial numbers stay with their invoice line when the lines are saved from anywhere other than the invoice form (the REST API, the Companion app, the POS, TEG Rover jobs and others). A serial whose line is kept stays sold on it; a serial whose line is removed goes back in stock along with the part's stock count. Before, the serial stayed "sold" on a line that no longer existed.
* The invoice form reports serial numbers that are not in stock in the same message as everything else that was put back or changed; the REST API's insurance-claim lock no longer treats the same lines in a different order as a change.

= 1.29.0 =
* New: Insurance & warranty claims. Repair Shop > Insurers & warranty companies keeps the payers you bill (device protection, warranty company, homeowner / renter, business, other) with their claims e-mail, phone, portal, billing address, payer terms and notes; "Add common providers" adds Assurant, Asurion, SquareTrade (Allstate Protection Plans), AppleCare+, Samsung Care+, Geek Squad Protection, Upsie, Extend, Mulberry and Clyde by name only - you add their contact details from your own paperwork.
* New: claims on work orders - insurer, claim, policy and authorization numbers, the customer's plan / contract ID, adjuster, date and type of loss, deductible, approved amount, status (draft, submitted, more info requested, approved, partially approved, denied, repair completed, invoiced, paid, closed) with a dated history of every change, note, e-mail and payment, and a next follow-up date. An "Insurance claims" card on the work order (more than one claim per job), the claim number and insurer in the Work Orders search, and Repair Shop > Insurance Claims with filters for insurer, status and overdue follow-ups.
* New: split billing. "Bill insurer on the invoice" splits the work order's invoice: the insurer is billed the approved amount (never more than the total less the deductible), the customer the deductible and anything not approved. The invoice keeps two balances - the customer's (what the pay link, pickup, counter, reminders and statements ask for) and the insurer's - and payments are recorded against one or the other. An insurer invoice (HTML and PDF) addressed to the insurer with the claim and authorization numbers, and "Owed by insurers" with 0-30 / 31-60 / 61-90 / 90+ day aging and a CSV export. Invoices without a claim are unchanged.
* New: "Send claim packet" e-mails the insurer's claims address the claim report PDF and the insurer invoice PDF, with a subject and message you set (placeholders such as {claim_number}), through your normal mail settings, logged in the claim's history. Works for every insurer.
* Change: the claim report takes the insurer, claim, policy and authorization numbers, deductible and approved amount from the stored claim; old links with ?insurer= / ?ref= still work.
* New: insurance connectors - a framework for submitting claims and reading status and payments through an insurer's API (add-ons register theirs on the drs_insurance_connectors filter; see docs/INSURANCE-CONNECTORS.md), credentials entered in Settings (nothing needs wp-config.php; a DRS_INS_* constant is an optional override for hosts that already set one), kept on the server and never shown again after saving, and a background check that runs only while a working connector is in use. The Assurant connector is included but NOT active: it needs Assurant partner credentials and Assurant's API specification, and it never contacts Assurant until then.
* Move this shop to another site (1.26.0) carries the insurers, claims with their history, the split invoices and the insurer payments, and re-links the staff who created a claim or wrote its history. The insurance connector credentials follow the rule for the payment and SMS keys: included by default, left out when you untick "Include the passwords and API keys" (then enter them again on the new site); a key the old host set as an optional override constant never travels either - enter it in Settings on the new site.
* Once the insurer has been billed (claim packet sent or an insurer payment recorded) a split invoice's lines, discount, tax rate, customer and work order are fixed: the invoice form puts such a change back and says why, the phone refuses it. A voided invoice lets its claim move to the corrected invoice ("Bill insurer on the corrected invoice"). Deleting an insurer payment or raising the approved amount after Paid moves the claim back to Invoiced. Billing a claim with nothing approved yet asks first.
* A work order or customer with a claim billed to an insurer cannot be deleted; unbilled claims are deleted with them. Merging customers moves every record that names the customer (now found by column, so claims, house calls, phone photos and memberships move too); changing a work order's customer moves its unbilled claims.
* Privacy: a customer's data export includes their claims and claim history; anonymising blanks the policy / plan numbers, adjuster and notes (claim numbers and amounts stay).
* "Outstanding invoices" (dashboard, daily digest) is what customers owe; "+ $X owed by insurers" is shown beside it. QuickBooks / Xero: an insurer payment carries the insurer and claim number in its reference (the customer stays the payer of record).
* The deductible and approved amount are claim values, not prices: editing them does not need the "Change prices" permission. Amounts typed as "1,200.00" or "$75" are read correctly.
* RepairShop Companion (1.27.0): on an invoice split with an insurance claim the phone shows the customer's balance, the insurer's portion and the claim, and does not change the lines, total, customer or work order or void it - that is done on the website, where the claim is. Notes and dates can still be edited from the phone.
* Fixed: TEG Companion inventory counts. A count that arrives late from a phone's outbox and was made BEFORE a count already booked for that part (at that location) no longer undoes it: stock 10, one phone counts 8 (booked -2), then a second phone delivers an older count of 10 - before, that booked +2 back to 10; now the older count is ignored (the phone is told it was superseded) and the stock stays 8.

= 1.28.0 =
* Changed: nothing needs wp-config.php. Every key and secret is entered in Settings; the old constants still work as optional overrides for hosts that already set them, and the help says so.
* Changed: every check-in now requires the device passcode (or "No passcode / unknown") and what should happen to the data (from VITAL - recover it - to ERASE), and, when the shop has check-in terms, the customer's acceptance of them (a tick, or the signature). This applies at the counter, on the customer's own phone (self / QR check-in), in TEG Companion and on drop-off phones. The work order records when and how the terms were accepted. The answers show at the top of the work order and on the bench card, next to the device on the printed work order and the PDF (the passcode itself only on the shop's own sheet), and as "Data: VITAL" on the label when there is room. Older work orders show "not recorded". Also fixed: the self check-in form's data question was ignored, and editing a work order cleared its data answer.
* New: TEG Companion becomes the general phone app for the TEG shop family. The shop's phone API now answers from the shared Companion core: the app learns which modules this person may use here (RepairShop, Inventory), so one phone can be paired with several shops and switch between them. Everything the 1.27.0 app did keeps working unchanged.
* New: Inventory on the phone. Look a part up by name, SKU or by scanning its barcode or serial number; see its stock (per location when the shop has several), recent stock history and what is still on order; count it (the count is booked against what the shop expected when it was counted, so a count sent later from a dead zone is still right); receive a delivery against a purchase order or as a free receipt (serial numbers included); adjust stock with a required reason; see the low-stock list. Every change goes through the same stock functions as the website, so Parts & Services > Stock history shows it with the person's name and "(via TEG Companion)". Receiving on the phone needs the "Purchase orders and receiving" permission.

= 1.27.2 =
* IMPORTANT - who may change prices: the "Change prices" permission (Settings > Access & technicians > Permissions) is now enforced on invoices, estimates, counter sales and the catalog, on the website AND in the Companion phone app. Before 1.27.2 it only guarded membership plans, and anyone with shop access could type any price, discount or tax rate on an invoice. Administrators and (by default) Shop managers keep it. Repair technicians - and every other role you have not ticked it for, for example Editor or a custom role with shop access - no longer have it: if they should keep pricing freely, tick "Change prices" for them under Permissions after updating.
* Without "Change prices": a line picked from Parts & Services keeps the catalog price (and the item's tax setting and cost), a line already on the document keeps its price, kind and tax setting, the discount and the tax rate stay as they are (the shop's tax rate on a new document), no new Discount line can be added, and the website shows those fields read-only. A line typed as free text may carry a price only when the new setting "Staff without Change prices may price free-text lines" (under Permissions, off by default) is ticked; a labor line at your hourly labor rate and a line at no charge are always allowed. On the website nothing typed is thrown away: whatever needs the permission is put back (a free-text price is saved at no charge) and a warning says what. Existing invoices and estimates are not changed.
* Also under "Change prices": a maintenance contract's fee and discount, a repair recipe's labor price (a new one is its hours at the labor rate), a loaner's daily rate and deposit, a trade-in's base value and offer (a new one starts at 0 for a manager to price) and a typed resale price (the shop's markup is used without it), and the lines and tax rate of a recurring invoice. Receiving a purchase order still updates an item's cost: that is part of "Purchase orders and receiving".
* For everyone: an invoice or estimate line needs a quantity of more than 0 (a negative quantity made a hidden discount). On the website such a row is left out with a warning; credits are Discount lines as before.
* The work order's Quoted estimate, and the price and cost of an item in Parts & Services, also need "Change prices" (the CSV and WooCommerce item imports too). A new item made without it starts at 0 for someone with the permission to price.
* Phone app: TEG RepairShop Companion greys the price and discount fields for staff without "Change prices"; a price change it sends anyway is refused with a message saying which permission is needed, and nothing is saved.

= 1.27.1 =
* Pairing QR codes now render for real (long) pairing codes. On a site with a longer web address the QR on the phone pairing screen (TEG Rover, TEG RepairShop Companion, drop-off phones) was missing, because the QR encoder stopped at 213 characters - scanning works again, and pasting the code keeps working as before.

= 1.27.0 =
* New: TEG RepairShop Companion, the staff phone app. Paired from TEG-REPAIRSHOP > Device pairing, a phone can look up and add customers, create and edit invoices and estimates (lines from Parts & Services or typed, quantity, price, taxable, Inventory / Non-inventory), check a new device in (customer, device with its history by serial, problem, accessories, condition, passcode, backup, estimate, a Doctor ticket, the customer's signature on the phone), and document an existing work order (find it by number, by scanning its label or by serial; add notes, internal or customer-visible; change the status with the customer e-mail or text; parts needed; time; create the invoice; share the PDF). The totals, tax, stock and numbering are the shop's own: the phone never works them out.
* New: private photos on invoices and work orders. Taken with the Companion app, stored in the site's private folder (never a public web address), shown to signed-in staff on the invoice and work-order screens, deleted with the document, included in a customer's data export and deleted when the customer is anonymized.
* New: one pairing for both phone apps. The default kind on Device pairing is now "Staff phone (TEG Rover + RepairShop Companion)": the same key works in both apps, and after pairing one app offers to set up the other. "Rover only" and "Companion only" are still there; existing Rover keys keep working exactly as before and can be turned into staff-phone keys with one click. Revoking a staff phone disconnects both apps.
* New: drop-off partner phones. A drop-off partner's counter phone, paired with a "Drop-off site" code, can ONLY check new devices in for that partner - the job is credited to the partner exactly like a check-in from their QR card, and the customer gets the usual check-in e-mail. It cannot look up or change anything, never sees an existing customer's details, and can add intake photos and print the claim ticket only for that partner's own check-ins and only for 30 minutes (Settings > TEG Rover > Phone apps). Deactivating the partner disconnects its phones.
* Server setting for phone photos: a photo from the phone is sent as one request of up to about 2 MB. If photos fail to upload, raise the web server's limit (nginx: client_max_body_size 3m; PHP: post_max_size = 3M).
* A phone can only do what its staff member may do on this website: every request runs as that person and is checked with the website's own permissions and license. Offline work on the phone is sent later without ever creating a record twice.
* The phone shows your shop's own status names (for example "In progress", "On hold" or your renamed ones), never the internal keys.
* Move this shop to another site (1.26.0) now also carries the Companion: the private invoice and work-order photos with their files, the phones' pending offline answers (so nothing is created twice after the move - a drop-off partner's answers belong to the partner, so a counter phone paired again after the move still finds them), staff-phone and drop-off keys (switched off like every pairing) and the drop-off photo window setting.
* WP-CLI: `wp drs device-key create --tech=maria` names the staff member (WP-CLI keeps --user for itself as "run as", so --user=maria made a key for nobody); --kind=staff|companion|rover|doctor|dropoff, and --partner=<location id> for a drop-off key.

= 1.26.1 =
* Labels: the label orientation is now decided by the label - new "Auto (from the label size)" (the default) prints with the long side across, so a Leitz Icon 59 x 102 mm or a 2.5 x 4 in label comes out landscape (102 wide x 59 tall). A Portrait or Landscape you saved before is kept exactly as it was. Orientation and "Rotate for this printer" are settings of the LABEL printer only - they never change invoices, estimates or work orders, which keep their own document printer settings (the settings screen now groups them under "Label printer").
* Labels: new size preset "2.5 x 4 in (63.5 x 101.6 mm)" beside the Leitz Icon 70130001 (59 x 102 mm, about 2 3/8 x 4 in - pick it so nothing is cut off on a Leitz cartridge).
* Labels: a Label page like the invoice and work-order pages - a "Label" button on the work order (and on an invoice with a work order or device) opens the label at its real size in its own tab, with Print (the browser - the page size is the label size, so a Leitz or any label printer driver prints it right), Download PDF (the same PDF PrintNode gets), Print on <label printer> (PrintNode) and Close. It does not print by itself - you see it first. The old device-label address still works and opens the work order's label.
* Labels: a label header of its own (Label header: Shop name + phone - the default -, Small logo + shop name, Custom text of one or two lines, or None) and an optional small Label logo; the invoice letterhead banner is never used on a label unless you choose it.
* Labels: an optional Label header image (your header band artwork) and a Label layout for a label you cut in two - one piece stays stuck on the computer as its ID and a small advertisement, the other labels the bag or charger. "Cut lengthwise - top strip stays on the device" (the default once a header image is chosen): the header image across the top, one bold line under it with the customer, phone and work order number, a dashed cut line with a scissors mark, and below it the work order number, customer, device and serial, problem, dates, invoice number, phone / e-mail and the QR code. "Cut at one third - left strip stays on the device": a strip logo, the shop phone and website, a very large work order number, customer and date in on the left; the header image, the one line, the details and the QR on the right. "No cut" keeps the single label. Cut line position (%) and Show cut line let you match where you cut. The cut layouts are for landscape labels (a portrait label prints as No cut).
* Labels: the label shows the basics - work order number (largest), customer name, invoice number (when there is one), device, date in, promised date, a one-line problem and the status QR code - and still always fits on one label at any size or orientation.
* Labels: dates print short (09/27/2026 - the order of the site's date format; never "September 27, 2026"). On the cut layouts the QR code is as large as the piece allows (the whole height below the cut on "Cut lengthwise", at least 0.8 in on a Leitz), and the details - device and serial, In / Promised, invoice, phone and e-mail - print whole: the lines get a little smaller before anything would be cut off (only the one-line problem ends in "...").
* Move this shop to another site now also carries the label settings and the label pictures (label logo, label header image, strip logo).

= 1.26.0 =
* New: Setup > "Move to another site" (also linked from Settings > Data) - "Move this shop to another site". Export makes one zip of the whole shop - every RepairShop table, the settings, the TEG Rover photos and signatures, the shipping labels, the repair photos and the logo, and the staff logins the records name (never their passwords) - to upload into RepairShop on a different website, for example when moving from theeldestgeek.com to wildwebwizards.com. The file is made in a private folder, can only be downloaded from that screen by an administrator, and is deleted after the download or after 24 hours. You choose whether it includes the passwords and API keys from Settings.
* Import on the new site (RepairShop 1.26.0 or newer, activated): upload the file, or copy a big one by FTP into the folder the screen shows. Before anything changes it checks the whole file (every part's checksum, safe file names only, the size, the plugin, and that it is not from a newer RepairShop), takes a safety backup of the new site's current data, and asks you to type MOVE. It then REPLACES the shop data on the new site (meant for a new install) in one database transaction, matches staff to existing logins by e-mail or creates them with a random password and no e-mail (never as administrators, editors or shop managers - the list marks anyone who had more rights on the old site), re-links every record to the right person, rewrites links to the old site's address, re-links the portal page, and shows a checklist: the license (remove it on the old site, enter it here), payment webhooks, deactivating the plugin on the old site, and re-pairing phones and Doctor tools - their pairings arrive switched off, because a pairing code carries the old address.
* Not copied (bound to the old site): the license and its site binding, Google Calendar and QuickBooks/Xero connections, passkeys and two-factor codes, customer portal passwords (customers use "Forgot password"), browser push subscriptions.

= 1.25.6 =
* Work orders: long terms print compact (two columns, smaller type) so a work order fits on two pages; Terms print size setting (Settings > Documents & numbering: Auto - the default - Normal or Compact). The wording is never changed, only its layout; estimates that print the full terms follow the same setting.
* Invoices: the Internal note is now labelled Private note (staff only) and shown at the top of the invoice; it is never printed, e-mailed or shown in the portal.

= 1.25.5 =
* Letterhead: 'Banner left, document details right' layout for a logo-only letterhead (Settings > Document header & logo > Banner layout, with Banner width %). The banner prints on the left, the document type, number, dates and status beside it on the right - in the HTML print views, the sample previews, the settings preview and the PDFs. Default stays 'Full width - document details below', so nothing changes until you pick it.

= 1.25.4 =
* New: Settings > Documents & numbering / Document header & logo - "Preview a sample invoice", "Preview a sample estimate" and "Preview a sample work order" buttons render the real print templates against a fake, in-memory record (nothing is saved: no customer, device, number or row is created) so you can check a header, logo, numbering or terms change without creating anything. A sample work order also offers a PDF version.
* Fix: the document header logo now prints and PDFs at full resolution instead of the small 'medium' thumbnail size (a banner logo no longer prints blurry); the displayed size is unchanged (set by Logo height).
* New: Settings > Document header & logo - "Use the header logo as the whole letterhead", for a logo that is already a full banner with your name, address, phone and website on it: prints the logo alone, full width, instead of duplicating those details as text (the document title, number, dates, customer block, QR code and footer are unchanged). Applies to the HTML and PDF invoice, estimate and work order, and to the settings preview.
* New: PrintNode - a document printer for invoices, estimates and work orders ("Print on <printer>" buttons; optional automatic printing when a work order is checked in or an invoice is issued), and a label printer for the device check-in label (drawn as a real PDF with a vector QR code; "Print label on <printer>" on the work-order screen; optional automatic printing at check-in). Label size presets: Leitz Icon 70130001 (59 x 102 mm), Brother DK 62 x 100 mm (the default), 4 x 6 in shipping, 2.25 x 1.25 in (Dymo 30334), 62 x 29 mm, or a Custom width/height; Portrait or Landscape orientation, and a "Rotate for this printer" option for a driver that feeds the label the wrong way round. Text auto-shrinks so a short label (e.g. the Leitz in landscape) never spills onto a second page. The browser-print device label (Settings-free) uses the same size and orientation. PrintNode job options (copies, fit to page, source) match receipts and documents.
* Fix: printing an invoice, estimate, work order, device label or receipt from the admin no longer includes the WordPress admin bar, menu or other plugins' notices - each opens its own tab as a standalone document and prints itself automatically; "Print again" and "Close" replace the browser's own controls.
* Change: the Repair Shop admin menu is now grouped by job (Front counter, Sales & money, Parts & stock, Field work, Tools, Setup) with alphabetical items inside each group, instead of a long unsorted list; every existing page link keeps working.
* New: Settings > TEG Rover > Map and addresses - "Get a map token from TEG" (or "Get a new one" once you have one): a button that fetches a Mapbox map token from The Eldest Geek's own account for your license, instead of you needing your own Mapbox account. A TEG-managed token is for the live map only; it is never used to sign Mapbox's paid permanent geocoding, and typing your own token at any time switches you back to it.

= 1.25.3 =
* The license server moved to wildwebwizards.com (licenses, trials and site checks now go to https://wildwebwizards.com/cgi-bin/postlicense.py). Nothing changes for your license. Also: House Calls shows "probably on site" under an assigned or en-route call when the technician's latest check-in (at most 10 minutes old, on shift) is within 150 m of the address but "Arrived" was not pressed - useful when they navigate with Waze or Google Maps. A hint only; it never changes the call's status.

= 1.25.2 =
* Fix: with WP_DEBUG on, WordPress 6.7 and later no longer logs "Translation loading for the teg-repairshop domain was triggered too early" on every signed-in page. The permission check that runs on every capability check (including one WordPress makes while it is still loading) no longer builds the translated permission names; they are only built when a screen shows them. A site whose Repair Technician role is missing gets it back a moment later in the same page load, with its name translated as before.
* The update channel moved to wildwebwizards.com; the old address keeps working.

= 1.25.1 =
* New: House Calls > Live map. It shows where every on-shift technician last checked in, with their name and how long ago ("Derek Ãƒâ€šÃ‚Â· 4 min ago"); a technician with no check-in for 20 minutes is shown faded, and one who ended their shift is not shown. House calls are pins colored by status (open, assigned, en route, on site, done today), bigger for a higher priority; click a pin to open the call. The map refreshes itself every minute.
* New: route history. Pick a technician and a day (or one shift that day) to see their route through their check-ins in time order, with markers where they started out, arrived and completed each call, the time on site per call, and the approximate miles (straight lines between check-ins, so the real road distance is a little more). It only uses the check-ins RepairShop already keeps - sent only while on shift, kept for the retention days you set - and a technician who asked for their data to be erased has no route.
* New: the map uses Mapbox when you add a Mapbox public token under Settings > TEG Rover > Map and addresses (restrict it to your site's URL; the setting explains how), otherwise the free OpenStreetMap map. The map libraries load only on the map screens.
* New: coordinates for house calls are looked up from the address when a call is saved without them, so the call appears on the map and gets a "closest technician" suggestion. By default this uses OpenStreetMap's free Nominatim service: only the street address is sent (never the customer's name, phone or e-mail), at most one lookup a second, and every answer is remembered. Mapbox's permanent geocoding can be chosen instead (a paid Mapbox service), or lookups can be turned off. Calls saved before this update get their coordinates the next time they are saved, or overnight (up to 25 a night by default). The call screen says where its coordinates came from, and you can drag the pin or type them to correct them; coordinates set by hand are never replaced.
* New: "Link an existing invoice" on a house call that has no invoice yet: search by invoice number or customer and link it. Linking changes nothing on the invoice (no house-call fee line is added), and technician pay is worked out from it.
* Security: every CSV download (customers, invoices, work orders, reports, Xero, payroll and the others) now protects against spreadsheet formula injection: a cell starting with =, +, -, @, a tab or a carriage return gets a leading apostrophe so a spreadsheet shows it as text instead of running it. Plain numbers such as -5.00 or +15551234567 are left as they are. The QuickBooks IIF file and the supplier purchase-order file do the same.
* Fix: the QuickBooks Online / Xero sync no longer sends payments that are not money yet or never arrived - pending, unconfirmed, declined, denied, reversed, voided or canceled payments, refunds, and TEG Rover payments the office has not confirmed. It sends them when they complete, and the hourly job no longer retries them for ever. The QuickBooks IIF export leaves the same payments out.
* For TEG Back Office: two new filters, drs_books_available and drs_accounting_available, let another plugin that keeps the books switch off RepairShop's own books sync and accounting exports and hide their settings (the saved settings are kept).

= 1.25.0 =
* New (TEG Rover): pickups. "Pick up from the customer" on a work order (or a new job of kind Pickup, which makes the work order with it) sends a technician for the device. The phone shows the device, its accessories and the work order number; its checklist confirms the device and accessories, notes the condition, and takes photos and the customer's signature. The work order then shows "In transit to the shop" until someone presses "Received at the bench", which checks it in.
* New (TEG Rover): returns. When the repair is done the work order offers three ways back: a technician delivers it (hand-over, the balance collected at the door, the customer's signature), mail it back with a shipping label and tracking (EasyPost, ShipStation or Pirate Ship), or the customer picks it up at the shop. A finished return completes the work order and puts the payment on the invoice.
* New (TEG Rover): every job has a kind (house call, pickup, return) and its own requirements - the customer's signature, photos (and how many), collecting the balance - copied from the defaults for its kind under Settings > TEG Rover and editable per job. The phone will not finish without them, and the shop checks again.
* New (TEG Rover): photos and signatures from the phone are kept as private files - a folder with a random name, files with random names and no extension, deny rules for Apache and IIS - and are opened only by signed-in staff from the job's visit record. They are in the customer's data export, are deleted when the customer is anonymized, and a photo no finished job used is deleted after 30 days.
* Rover: take payment by check, Zelle, Venmo or PayPal as well as cash and card; Zelle/Venmo/PayPal wait for the office to confirm they arrived. The phone offers the methods you accept that the invoice offers, and shows your Zelle, Venmo and PayPal details and who checks are payable to. Cash and a check (with its number) go on the invoice at once as taken by that technician.
* New (TEG Rover): card payments by Square. A technician can take the balance by card in the Square Point of Sale app on the same phone (Tap to Pay or a Square Reader). The shop never trusts the phone about money: it asks Square itself that the payment exists, is completed, and matches the amount, the currency and your location before it puts it on the invoice. If Square cannot be reached the job still finishes and the payment waits as "pending verification", checked again every 15 minutes for 72 hours and settled by Square's webhook; House Calls > Payments to check lists anything waiting, with "Verify again". Money that is not verified or confirmed is never in the day's takings; the Z report lists it per technician as not received.
* New: Settings > TEG Rover holds the Square details for the phones (the Application ID, the Location ID, the access token and webhook key it shares with Settings > Payments - secrets are masked and never sent to a phone), a "Test Square connection" button, the TEG Rover app's package name and fingerprint to register with Square, the requirements per kind of job, and technician pay. Help: a new step-by-step section, "Set up Square card payments for TEG Rover", for someone who has never opened Square's developer site.
* TEG Rover technician pay: e.g. 50% of the house-call charge, paid when the invoice is paid. Per technician with a shop default: none, a flat amount per job (it can differ for house calls, pickups and returns), a percentage of the house-call charge - the default, 50%: the invoice line for the "House call visit" item in Parts & Services ($160 to start with) or any line ticked "house-call fee", so a $249.99 printer plus a $160 house call pays $80 - or a percentage of the whole invoice (before tax, fees and shipping included, gift-card sales not). The technician who completes the call earns it. A percentage is payable when the invoice is paid in full (or, as a setting, once it is issued). "Create invoice" on a house call makes the invoice linked to it with the fee line on it. The phone shows what a job pays ("Pays $80.00"). What it earned goes into Business Reports > Commission as "Rover pay" and into Payroll; approving a payroll run marks it paid, so an overlapping run can never pay it twice. House Calls > Technician pay can also record paying it by hand.
* Security review fixes (TEG Rover money): a Square payment is counted once per Square order and payment, not just per client transaction id - the same real order sent again for another invoice is a "duplicate" (nothing applied, on Payments to check, never in the cash-up), and a resend for the same invoice is answered as the first. "Open invoice INV-x" on a call is a plain link that changes nothing; the house-call fee line is added only to the invoice "Create invoice" makes, or to a draft with the explicit "Add house-call fee". Confirming a Zelle / Venmo / PayPal payment needs the new "Confirm Rover payments" permission (administrators, and shop managers by default - not technicians), and nobody, an administrator included, confirms a payment they took themselves; a payment confirmed after the invoice was paid is marked overpaid/unapplied, not a tip. A card payment not taken in Square on the phone now waits for the office to confirm it like Zelle, unless Settings > TEG Rover says technicians carry the shop's own card terminal (off by default); an unknown payment processor is refused. "Collect" is met only in the currency asked for. A re-dispatched job can upload photos again, and the office can delete unused ones. An offline Square payment matched on the amount alone is flagged "matched by amount only - check". Rover pay earned inside an already-approved payroll period rolls into the next run. Changes to the "house-call fee" tick on an invoice line are logged, and the technician who earns from the invoice cannot set it. Backups and data packages now include the TEG Rover jobs, visit records, collections, pay and the photo rows (not the files), and the paired devices' public keys. Uninstall also removes the plugin's own folder inside DRS_PRIVATE_DIR.
* Final review fixes (TEG Rover money): a payment method the shop does not know (for example "Card" instead of "card") is refused on both outcomes instead of being recorded as "other"; "other" now waits for the office to confirm it like Zelle. New setting under Settings > TEG Rover, off by default: "The owner may confirm payments they took themselves (logged)" - for a one-person office an administrator may then confirm their own Zelle / Venmo / PayPal / card / other payment, logged and marked "self-confirmed" on Payments to check and on the invoice; technicians never can. Upgraded sites get the "Confirm Rover payments" permission for a saved shop-manager row and for administrators (a shop without a shop-manager role ticks it for whoever does the office work); the right also needs RepairShop access. The database schema step is 1.25.1 so sites that ran an earlier 1.25.0 build get the new Square payment columns.
* New: drop-off partners choose what their percentage is of: the whole invoice (before tax, with fees and shipping, minus discounts), labor only, or labor and parts separately. Existing partners keep labor and parts separately, so their commission does not change.
* Invoice lines are marked Inventory or Non-inventory (default Non-inventory); only inventory lines move stock. Picking a stock-tracked part switches a line to Inventory; existing lines that took stock (or were linked to a stock-tracked part) became Inventory on the update, so nothing behaves differently. CSV imports bring lines in as Non-inventory unless an inv_type column says otherwise. Business Reports shows the cost of goods from the inventory lines.

= 1.24.0 =
* New: House calls (RepairShop > House Calls) for the TEG Rover phone app, an add-on that is coming soon. A house call has a customer, an address with optional coordinates, a time window, a priority (urgent, high, normal, low), a visit type, and either a technician or the open board. Each visit type has a checklist template (House Calls > Checklists & settings). It is copied onto the call and can be edited before dispatch. Completing a visit needs every item ticked, and the shop checks this too.
* New: the dispatch view lists each technician's last check-in and its age (older than 20 minutes is flagged stale), the house calls by priority, and the closest technicians for each call by straight-line distance. It is a suggestion only. The call screen shows the timeline, the visit record (items with tick times, notes, times, location), and re-dispatch or close for a visit that could not be completed. A call linked to a work order gets a note on it, and a linked on-site appointment is marked completed.
* New: Device pairing (RepairShop > Device pairing, administrators). It makes a key for a TEG Rover phone (tied to a technician) or a Doctor kit and shows its TE1 pairing code and QR code once. Only the public key is stored, so nothing in the database can sign in as a device. Keys can be listed, revoked and deleted. Removing a technician's access, or deleting their user, revokes their phones.
* New: signed device routes under /wp-json/drs/v1/: device/hello, device/unpair, device/checkin, rover/calls, rover/claim, rover/status and rover/complete. Every request is Ed25519-signed with a replay-proof nonce inside a 5-minute clock window. They also work on hosts that strip custom headers. Limits are per phone and per address. A claim is a single database update, so two technicians can never both win a call. A resent completion is recognized and answered, never applied twice.
* New: WP-CLI commands wp drs technician create|list and wp drs device-key create|list|revoke.
* Privacy: technicians' location check-ins are part of WordPress's personal data export and erase (by the technician's e-mail). They are kept for 30 days by default, then only the last position is kept. A customer's house calls are in their data export and are cleared when the customer is anonymized.
* License: house calls, pairing a phone and the phone routes need an active license and stop when it is not active. device/hello still answers so the phone can say why. TEG Rover will get its own add-on license later.
* Security and privacy fixes from a review before release. Erasing a technician's personal data now also removes the positions from their visit records and the coordinates from call timelines. The phone's location is no longer copied into the stored visit request or the timeline. Anonymizing a customer also clears the reason on their visits and the timeline text that named them. After the retention days, visit records and timelines lose their positions too. A resent completion is answered only to the technician who sent it. A check-in is linked to a call only when it is the technician's own dispatched call. A call's status never moves backwards (409 drs_status_backwards). Visit notes are kept up to 10,000 characters and a reason up to 2,000; longer text is cut and marked, and the full text stays in the visit's stored request. A paired phone with a valid key keeps working from an address that someone else's failed attempts have locked out; the junk itself is still refused.

= 1.23.4 =
* Customer sign-in: four fixes from a third review of the sign-in hardening. Signing in no longer wipes other customers' failed-attempt counts: when two customers share a name, one of them signing in could reset the other's lockout, and anyone could register an account with a matching first name to do it on purpose. Now a successful sign-in only takes back its own attempt.
* A locked-out or disabled account now gets the same answer as a wrong password, so the sign-in form never reveals whether an account exists, is locked, or had the right password typed. That answer now ends "Trouble signing in? Use the e-mail sign-in link." - the way back in for a locked-out customer. "Too many attempts" now comes only from limits that treat real and made-up names alike.
* Behind a reverse proxy or CDN, the sign-in limits now find the visitor's real address even when the proxy chain adds its own private address at the end.

= 1.23.3 =
* The demo credential hint on the customer sign-in form is gone (it was added in 1.23.0). TEG-SHOPS-DEMO now says the sign-in once, behind its own "How to log in" button, for every shop it demonstrates - this plugin no longer prints it anywhere a visitor can see. The demo sign-in logic itself is unchanged: demo / demo123 still works only while demo mode is on, and disarm() still runs off demo mode. Settings > Data still explains demo mode to the shop owner.

= 1.23.2 =
* Customer sign-in: four more hardening fixes from a follow-up review. A made-up customer identifier now answers exactly like a real one that is locked out, instead of taking a different amount of tries to give up. Behind a reverse proxy or CDN, the sign-in throttle now looks at the real visitor's address, not the proxy's, so one address no longer locks the whole portal (and a visitor cannot fake that header to dodge or frame someone else). Forgot-password and sign-in-link e-mails are also capped per customer, not only per visitor. A burst of near-simultaneous attempts can no longer add up to more tries than the limit allows. In demo mode, other visitors' mistakes no longer lock the one shared demo account. "Send portal invite" to a disabled customer now says so plainly.

= 1.23.1 =
* "What's new" on the demo site now remembers a browser, not the shared demo login: dismiss it on your own screen and it stays dismissed there, but every other demo visitor still sees it once too. Outside demo mode nothing changed - it is still per member of staff.

= 1.23.0 =
* Customer sign-in is harder to guess at. Failed attempts now count against the customer's account however it was typed - phone in any format, name, first name or e-mail - and against the visitor's connection, so an account can no longer be tried over and over by spelling it differently. After 10 failed attempts an account waits 15 minutes; the customer can still sign in at once with the e-mailed link.
* When a name matches more than five customers, the portal asks for the e-mail address instead of trying the password against all of them. The shop's log records sign-ins that matched several customers.
* "Forgot password" and "E-mail me a sign-in link" are limited to a few requests per visitor every 15 minutes, so nobody can fill a customer's inbox.
* A disabled portal account stays disabled: an old sign-in link or password-reset link no longer switches it back on.
* The demo sign-in is now demo / demo123 (e-mail demo@theeldestgeek.com), and it works only while demo mode is on. A real shop never creates or accepts it, and switching demo mode off wipes its password. The hint appears once, on the sign-in form, instead of on every page.
* Entering a paid license code now checks it in with the license server straight away and says so: "Validated on this site", or "Awaiting validation" with the reason.
* When the license server cannot be reached, the License panel and the paused notice show the real error (for example a timeout, a certificate problem or a proxy error page) instead of suggesting your internet is down, and the site retries at most every 10 minutes instead of waiting on the server twice on every admin page. A proxy's error page is no longer mistaken for an answer.
* "Re-check with license server" always asks the server again, and a license the shop revoked and then restored works again after a re-check.
* Help > License documents the DRS_NO_LICENSE_NETWORK setting for shops that must run fully offline.

= 1.22.1 =
* American English throughout the screens, e-mails and printed documents (labor, color, license, canceled, catalog, and so on). Only the wording changed: your settings, data and saved templates are untouched, and Spanish sites keep their translations.

= 1.22.0 =
* The "What's new" card now shows once per person per version. After that, a small "What's new" button on the dashboard opens the same notes in a window (Esc closes it). Each member of staff sees the card once, not only the first to look.
* Customers can sign in to the portal with their e-mail, phone number, name, first name, or the part of their e-mail before the @ - plus their password. If that matches more than one customer and the password fits more than one of them, the portal asks for the full e-mail. The demo sign-in "demo / demo123" now works as printed.
* Instant quote: picking the type of device now moves straight on to the problem list (the first pick used to do nothing). New price type for the quote matrix: "parts 40-90 + labor 120" shows the customer "Parts at cost (about $40-$90, typical Amazon price) + $120 labor = about $160-$210". The built-in examples use it for screens, batteries, charging ports and SSD upgrades; your own ranges, prices and SKUs keep working as before.
* Shop managers can add, change and delete membership plans (the "Change prices" permission under Settings > Access & technicians > Permissions); before, only a WordPress administrator could, and everyone else got "You are not allowed to do that." When something does need an administrator, the message now says so.

= 1.21.0 =
* Licenses are now tied to your site. When you enter a paid code it checks in with the license server once and binds to this site's address; after that it keeps working normally even if the server is unreachable. Your data is never locked away - everything stays readable at all times.
* A brand-new install (or a copy placed on a different web address) that has a paid code but has never checked in stays in read-only mode for the paid features until it can reach the license server once. The License panel says so and "Re-check with license server" completes it. Sites that were already licensed and running are carried over automatically on update - nothing to do.
* The trial is unchanged: it still works fully offline for 30 days from the first run.
* The value features now pause together when a license is not active: online booking and customer payments, business/CSV exports, and taking a new backup. Reading, viewing and exporting your own data package for portability are always allowed.
* The License panel shows when a license is in use on more sites than it was sold for.

= 1.20.0 =
* Settings > Payments has a new "Payment methods you accept" list: Zelle, PayPal, Venmo, Credit card, Check and Cash, each with a tick box and one line of details (your Zelle e-mail or phone, PayPal.me link, Venmo @handle, "Checks payable to ..."). Card, check and cash start ticked, so nothing your customers see changes until you tick more. At least one method always stays ticked.
* Every invoice has a "Ways to pay" tick list, all accepted methods ticked on a new invoice. The printed invoice, the customer's invoice page and the invoice e-mail show each offered method with its details, plus the online pay button where card or PayPal is offered.
* Stop accepting a method and it leaves new invoices, while invoices already issued keep showing what they offered.
* The online card button (Square or Stripe) now shows only when Credit card is accepted, and the PayPal button only when PayPal is, as well as the gateway being switched on.
* Recording a payment lists your accepted methods first and the shop's own ones (bank transfer, store credit, gift card, refund, other) under "Other". The same list is used at the counter, at pickup, on receipts, in the daily digest and by the importer.
* Every payment now records who took it, when, and its note, whatever took it: the invoice screen, the counter, pickup, an online payment or its webhook, or an import. The staff payment list shows all three; the printed invoice and the customer page list "Payments received" by date, method and amount, and never the note.
* "E-mail the customer a receipt" is now unticked until you tick it, and works for any method.
* Old payments recorded as "cheque" show as Check.
* Imported payments now carry "imported" as their note instead of in the reference field.

= 1.19.1 =
* A license that has been revoked (after a refund, for example) no longer receives updates, lifetime licenses included. If the license server cannot be reached, updates carry on as before.
* Payroll can now be handed over to TEG SHOP PAYROLL, the new standalone payroll add-on that works beside any shop in the family. While the add-on is active this module stands down and its Payroll menu is hidden, because two payroll systems on one site would keep two sets of runs, each believing it is the record of what somebody was paid.
* Nothing is deleted when that happens: the payroll tables stay where they are, the add-on copies the approved runs rather than moving them, and deactivating the add-on brings the Payroll screen back with its figures intact. A shop without Pro still sees the Payroll menu, because that screen is where it learns payroll exists.
* Help: a new section on numbering, one number per job or one per document, covering what each scheme does, what switching on does to numbers already issued (nothing), and why a duplicate, a second invoice and a purchase order take their own numbers.
* Help: a new section on drop-off partners, from setting one up and printing their card to commission on money billed or collected, recording a payout and reversing one.
* Help: a new section on payroll preparation, covering what to set before the first run, what approving a run freezes, how overtime is counted, and contractors and the 1099-NEC threshold.
* Help: the printable QR Codes sheet is explained code by code, the help button on the Drop-off Partners, QR Codes and Payroll screens now opens the section about that screen, and the user guide has been brought up to date with all of it.
* CSV imports, exports and supplier feeds no longer write a deprecation warning to the debug log on PHP 8.4.

= 1.19.0 =
* Drop-off partners: a place that takes work in and does none of it, such as the barber two doors down who accepts laptops or the phone kiosk in the mall. Add it under Settings > Locations as "Drop-off only" with a short code, a commission on labor and on parts, and who to pay.
* A job checked in through a partner's link or QR code is tagged to them on every step of the check-in, and the page says "Booking in at ..." so a working card can be told from one with a typo in it. The job still belongs to the location that does the work, so stock, numbering and the letterhead are unaffected.
* Commission is earned on money collected, the default, where a half-paid invoice earns half and the balance follows when the rest arrives, or on money billed; the choice is in Settings > Documents.
* Repair Shop > Drop-off Partners shows what each partner is owed for a period, what has been paid and what is outstanding. Recording a payout writes down only the outstanding amount, so pressing it twice pays nothing the second time, and a reversed payout stays on the list marked void rather than disappearing.
* Repair Shop > QR Codes: a printable sheet of codes with your logo in the middle, for checking in a device, booking a repair, leaving a review, and one per drop-off partner. A code whose destination is not set up is left off the sheet rather than printed pointing nowhere.
* Payroll preparation (Pro): works out what each person earned for a period from the hours and commission the shop already records, freezes it as an approved run, and exports it in the shape Gusto, ADP, Paychex, Patriot and QuickBooks import. It prepares payroll and does not file it: no tax is withheld here, and the screen says so.
* Each person is hourly, salaried or a contractor with their own rate. Overtime is time and a half over 40 hours a week and, optionally, over a set number of hours a day, and an hour already counted as daily overtime is not counted again for the week. That is not California's full set of tiers, and the settings say that too. Tips, a bonus or expenses are typed in on the run.
* An approved run is frozen: a late invoice or an edited timesheet cannot change it afterwards, the same period cannot be approved twice, and withdrawing a run marks it void rather than deleting it. Recomputing a period that has already been paid is how it gets paid twice.
* 1099 contractors are handled end to end, because there is nothing to withhold: the screen totals what each was paid this calendar year from approved runs and flags anyone over the 1099-NEC reporting threshold, which is a setting because the IRS changes it.

= 1.18.0 =
* One number per job, as an option: work order WO-1021 becomes invoice INV-1021, so a customer ringing about "ten twenty-one" means one job whichever piece of paper either of you is holding. It is off by default, and separate numbering stays exactly as it was, because some accountants and tax authorities require an unbroken invoice sequence.
* Settings > Documents > Numbering spells out both schemes and shows the next number under each. Switching on starts above every number already issued, so a new number cannot land on an old one; nothing already sent to a customer is renumbered either way, and a work order raised before the switch still converts onto its own number.
* A duplicated invoice, a second invoice for the same job and a purchase order each take their own number: a duplicate is a different job, and a purchase order goes to a supplier and usually covers several jobs.
* Updates follow the license fairly: a lifetime or current license installs any version, and an expired license installs any version released on or before its expiry date, for ever, including a fix published while it was paid up. WordPress only offers an update the license covers, and the plugin keeps working either way.
* Bundle licenses that include the newest shops in the family now name every product correctly on the license screen, instead of naming the wrong ones.
* No more warnings written to debug.log on every request under WordPress 6.7 (translations loading too early) or PHP 8.4, the version Debian 13 ships. Neither changed how the plugin behaves, but both buried whatever the site was actually trying to debug.

= 1.17.1 =
* Demo mode: the customer sign-in printed on the demo banner and in the settings help now actually works. It had never worked, because the published password was shorter than the sign-in allows and the short login name was thrown away before it was looked up.
* The demo customer is now James Rockford, the same customer the other shops' sample data is built around, so a visitor moving between the shops meets one customer instead of three unrelated ones. The sample data has been refreshed to match.
* Only the demo account may have a short password, and it now fails loudly if the password cannot be set. Every real customer keeps the eight-character minimum.

= 1.17.0 =
* The plugin is now teg-repairshop, in line with the rest of the family (it was doctor-repairshop). To WordPress that is a different plugin, so it does not update the old one in place: upload and activate this one, deactivate the old one, and only then remove the old folder.
* Remove the old doctor-repairshop folder by deleting it from the server (FTP or the host's file manager), not with WordPress's Delete link: that runs the old copy's uninstaller, which removes the settings this plugin shares with it, and the tables too if "keep data on uninstall" is switched off.
* Your data is untouched: customers, jobs, invoices and settings keep the names they had, so the new plugin opens on the same shop, and the license is unaffected. Translations, including the Spanish one, follow the new name.
* Fixed: the Pirate Ship screen added in 1.16.0 never appeared in the menu, even when it was switched on.

= 1.16.0 =
* Pirate Ship as a third shipping provider, beside EasyPost and ShipStation. Pirate Ship has no label API, so it works by spreadsheet: export what is waiting to post, buy the labels at Pirate Ship, and bring their export back; the tracking number, carrier and cost land on the right job, matched on your own reference and never on a name or address.
* Waiting to post means the work is finished, the machine is still here and nothing has been shipped out, which is the pile a shop posts from on a Friday. A default parcel size and weight are in the settings, and a shop that hands everything over the counter simply never opens the screen.
* The optional "Authenticator code" box on the WordPress login page now appears only when two-factor sign-in is in use (the policy requires it, or at least one user has set it up), instead of on every site the plugin is active on.
* Bundle licenses that include TEG-WINERY, TEG-VETCLINIC or TEG-ELECTRIC now show those products by name on the license screen instead of an empty name.

= 1.15.0 =
* Support and feature requests, from inside the admin: ask for help, report a fault or suggest a feature without hunting for an address. It files a real ticket in the same Doctor ticket system a support call goes into, so it has a number and can be chased, and e-mails it as well. A support request can carry the facts that make it answerable, the plugin, WordPress, PHP and database versions and the license state, behind a box that shows you exactly what will be sent; it never sends a customer record and never sends the license code. If the ticket cannot be filed the message still goes by e-mail, and the screen says which of the two worked rather than claiming both did.
* The snapshot: the whole workshop on one screen. What is on the bench, in the order to work on it, with anything past the date you promised at the top and the urgent and priority jobs under it. Then the repairs that have been here longest, oldest first, with why each one is still here. Then the repairs that cannot move until a part arrives, naming the part, who it is coming from and when it is expected. All three read from the boards you already have, so they cannot disagree with them.
* How the customer found us: asked once at check-in, of a new customer and of anyone you never asked, with a follow-up question where it earns one ("Friend or family" asks who to thank). The answer is kept on the repair as well as on the customer, because your advertising changes and the same customer can arrive twice by different routes. "Where customers come from" then adds it up: new customers, repairs and money per source, the share of the work each one brought, what the average repair from that source was worth, and how many repairs nobody was asked about.
* Gift coupons: a code that takes money off a bill, which is not the same thing as a gift card and says so on every screen. Fixed amount or a percentage, off the whole bill or only the labor or only the parts, with a minimum spend, a start and expiry date, a limit on total uses and uses per customer, and the option to reserve one for a single customer. Applied at the invoice, at the counter sale and at the pickup screen, listed on the customer's own page, printable to hand over, and issued in a batch for a campaign with a report showing what the campaign gave away.
* A coupon never takes a bill below zero, is worked out before tax, and adds to a discount you typed by hand rather than replacing it; removing the coupon takes back only what the coupon gave.
* Settings > Workflow gained the snapshot knobs (how many days counts as old, how many rows each list shows, and how often the screen refreshes itself for a monitor on the workshop wall) and the wording and answers for the check-in question.

= 1.14.0 =
* Maintenance contracts for business customers: a signed agreement covering named devices or the whole site, with included labor hours and onsite visits per period, a promised response time, a discount on anything past the allowance, and the billing handed to the existing recurring invoices. A covered repair attaches itself, the allowance draws down as time is logged, the work order shows what is left, and each contract carries a profit line so the owner can see which ones lose money.
* Technician scoreboard: a leaderboard over a week, a month or a range, built from the figures the efficiency report already produces, with weights the owner sets, a target per figure, six periods of trend, and a wall board for a screen in the workshop. Open repairs are excluded, every average shows its sample size, and a technician with too few jobs is shown as information rather than ranked.
* Webhooks grew up: several endpoints instead of one, a catalog naming every event the plugin sends with its payload shape on screen, a secret and signature per endpoint, a delivery log with retries and backoff, send again, and a test payload button. The single webhook URL keeps working.
* E-mail delivery: SMTP settings with a test button that reports the mail server's own words instead of a general failure, and a log of every message sent and every one that bounced, so a host that quietly drops mail is visible instead of being blamed on the plugin.
* Faster on the front end: the plugin now loads a class the first time it is used instead of reading all 124 of them on every request, and the screens, admin-post handlers and ajax are only wired up inside the admin. A customer opening the repair-status page no longer pays for the back office.
* The group of shops: the HQ dashboard gained a league table ranking every shop on takings, jobs, lateness, overdue money or rating, each shop's share of the group, a month-on-month figure kept by a daily reading, and a CSV of the whole group. A shop that cannot be reached is left out rather than counted as zero.
* An upgrade rehearsal in the test suite (tools/upgrade.sh): install an old release, load the sample data, drop the current files over it and confirm the migrations land and nothing is lost. That is the path a paying customer takes, and it had never been tested.
* A security pass over everything added since 1.11, with fixes: buyback can no longer pay out store credit without the store-credit permission; the Stripe reader panel no longer trusts the return address it is handed; shipping labels are no longer written to a browsable folder; the Twilio call webhook now verifies the signature on the address Twilio actually requested, and the leg that dials a number can never be run unsigned; and a six-digit two-factor code now stops answering after ten wrong guesses in a quarter of an hour.
* Fixed: four modules were being started twice on every page load, and the contract discount was being discarded by the urgency rate.

= 1.13.0 =
* Parts a repair needs: a technician records the part, how many, and the date it is needed by (the promised date by default). One click puts it on a purchase order for that supplier, and receiving the delivery marks it received on the job.
* Specialist and offsite work: send a device to data recovery, a board-level repairer, a screen refurbisher or a depot, with the dates out and due back, their reference and both prices. The work order carries a banner and the customer's status page says where the device is - never the specialist's name or your cost.
* The Held up board: every open repair that cannot move, why, who has it and when it clears - with the ones that will miss the date you promised flagged in red. Count on the dashboard, summary in the daily digest, and an automatic note on a repair whose blocker slips past its promise.
* The membership club: plans that set priority, a promised response time, percentages off labor, parts and onsite call-outs, included onsite visits and a waived diagnostic fee. Members get a number, a badge, automatic priority on new repairs, the discount on their invoices, a welcome e-mail and a renewal reminder; they see their card and visits left on the customer page.
* Catalog items can be flagged as an onsite call-out so the member onsite discount and the included-visit count find them.
* Check-in asks how they want to be reached (e-mail, text, phone call), takes a second number with a label, and marks each number as able to receive texts or not - so the shop never texts a landline.
* Check-in records what should happen to the data (recover, keep, back up first, wipe, wipe and certify), with a red banner on the work order when it is a recovery or a wipe, and a tick-list of the accessories left with the device that prints on the ticket and comes back at pickup.
* Loaner devices gain charges and requests: a daily rate and deposit per loaner (or a shop default with free days), the charge worked out on return and put on the repair's invoice, a board showing what is out, what is overdue and what the loans are earning, and a check-in option so a customer can ask for a loaner themselves.

= 1.12.0 =
* Buyback and trade-in: grade a used device against a condition checklist, offer a figure from the grade percentages, pay in cash, store credit (with a bonus) or as a credit on an invoice, take the seller's signature, print the ticket and list the device for resale as a serialized catalog item.
* Card readers at the counter: Stripe Terminal (BBPOS WisePOS E, Reader S700) beside the existing Square Terminal, on the invoice, the counter sale and the pickup screen.
* Mail-in shipping: EasyPost or ShipStation labels from the work order, prepaid inbound labels e-mailed to the customer, hand-typed tracking, carrier tracking links on the customer's status page and hourly delivery updates.
* The shop phone: a Twilio number rings your real phone, logs every call against the customer, takes voicemail, e-mails it to the shop, texts back missed calls and dials customers from their record.
* Supplier price feeds on a schedule and purchase orders e-mailed to the supplier as their own CSV or a plain list.
* PrintNode: silent receipt and label printing, with a cash-drawer kick and a test page.
* Mailchimp audience sync, respecting marketing opt-outs.
* The shop wiki for internal notes, a five-step first-run setup wizard, and the customer page as an installable app that works offline.
* Help gains sections on buyback, shipping, the phone, suppliers, the wiki, counter hardware and moving in from other software.

= 1.11.0 =
* Business accounts: payment terms (net days) per customer drive the invoice due date; extra contacts on the customer record; automatic monthly statements to every customer with an open balance (Settings > Notifications).
* Parts on order: purchase-order lines can be tied to a work order; the work order shows what is on order with the PO status and expected date, "Order a part for this job", and the customer's status page says "Waiting for a part, expected <date>".
* Returning devices: a device checked in again inside its last repair's warranty is linked to that repair and noted; one click treats it as a warranty claim.
* What's new: after an update a dismissible notice lists the changes; the Help page keeps the last three releases.
* Settings-only export and import (no secrets, no customers) to clone a configured shop.
* Demo mode: a hosted "try it" site that wipes and reloads the sample data nightly and shows the demo sign-in on the customer page.
* Accessibility pass on the customer page: skip link, visible focus, current-page marking, reduced-motion support.

= 1.10.2 =
* Inbox: the conversation list and the unanswered count are now one aggregate query instead of a thread rebuild per work order, so the Inbox and the dashboard stay fast with thousands of repairs.

= 1.10.1 =
* Renamed to TEG-REPAIRSHOP in the plugins list, the admin menu, notices and the license panel, matching TEG-WPMARKET. No functional change.

= 1.10.0 =
* Urgency (Normal / Priority / ASAP) with its own hourly rate per level, chosen by the customer at check-in with the rates shown; the timer's labor line bills at the order's rate.
* Abandoned-device workflow (dated notices, storage fee, disposal list); signature and terms acceptance on self check-in; customer-facing pickup display (invoice, signature, rating on a second screen); queue position and ETA on the status page.
* Model lookup from the serial (Apple, Samsung, Dell, Lenovo, HP + coverage links); QuickBooks Online / Xero sync over OAuth; loyalty points and referral codes; multi-currency per location; technician efficiency report; shift roster and time off feeding capacity.
* WooCommerce inventory bridge; repair recipes; photo annotation; insurance / warranty claim report; inbound e-mail into the Inbox (webhook or IMAP); WhatsApp and Telegram as customer channels and a staff alert line.
* AI assistant on the work order (Anthropic API: summary, customer update, diagnostic steps, reply, questions); WP-MARKET audience export and feed; HQ dashboard across shops (drs/v1/stats); passkeys (WebAuthn) for staff sign-in.

= 1.9.0 =
* Pre-repair condition diagram on check-in, work orders, pickup and the intake sheet; duplicate customer finder and merge; gift cards (sold on invoices, issued by hand, redeemed anywhere); a language per customer with per-language templates.
* Accounts receivable: scheduled overdue reminders, aging by customer, customer statements (PDF, e-mailed); Stripe as a second gateway (cards, card on file, refunds, booking holds, webhook); tax classes with per-line tax and a tax report by class; job costing with margins per repair.
* Supplier returns (RMA) with stock moves; parts reservation on estimate approval; parts compatibility with suggested parts and one-click add; time clock with payroll CSV; barcode scanning and Code 128 part labels; offline Bench with a queue for changes made without a connection.
* Google Calendar two-way sync; self-hosted updates through Dashboard > Updates with checksum verification (tools/make-manifest.py); scheduled backups to a local folder, FTP, S3 or Dropbox with one-click restore; GitHub Actions CI; new-device sign-in alerts, active sessions and an IP allow-list.

= 1.8.0 =
* Two-factor sign-in with Google Authenticator (TOTP, backup codes, admin reset, optional requirement) on wp-login and the staff page.
* Permission matrix per role; privacy export / anonymize and a retention rule; unified inbox with replies; satisfaction ratings gating review requests; store credit ledger; warranty claims with return rates.
* Square Terminal card-present payments; thermal receipts, ESC/POS with drawer kick, Z report; booking card holds with no-show fees.
* Serialized stock; technician hours and capacity with promised-date suggestions; server-side PDFs attached to e-mails; supplier price lists; Web Push notifications for staff.
* Check-in kiosk mode, one-time code verification and device photo; staff page photos, notes and timer; estimate options (good / better / best); Playwright browser tests.

= 1.7.1 =
* Customer self check-in page (?view=checkin): phone number lookup, new customers give their details, known customers pick a device or enter brand / model / serial and the problem; the submission becomes a work order with confirmation e-mails.
* Staff orders page on the RepairShop site (?view=staff): its own sign-in for administrators and technicians only, every current order as a phone-sized card with status changes, search, and a quick "New order" form.

= 1.7.0 =
* Counter sales (POS) with cash drawer, bench board (Kanban) with drag-and-drop, per-device-type intake and quality-check lists with a QC gate, loaner devices with agreements, pickup sign-off with signature and payment, customer messages on the status page, instant quotes, membership plans in the portal with auto-charge, QuickBooks IIF / Xero CSV / tax-by-jurisdiction exports, technician commission, daily and weekly e-mail digests, document versions with diffs and a searchable audit trail, REST API with key + signed webhooks, mobile bench page (installable, offline-tolerant), custom fields and custom statuses with colors and per-status templates, translation template and money formatting, diagnosis back to the Doctor ticket and follow-up scan checks.

= 1.6.0 =
* Time tracking on work orders: start/stop timer per technician, manual entries, unbilled time billed as a labor line (quarter-hour rounding), hours per technician in Business Reports.
* Purchase orders: draft by hand or from the low-stock list (one per supplier), print, mark ordered, receive deliveries line by line into stock, per-part order history.
* Recurring invoices for managed-service and contract customers: weekly / monthly / quarterly / yearly plans generated by the hourly job, auto e-mailed, {period} placeholder.
* QR codes with the shop logo in the center (built-in encoder, level H) on the device label, work order, estimate and invoice, opening the customer's status / approval / pay page.
* Review requests: automatic e-mail and text a set time after pickup with your Google / Yelp / Facebook link, one per repair; "Ask for a review" on the work order.
* Multi-location: locations with their own address, letterhead, booking hours, numbering (INV-NYC-1001) and per-location stock; location on work orders, invoices, appointments, purchase orders and plans; booking form asks which shop.

= 1.5.0 =
* Data packages: one-click sample data, package upload (replace everything), full export (backup / move), delete all records. Sample package bundled and shipped as repairshop-testdata.zip.
* Help & Tutorials: the complete guide in the admin with search, contextual Help links, tutorials, troubleshooting; customer help on the RepairShop page; docs/USER-GUIDE.md.
* New-customer intake: configurable questions (business, website, how they heard of you...) asked at registration, first booking, on the customer form and account page; phone numbers and e-mail addresses validated on every form.
* Warranty offered as a setting, shown on the RepairShop page and every estimate, invoice and work order; short terms at the bottom of every work order; full terms & conditions page for customers; invoice slug and work order slug printed at the bottom of each form.
* Settings > Import: CSV imports for customers, devices, parts & services, repairs and invoices with templates and column aliases.
* Settings > Access & technicians: two master admin logins (reset either from the other), technician accounts for the technician field on work orders / invoices / appointments; sales tax rate on the Store tab.

= 1.4.0 =
* Portal accounts separate from WordPress users (register, sign in, remember me, reset and magic links, invitations, profile, disable), a redesigned RepairShop front page with shipped illustrations, "How it works", popular services and device types, and a richer account page.

= 1.3.0 =
* Appointments (online booking with live availability, week view, check-in to work order, reminders, manage link, .ics and calendar feed) and check-in photos (camera uploads on work orders and devices, stages, captions, customer visibility, printed and on the status page, attached at booking). Settings > Appointments & photos; RepairShop > Appointments; [repairshop-book].

= 1.2.0 =
* Online payments through Square (Web Payments SDK + Payments API) and PayPal (Orders v2): pay page on the public invoice link, partial payments, receipts, signed webhooks, gateway refunds, deposits on work orders credited on the final invoice, Square card on file with charge-from-admin, payments by channel in Business Reports. Settings > Payments (Square / PayPal).

= 1.1.0 =
* SMS notifications through Vonage: status / ready / estimate / invoice / receipt / reminder texts, free-text messages, opt-in with STOP / START, inbound replies and delivery receipts via webhooks, message log, balance, test mode. Settings > SMS (Vonage); RepairShop > Text messages.

= 1.0.0 =
* First release.
