=== TEG-LEGAL — Practice management for a law firm ===
Contributors: theeldestgeek
Tags: law firm, legal, trust accounting, time billing, practice management
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: 1.21.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

The whole back office of a small law firm: clients and matters, conflicts checked before the engagement, time captured in increments with the rounding done in one place, hard and soft costs kept apart, invoices and trust accounting with a per-client ledger that cannot be overdrawn, three-way reconciliation, contingency settlement statements, deadlines with the rule they came from, and a client portal.

== Description ==

A trust ledger is per client, and the bank balance is not permission. Before any money leaves trust, TEG-LEGAL asks whether that client's own ledger holds enough, never whether the account does. There is no override and no setting to switch it off.

* **Trust accounting** - per-client ledgers with the guard above; an append-only ledger where a mistake is corrected by a further entry naming the one it corrects; the balance stored on every row; moving money out of trust is its own permission (partners only by default) and only against a sent invoice, for no more than it still owes.
* **Three-way reconciliation** - bank statement, book balance and the sum of every client ledger, with history and a daily check that warns when a reconciliation goes stale.
* **Clients and matters** - one client, several matters, each with its own fee arrangement, team, deadlines and share of the trust ledger; matters are visible to their team.
* **Conflicts** - every party on every matter, open and closed, is searched; hits are ranked by seriousness; a matter cannot be opened until a check has been run and a decision recorded with reasoning. Website inquiries are checked as they arrive.
* **Time** - billing increments with rounding done in one place and both the real minutes and the billed figure stored; when each entry was made is recorded against the date of the work, and thin days are found; no-charge kept distinct from non-billable; a file note can become a time entry.
* **Costs** - hard and soft costs kept apart; a hard cost paid from trust passes the same guard as any other disbursement.
* **Rates** - four levels of specificity with date ranges, so work bills at the rate in force when it was done.
* **Billing** - pre-bills, review, approval separate from preparation, write-offs with a reason, and the increment printed on every invoice.
* **Ways to pay** - under Settings > Billing, tick the payment methods the firm accepts (Zelle, PayPal, Venmo, credit card, check, cash) with one line of details each; card, check and cash to begin with. Every new invoice offers what is accepted, the invoice screen can take a method away for one client, and the invoice, the invoice e-mail and the portal show the ways to pay with those details while something is owed. A method no longer accepted stays on invoices already issued. Payments record who took them, when and a note for the firm the client never sees; a receipt is e-mailed only when ticked. Money from trust is recorded through the ledger and is never offered as a way to pay.
* **Pay online** - clients pay their invoices (fees earned and costs billed) by card online through your own Square, Stripe or PayPal account, and at the front desk on a Square Terminal. Each issued invoice has its own pay page, linked from the client portal ("Pay this invoice online"), the invoice e-mail and the printed invoice; part payments are allowed if you want them. Payments arrive by signed webhook, are recorded once however often the processor resends them, and move the invoice to part paid or paid; refunds go back through the processor (or are written back by hand for a check or cash payment), never for more than was paid. Online payments are always recorded as OPERATING money against the invoice - never as a deposit into trust, and there is deliberately no "pay a retainer into trust" button (processor fees must not come out of client money). Keys and secrets live only in Settings > Billing, are never shown again once saved and never go into a backup. The demo site takes no money. Checks, wires, cash, Zelle and the rest are still recorded by hand, by region.
* **Take payment in TEG Companion** - staff with billing access take payment on an issued invoice from the phone: a card by Square payment link (QR code, text, e-mail), on the counter's Square Terminal or in the Square app on an Android phone - recorded only once Square itself confirms it, once, as operating money. Zelle, Venmo and PayPal taken on the phone wait until someone in the office confirms the money arrived (a partner or office manager can confirm it at once). Checks, cash and wires are recorded straight away. A matter or a client never takes a payment on the phone, so nothing goes into trust from there; the ethical wall applies (only invoices of matters the person may see).
* **Contingency settlements** - gross, costs, fee, liens and net to client, with the fee on the agreed basis and the other basis shown beside it.
* **Deadlines** - the rule the date came from written down, the arithmetic shown, court days as well as calendar days, two warnings, and a second named person for anything fatal. There is deliberately no built-in court rules engine.
* **Reports** - realization, lockup, origination, practice areas and write-offs.
* **Client portal** - `[teg-legal-account]`: matters, invoices, documents deliberately shared, and the client's trust balance with its movements. Clients sign in with a one-time link sent to the e-mail address the firm holds - no password, and the page never says whether an address belongs to a client.
* **Public page** - `[teg-legal]`, and `[teg-legal-contact]` for the inquiry form alone.
* **TEG Rover: field visits on the phone** - the site side is included, switched OFF until the firm turns on "Rover (drivers / field staff)" under Setup > Device pairing. Under TEG-LEGAL > Visits & deliveries the firm sends a process serving, a client signing visit or a court filing run, linked to a matter, to the phone of the person who goes; they pair under Device pairing (QR code, one revocable key per phone, no passwords). On the phone: directions, on the way, arrived, a short checklist, a photo as proof of service or the client's signature, done - and a line in the matter's audit trail says so. The phone carries the MINIMAL detail the visit needs and nothing else: the client's name, the address to go to, the time and the task type. Never the matter's name or description, the court, the case number, the parties, deadlines, notes, time, invoices, trust or a document - not even the matter's reference - and a visit's summary and office notes stay in the office. Photos and signatures stay in TEG Rover's private store; they are never added to the matter's documents. The website's own team rule and ethical walls apply on the phone too: a visit on a matter someone may not see is never on their board, cannot be claimed by them and cannot be sent to them. The live map and the visit records are for administrators and firm-wide users. Nothing is collected on a visit from trust. The TEG Rover app (0.2.2 or later) is distributed separately; the site side costs nothing per person.
* **Licenses & permits** - under Setup > Licenses & permits, the register of what the firm and its lawyers must keep current: each attorney's bar admission (active membership and dues) and CLE compliance, professional (malpractice) liability insurance, the IOLTA trust account record (the bank and the last four digits only, never the full number), the business license, or anything else - with the number, who issued it, the dates and the scanned certificate. Reminder e-mails 60, 30 and 7 days before anything expires and when it is overdue, a dashboard box while anything required is missing or expired, and a one-click binder to print or save as a PDF. Scans are kept in a private folder, never the media library. The presets are examples (Virginia first), not legal advice.
* **Backup and restore** - under Settings > Backup, in a protected folder on your own server.
* **Language** - run the plugin in English, or in another language once its language pack is installed (Spanish first; more can be added later, no new version needed). Pick the firm's language under Settings > Language; each person in the firm can pick their own on their profile. What clients see - the invoice (printed and e-mailed), receipts, the client portal, the sign-in e-mails, the pay page and the public page - is in the firm's language. The words of a time entry, a matter name or anything else somebody typed are never translated. Language packs (Spanish first) need the Pro edition; with no pack installed everything stays in English exactly as before. **The phone apps.** With the Pro edition and a language pack, TEG Companion and TEG Rover can show their screens in the language each phone is set to (or the one picked in the app), as long as the firm has words for it - this needs the app update that adds languages. Lists and screens follow the phone; everything that is saved or sent stays in the firm's language, and an invoice opened on the phone shows exactly what the client gets. Without Pro the apps stay in English.

What it does not do: it is not a general ledger, never moves trust money by itself (card payments online pay invoices, into the operating account), does not file with a court, e-sign or do legal research. Uploaded files go to the WordPress media library, which is public; there is a field for recording where a document actually lives instead.

Data lives in the site's own tables, not in posts.

= License =

TEG-LEGAL is licensed like The Eldest Geek's Doctor tools. A 30-day Pro trial is baked in and starts the first time the plugin runs on the site; there is nothing to sign up for. A purchased code from theeldestgeek.com (annual or lifetime, Standard or Pro, single site or an agency pack) is entered under Settings > License. It is bound to the name and e-mail on the order and verified offline against a public key; a paid code is re-checked with the license server once a day and keeps working when the server cannot be reached. Pro adds the read-only REST API.

Without a valid license - once the trial has ended, or if a license has been revoked - adding and changing records pauses. Nothing is lost: everything already recorded stays readable and can be exported, customers can still book and use their portal, and entering a license carries on exactly where you left off. The license also decides which updates can be installed. A lifetime license installs any version. A current license installs any version. An expired one keeps installing every version released before it expired, forever, and nothing released after.

== Installation ==

1. Plugins > Add New > Upload Plugin, choose the zip, and activate. The tables, the firm roles and a trust account are created, and the trial is already running.
2. Firm > Settings: The firm, then Time (check the increment; it goes on every invoice), then Trust, then Access. Look hard at who may take money out of trust.
3. Add people and their rates.
4. Put `[teg-legal]` on a page for the public page, and `[teg-legal-account]` on a page with the slug `client-portal` for the client portal.
   The full list of shortcodes is in Help Center > Shortcodes.

Later versions arrive through Dashboard > Updates. The download is checked against its published SHA-256 before it is installed, and an update replaces the files in place without touching your data.

== Frequently Asked Questions ==

= Can clients pay an invoice by card? =

Yes. Under Settings > Billing tick Credit card (and PayPal if you want it) under the methods you accept, then fill in your own Square, Stripe or PayPal keys under "Taking payments online", add the webhook URL shown there in that processor's dashboard, switch the gateway on and press Test. Every issued invoice that still owes money then shows "Pay this invoice online" in the client portal, a "Pay online" link in the invoice e-mail and on the printed invoice. The card details never reach your site.

= Where does the money go - operating or trust? =

To whatever bank account your Square, Stripe or PayPal account pays out to - link it to your OPERATING account. A card payment pays an invoice for work done, so TEG-LEGAL records it as an operating payment on that invoice. It never writes a trust deposit and never touches a client's trust ledger.

= Can clients pay a retainer into trust by card? =

Not through these buttons, on purpose. The processor takes its fee out of each payment, and most bar rules do not allow fees to come out of client money; the deposit would also land in the operating account. If your firm takes trust deposits by card, it needs a separate merchant account tied to the trust account, with fees charged to operating - record those deposits on the Trust screen when they reach the trust account.

= How do I refund a card payment? =

On the invoice, each payment has a refund box. A card or PayPal payment is refunded through the processor; a check or cash payment is written back by hand. A refund can never be more than the payment took. Money applied from trust is not refunded here - that is a trust ledger entry on the Trust screen.

= Is there a Square Terminal option? =

Yes: pair the terminal under Settings > Billing, then "Send to Square Terminal" appears on each invoice that owes money.

= Can staff take a payment on the phone? =

Yes, in TEG Companion, on an issued invoice: a card by Square payment link, Square Terminal or the Square app (switch "Card on the phone" on under Settings > Billing > Take payment in TEG Companion), and checks, cash, wires, Zelle, Venmo or PayPal recorded by hand. Zelle, Venmo and PayPal wait on the invoice until the office presses "Confirm received". It is operating money on the invoice - the phone never takes a retainer or money into trust.

= Where do I keep the bar admissions, CLE records and the malpractice certificate? =

On TEG-LEGAL > Setup > Licenses & permits. Click "Add a license or permit", choose the type (bar admission, CLE compliance, malpractice insurance, IOLTA trust account, business license or Other), the holder (the firm, or a lawyer on your staff), the number, who issued it and the dates, and attach the scan. Renewing keeps the old one as history. The screen's Help tab (top right) explains each part.

= Will it remind me before a bar membership, the CLE deadline or the insurance runs out? =

Yes. It e-mails 60, 30 and 7 days before anything expires and once more when it is overdue, and the dashboard shows a box until it is dealt with. Choose who gets the e-mails under Licenses & permits > Settings. The "Binder" button makes the whole register printable (or a ZIP of the scans) for an auditor, the bar or your insurer.

= How do I change the language? =

Open Settings > Language. "Shop language" is the firm's language - the one your clients see: the invoice (printed and e-mailed), receipts, the client portal, the sign-in e-mails, the pay page and the public page. Choose "Same as WordPress" to follow your site's language. Under "Languages on this site" you can see which languages are ready; press "Check for language updates" to look for new ones (they download in the background, and nothing is sent about you or your clients). A language that is not ready yet shows English until it arrives.

= Do language packs need Pro? =

Language packs need the Pro edition. Languages already on the site keep working.

= Can a lawyer or paralegal use a different language from the clients? =

Yes. Each person can choose "My language in the shop" on their own profile screen (Users > Profile). It changes only what that person sees on their own screens - the trust ledgers, conflict checks, reports and the rest of the back office. Clients still get the firm's language, whoever sent the invoice.

= Can the phone apps run in Spanish? =

Yes, with the Pro edition and the Spanish pack, once you have the app update that adds languages: TEG Companion and TEG Rover then follow the language the phone is set to (or the one picked in the app). An invoice opened on the phone is always shown in the firm's language, exactly as the client gets it, and anything the phone saves or sends is in the firm's language too. Without Pro the apps stay in English.

= Does it translate what we typed, or the settlement statement? =

No. Time narratives, matter names, notes, document titles and anything else a person typed stay exactly as they were written. The printable settlement statement (the one the client signs) is not switched to the firm's language: it prints as it always has, in the language of the person who prints it, so check that language before you print one for signing. Only the words that come with the plugin change.

= Why is a page still in English? =

Only words that have been translated change. Until a language is complete, the rest stays in English. A language that covers less than half of the plugin is not switched on by itself because the site is in that language; choose it under Settings > Language if you want it anyway. Your own translation files (for example from Loco Translate) are used too and win over the downloaded ones.

== Changelog ==

= 1.21.0 =
* New: a **Send with Rover** button on an open matter, under the matter's name. One button each for process serving, a client signing visit and a court filing run. It makes a draft call for the matter with the client's name and phone filled in (and the client's address for a signing visit); you check it and send it on. Process serving and signing visits are visits, a court filing run is a delivery.
* Nothing about the matter itself goes into the call or to the phone, only the client's name, phone and the kind of visit. A matter has one open call of each kind at a time; pressing the button again opens that call.
* New: three reasons for a visit that could not be done, beside the standard ones: the person to be served could not be found, the papers were not ready to be signed, the clerk's office was closed.
* The menu entry "TEG Rover" is now called "Visits & deliveries" (the phone app is still called TEG Rover). TEG Rover stays on or off as it was: it is off until the firm turns it on under Device pairing.
* Drivers and staff need the current TEG Rover app.

= 1.20.0 =
* Help: a new Shortcodes section in the manual and a FAQ answer list the three shortcodes you can paste into a page: [teg-legal], [teg-legal-contact] and [teg-legal-account].
* Shortcodes renamed to teg-legal-*, no old names kept: [teg_legal_enquiry] is now [teg-legal-contact], [teg_legal_portal] is now [teg-legal-account], [teg_legal] is now [teg-legal]. Pages made by the one-click setup use the new names. Existing pages with an old tag stop working after this update (the page shows the tag as plain text): edit each page and put in the new name - the client portal page above all.
* Restore is all or nothing: if the database refuses any row, the restore stops, every table is put back as it was and the screen says "NOTHING was changed". Before, the refused rows were silently missing and the screen still reported success.
* Restore keeps this site's own value of these settings, whatever the backup holds: drop_tables_on_delete (Delete all data if this plugin is deleted), notify_email (Tell the firm at), mail_from (Send from), square_enabled, square_app_id, square_location_id, square_sandbox, square_terminal_device_id, square_terminal_devices, paypal_enabled, paypal_sandbox, paypal_webhook_id, stripe_enabled, stripe_pk, cof_enabled, cof_gateway. Payment secrets were already kept. Every other setting still comes back from the backup.
* Restore and payments: the payment webhook events are now in every backup and go back with the payments, so a payment notice the processor re-sends after a restore records a payment made after the backup date once (before, it was taken for a duplicate and the payment stayed missing); a payment the backup holds is never recorded twice. Restoring an older backup without the events clears them. The restore screen shows a money warning (payments, invoices and trust entries go back to the backup date) and asks again before it restores.
* Restore and the sample firm: the backup carries the sample's record list; a restore puts it back or clears it and clears the one-click setup's sample record, so Remove sample data and setup Finish never delete restored real clients or trust entries.
* Uninstall: with Delete all data, the sample firm's record list (tlg_sampleadd_ids, tlg_sampleadd_ids_inv) is deleted too.
* Uninstall help: deleting the plugin always removes the scheduled-backup settings, phone keys, sign-in links and language packs, whatever the delete-data switch says.
* Help Center: a new Help & Tutorials page (under Tools) with the full manual - every screen and every settings tab - and a searchable FAQ, with a round "? Help" button on every TEG-LEGAL screen that opens the help for that screen. Print / save as PDF from the page.
* Get support: a "Get support" button at the top of every screen (and in the WordPress bar) opens two choices, Report a problem or Request a feature. The short form sends the screen you came from, the firm name and the WordPress and PHP versions with your message, files a ticket with The Eldest Geek support and e-mails a copy; the answer comes to the e-mail address you give. Never a client's details or any record - an administrator can add row counts only. Ask a question or whether it already does something from the same screen. At most 5 messages per person and 20 per site an hour. The page is under Tools > Support & feature requests.
* In a live demo a red "Questions? Get help" strip sits at the top of every screen; it opens our contact form on the demo site (a demo shop cannot send e-mail itself).
* Scheduled off-site backups (Settings > Backup): a backup every night at the time you set (default 02:30), kept in the private backup folder like any other and restorable the same way, and copied off-site if you choose - SFTP, FTP / FTPS, Amazon S3 / Wasabi / S3-compatible, or Dropbox. Keeps the last 14 plus one a week for 8 weeks, here and off-site; backups taken by hand and the safety copy before a restore are never pruned. Passwords and keys are stored encrypted and never shown again; payment secrets are never in a backup. Test connection, Run backup now, a status table, and a notice to administrators when the last scheduled backup failed or the last good one is more than 48 hours old. Off by default.
* One-click setup: the first time the plugin is activated, a setup page opens once by itself - the firm's name, e-mail and telephone, the Our firm and Client portal pages (and a "Law firm pages" menu), the staff roles, and an optional invented sample firm that Finish removes again. On a firm already using the plugin, administrators see a one-line notice "Start the setup / No thanks" until they start it or press No thanks; Settings > Backup has "Run setup again". The sample is refused on a firm with real records.
* What's new: when you have skipped updates, the What's new button on the Dashboard lists every release since the one you last opened, each under its version.

= 1.19.1 =
* "What's new" no longer opens by itself after an update. The dashboard has a button "What's new in <version>"; press it to read the notes.

= 1.19.0 =
* The TEG Companion and TEG Rover phone apps can show their screens in another language when your firm has the Pro edition and a language pack. This needs the next update of the apps; until then nothing changes.
* An invoice opened on the phone always shows exactly what your client gets, in the firm's language.
* Menu refresh.
* Help: the readme's Language entry explains the phone apps, and a new question "Can the phone apps run in Spanish?".

= 1.18.0 =
* New: a Language screen under Settings > Language.
* Each person in the firm can choose their own language on their profile (Users > Profile, "My language in the shop"). It changes only what they see on their own screens.
* The firm has a language of its own for everything clients get - the invoice (printed and e-mailed), receipts, the client portal, the sign-in e-mails, the pay page and the public page with the inquiry form. What a client receives no longer depends on who clicked the button.
* The trust (IOLTA / client money) wording and the privacy notice on the invoice print in the firm's language too.
* The printable settlement statement (the one the client signs) follows the person printing it, as before - check your own language before you print one for signing.
* Names the plugin saves for you - the firm roles, the first trust account's name, the tax label, the limitation deadline it adds and the lines of a conflict check - are worded in the firm's language.
* Language packs (Spanish first) arrive later and need the Pro edition. With no pack installed everything stays in English, exactly as before. Anything somebody typed (time narratives, matter names, notes) is never translated.
* Help: the readme has a Language entry and new questions about languages.

= 1.17.3 =
* New: Licenses & permits (TEG-LEGAL > Setup > Licenses & permits) - keep your licences, permits and insurance in one place, with reminders before they expire and a printable binder for an auditor or the bar: each attorney's bar admission (active membership and dues) and CLE compliance, professional (malpractice) liability insurance, the IOLTA trust account record (the bank and the last four digits only), the business license, or anything else - with the number, who issued it, the dates and the scanned certificate. Renewing keeps the old one as history; each shows Current, Expiring (60 days), Expired or Missing.
* Reminder e-mails 60, 30 and 7 days before anything expires and when it is overdue; a dashboard box and a warning while anything required is missing or expired; a one-click binder (print, PDF or a ZIP of the scans) and a 7-day view link.
* Scans are kept in a private folder (never the media library) with their hidden metadata removed, every view is logged, and the register and its scans are in every backup. Deleting the plugin keeps the register unless you choose otherwise. The presets are examples (Virginia first), not legal advice.
* Help: the Licenses & permits screen has its own Help tab (top right of the screen).

= 1.17.2 =
* TEG Companion reports can show older months too (this month, last month and up to 10 more; set how many in Companion).

= 1.17.1 =
* Payments: the currency symbol always matches the currency (a US shop never shows £).
* TEG Companion's payments list shows the date your region's way.

= 1.17.0 =
* Dates now follow your region: US shops see 03/14/2026 and 2:30 pm, UK shops 14/03/2026 and 14:30, EU shops their country's own way - on every screen, print, e-mail and in TEG Companion and TEG Rover. WordPress's own date setting no longer leaks in. Leave the date format blank to follow the region, or type your own; documents already issued keep the dates they were issued with.
* TEG Companion now learns the shop's date format when it connects, so the phone writes and reads dates the same way the shop does.

= 1.16.2 =
* Fixed: on the TEG SHOPS demo, TEG Companion showed no matters and no invoices although the demo firm has thirty. The phone's list of what a person may do now includes seeing every matter in the firm (not only their own team's), so the demo's phone gets it. In your own firm nothing changes: who sees which matters on the phone is still decided by each person's role and team, exactly as on the website.

= 1.16.1 =
* Square Terminal: a payment cancelled from TEG Companion is only shown as cancelled once Square confirms it; unconfirmed cancels are retried automatically and a forgotten checkout is cancelled after 15 minutes.
* TEG Rover and TEG Companion: an update a phone sends late, after being out of signal, is recorded once with the time it really happened, and the job's timeline says "Recorded offline" when it waited.
* Device pairing works when only TEG Companion is switched on (before, it could refuse with "This shop does not hand out that kind of phone key").
* Online card payments: Square payment notices are no longer missed when the address in your Square dashboard was typed with or without www, and a PayPal payment is checked against the right bill before it is taken.

= 1.16.0 =
* TEG Back Office lists the firm's people for payroll: every active person on the People screen who has a WordPress login, under the name the firm uses there, plus anyone else who can open the back office (an office manager) - never someone marked inactive.
* A wire ("Bank transfer") in the US is now recorded through the shared payments module's "recorded by hand" list (payments 1.2.0), on the office's record form, the Trust screen's method list and TEG Companion alike. It is still never offered to a client or paid online, and it is still operating money: nothing about trust changes.
* Shared pieces brought up to date: payments 1.2.0, TEG Companion core 2.13.0 (report card dates follow the firm's date format), TEG Rover core 1.8.0 (device pairing masks IP addresses), the licence check (TEG-MARKETER's new name, the Back Office bank feed add-on) and Get my licence.

= 1.15.1 =
* Take payment in TEG Companion (the shared apppay piece): on an issued invoice, a card by Square payment link, Square Terminal or the Square app - recorded only once Square confirms it - and checks, cash and wires recorded at once; Zelle, Venmo and PayPal wait for the office to confirm them (Confirm received / Not received on the invoice, or in the app for a partner or office manager).
* Operating money only, never trust: a matter or a client still takes no payment on the phone, the method "From trust" is refused, and the ethical wall applies to every invoice the phone sees.
* A wire ("Bank transfer") stays recordable on the phone in the US, through the firm's own record path.
* Billing: TEG Companion card payments that ended on no invoice are listed for the office; the invoice shows payments still under way.

= 1.15.0 =
* Clients pay invoices online: by card through your own Square or Stripe account, or PayPal, from the client portal, the invoice e-mail and the printed invoice - and at the desk on a Square Terminal (the shared payments module).
* Online payments are recorded once (signed webhooks, replays ignored) as operating money on the invoice - never as a trust deposit; no card retainers into trust, by design.
* Refunds through the processor or by hand, never above what was paid; a payment applied from trust is never refunded here.
* Settings > Billing gains "Taking payments online" (secrets never shown again, never in a backup), pay-by-QR codes for Zelle / Venmo / Cash App, and card terminals recorded by hand (Clover, Elavon).
* Bank transfer stays recordable everywhere (wires); every invoice gets a pay-online key and every payment its currency on upgrade (DB 1.7.0) - no payment history is rewritten.


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

= 1.14.7 =
* Back Office shows as Back Office in Setup; the pairing page is called Device pairing everywhere.

= 1.14.6 =
* The admin menu is grouped the same way as the other TEG shops: the phone pairing page is now "Device pairing" and Settings is the last row of Setup.

= 1.14.5 =
* The licence check and the updater now share one tested core: a slow licence server can no longer slow the shop down.

= 1.14.4 =
* Money in another currency is always written with its own symbol.
* Product names in the licence screen use the new spelling (TEG-DELI, TEG-FOODTRUCK, TEG-BUTCHER, TEG-BAKERY).

= 1.14.3 =
* Money in another currency is written with its own symbol on the TEG Rover cards.

= 1.14.2 =
* 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.14.1 =
* TEG Rover collects on an invoice in the currency it was issued in, and its cards count one currency at a time.
* Money from an old currency listed apart under a total is now written that currency's own way (for example $100.00, not 100,00 $).

= 1.14.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 > Region: pick the United States (the default), the United Kingdom or the European Union and its country. Only the settings still at the old region's defaults move; anything you typed yourself stays. "Apply the region's defaults" overwrites them, and asks first. A checklist shows what the region asks of a law firm: a client trust account (IOLTA) and monthly three-way reconciliation in the US, a client account under the SRA Accounts Rules in the UK, client money under your bar's rules in the EU.
* Every invoice, trust ledger entry, settlement statement and payment keeps the money, dates, tax and wording it was issued with. A trust ledger is never worked out again by a region switch: its amounts and running balances stay exactly as they were. Invoices from before this version print as they always did.
* The printed invoice and settlement statement now say how client money is held, in the region's words (client trust account / IOLTA in the US, client account under the SRA Accounts Rules in the UK). An EU business client with a VAT ID from another member state is invoiced under the reverse charge, without VAT, and the invoice says why.
* Ways to pay follow the region: Zelle and Venmo in the US only, PayPal everywhere, ACH and Cash App / Apple Pay / Google Pay in the US, bank transfer in the UK, SEPA in the EU. A payment already recorded with a method the region no longer offers still shows as what it was.
* The client and firm address fields say ZIP code / State in the US, Postcode / County in the UK and Postal code / Region in the EU. The client form now has the Country field it was saving.
* The invoice and trust CSV exports have a currency column, and every cell is guarded so a spreadsheet never runs a formula from it.
* 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.

= 1.13.0 =
* Every client now has one Client notes box, on the client's own screen: the general notes first (the client's Notes and their contacts' notes), then the file notes from their matters, with who wrote each one and which came from an attorney or a member of staff. Each matter note says which matter it came from, with a link to that matter's Notes. You can also add a note about the client right there.
* Privacy: notes stay on the desktop. Privileged notes are marked "private: never on the phone", and the TEG Companion phone app still shows no notes at all. A matter's notes only appear in the box for people who may see that matter (the matter's team, or firm-wide access) and who may see matter notes.
* A new matter note now starts with "Privileged" ticked, as file notes are privileged unless you say otherwise. Before, the box started unticked.
* The Add contact form now has a Note field. The note shows in the client's notes box.
* A matter's own Notes tab now follows the same rule as the Client notes box: the notes are listed only to people allowed to "See and write matter notes". Someone who can open the matter without that permission (a bookkeeper, for example) now sees a short line saying matter notes need that permission, instead of the notes.

= 1.12.1 =
* Report cards on the phone now open the matching desktop report: amount billed, average bill, tax and this year against last year open Reports > Billed; money collected by how it was paid opens "Collected, by how it was paid"; write-offs open Written off; billed per hour and billable hours open By person; follow-ups open the Overdue list on Billing.
* Card names now fit a law firm: "Engagement letter to signing" (was "Quote to approval"), "Engagement letters unsigned over 7 days", "Billable hours by person" (was "Technician utilization"), "Billed per hour recorded" (was "Sales per staff hour"), "Write-offs" (was "Discounts given"), "Refunds" (was "Refunds and voids"), "Repeat clients", "Clients to call" and "Unpaid bills falling due".
* Clearer date ranges on the cards, such as "October 1" instead of "October 1-1" and "Jan 5-10, 2031" instead of "Jan 5, 2031 to Jan 10, 2031".

= 1.12.0 =
* New: report cards on the TEG Companion phone app. Each person picks the cards they want to see, and the cards are laid out in sections - everyday, money, clients, staff and so on. Only administrators see them.
* New: a Report cards page on the desktop, next to Reports. Compare any period with the one before, the same time last year or dates you choose; set goals and see how close you are; download the figures as a CSV file or print them.
* New: the cards for a firm include amount billed, average bill, tax, this year against last year, when your time is recorded, returning clients, how fast engagement letters get signed, overdue bills and unsigned letters to chase, money collected by how it was paid (money from trust shown on its own line), today so far, money due in the next 30 days, write-offs, refunds, hours recorded and billable hours per person.
* New: a "Where new clients came from" card. It only shows counts in fixed groups (Website, Referral, Past client, Advertising, Directory, Walk-in, Other, Not recorded) - whatever was typed in "Referred by" never leaves the office, and no client names are shown. Nothing about the trust ledger goes to the phone.
* New: a "Lost clients" card lists regular clients who have not been back for a while. Choose how long counts as "a while" under Settings > Billing ("Lost clients after N days", 90 days unless you change it).
* New: an optional monthly summary e-mail of your report cards. It stays off until you set it up and save it.
* Reports: a new Billed table (amount billed before tax) and a "Collected, by how it was paid" table.
* Turning the plugin off now also stops its scheduled e-mails.

= 1.11.0 =
* New: TEG Rover is now included, for field visits on a staff member's phone - process serving, client signing visits and court filing runs on a matter. It is switched OFF until you turn on "Rover (drivers / field staff)" on the Phones page; while it is off nothing changes. The phone only ever gets the client's name, the address, the time and the task type - never the matter, its notes, documents or any case detail - and your ethical walls apply on the phone too.
* New: errands. Send someone out to pick something up (court filing supplies, the post office, the bank) with a shopping list; they tick items off on the phone, note what they spent and add the receipt photo, and the office confirms it.
* New: Import from CSV. Bring your clients and matters over from a spreadsheet or your old system. Match your columns to ours, do a test run first that changes nothing and shows what would happen, then import for real. Every import can be undone in one click.
* New: sample data you can add and remove. Under Settings > Backup you can load a full sample firm to try things out, and take it all away again with one click - your own records are never touched.
* TEG Companion phones and TEG Rover phones are paired on the same Phones page; phones you paired before keep working.
* Import from CSV pauses with the rest of the office while the licence is not active; downloading your data stays available.
* Faster, steadier licence checks.

= 1.10.0 =
* New: E-mail test mode (Settings > E-mail test mode). Turn it on before going live and every e-mail the site sends - invoices, 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. Administrators can switch it from the TEG Companion app too (Settings > E-mail test mode), and a red notice shows on every admin page while it is on. Text messages are not e-mail and still go out.
* TEG Companion: shared Companion core 2.4.0.

= 1.9.0 =
* Invoice numbers are locked unique (checked on activation and every upgrade; repeated numbers are kept, listed for the administrator and the lock waits until they are sorted out).
* Trust ledger: every entry for a client is recorded under a per-client lock, so two transfers at once can no longer overdraw the trust balance.
* Backups: Back up now and the Download links are shown to administrators only.
* Updates: an update whose manifest publishes no SHA-256 checksum is never offered or installed. DB 1.4.0.

= 1.8.0 =
* TEG Companion: the store chooses what the phone's home screen shows (owner 2026-10-28: too cluttered). Phones (TEG Companion) has a new section, **Companion home screen defaults**: one checkbox per button, card, list and bottom-bar tab the app's home has at this shop (Buttons / Cards / Lists / Bottom bar) and "Reset to starter set". Ticked = shown by default; each person can still change it on their own phone. app/hello's module rows carry `home` {v: 1, items: [{id, label, group, on}]} - only what that person can see. Never saved = the starter set: every button the app has here on (four or fewer: New <job>, New <customer> and the shop's own extras), every list and tab on. Shared Companion core 2.1.0 (generated; tools/test-companion-home.php).

= 1.7.2 =
* 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.7.1 =
* Get my license: Settings > License - enter the order number and e-mail to install your license; Check license; Release this website.

= 1.7.0 =
* Companion phone app: pair TEG Companion from Setup > Phones (QR or code) to work the practice from your phone - matters by reference, clients, contact and billing, invoice payments (operating money only, never trust) and new prospect matters through the same conflict check. Built to the minimal-detail privacy profile: a matter's name, description, court and case details, notes, documents, invoice narratives and trust detail never reach the phone, and the ethical wall applies to every reply.

= 1.6.0 =
* Clients sign in to the portal with a one-time link instead of a private link that never expires: they type the e-mail address the firm holds for them, and a link that works once, for 15 minutes, signs them in. There is no password. The page gives the same answer whether or not the address is a client's, so it cannot be used to find out who the firm acts for.
* Where two clients share an address, each gets a separate link that opens only their own file - one client never sees that the other exists.
* "Sign out" and "Sign out on every device" in the portal; a sign-in lasts 12 hours (both times are settings).
* New screen: TEG-LEGAL > Portal sign-in. Old private links keep working for now (on for existing firms); switch them off there with one click - an old link then shows the sign-in form. Also: sign everybody out, and the recent sign-in activity from the audit trail. E-mail addresses are never written to the log.

= 1.5.0 =
* Admin menu grouped by job with bold headings.

= 1.4.2 =
* 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.

= 1.4.1 =
* The admin menu now reads TEG-LEGAL, like the other TEG shops.

= 1.4.0 =
* "What's new": The dashboard has a button "What's new in <version>". Press it to read the notes for that release. The button stands out until you have opened the notes.

= 1.3.2 =
* Licensing: an offline install can define TLG_NO_LICENSE_NETWORK to skip the license server check entirely - the license panel now says so and shows the actual connection error when the server cannot be reached, instead of a generic message. Entering a code now validates and binds right away, and says how it went. A license awaiting its first check-in is now labeled AWAITING VALIDATION rather than REVOKED.

= 1.3.1 =
* American English throughout: every screen, e-mail, printout and help text now uses American spelling (labor, color, license, canceled, catalog, authorize and the rest). Nothing you have saved changes - settings, records and translations carry over as they are.

= 1.3.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 tab says so and "Re-check now" 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: the business/report CSV export, taking a new backup, and the website inquiry form. Reading, printing (invoices and settlements) and downloading your own data (including existing backups) are always allowed.
* The License tab shows this site's bound address and whether it is validated, and warns when a code is in use on more sites than it was sold for.

= 1.2.0 =
* Payment methods you accept: Settings > Billing lists Zelle, PayPal, Venmo, credit card, check and cash, each with a details line shown to the client. Card, check and cash stay ticked on an upgrade, so nothing a client sees changes until you opt in. Saving with nothing ticked keeps the previous list and says so.
* Ways to pay on every invoice: a new invoice offers everything you accept; untick a method on the invoice for one client. The invoice, the invoice e-mail and the portal show the ways to pay with your details while something is owed. A method you stop accepting stays on invoices already issued.
* Recording a payment keeps who recorded it, when, and a note for the firm; the client sees "Payments received" (date, method, amount) but never the note. "E-mail the client a receipt" is unticked unless you tick it. Bank transfer and payments from trust are recorded but never offered to a client, and trust money still only moves through the ledger.
* Restoring a backup works again. Every backup's header was misread (the settings saved inside it confused the reader), so every restore was refused as "never finished"; the backups themselves were complete and restore normally now.

= 1.1.1 =
* Fixed: fetching a trial, and the daily check that a paid license has not been revoked, stopped with an error. With a paid license this could also stop adding and changing records. Nothing was lost; this release makes both work.

= 1.1.0 =
* The license now counts: once the 30-day trial has ended without a license, or if a license is revoked, adding and changing records pauses. Everything already recorded stays readable and can be exported, customers can still book and use their portal, and entering a license carries on where you left off. A banner on every screen says so before anybody fills in a form.
* The 30-day trial now ships inside the plugin, so it starts the first time the plugin runs with nothing to sign up for.

= 1.0.2 =
* 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.
* CSV imports and exports no longer write a deprecation warning to the debug log on PHP 8.4.

= 1.0.1 =
* Translations now load at the point WordPress 6.7 expects, which removes the "translation loading was triggered too early" notice that filled the debug log on every request.
* Updates now follow the license: a license buys every version published while it was valid. Lifetime installs anything, a current license installs anything, and an expired one keeps every version released before its expiry date. The plugin keeps working either way.

= 1.0.0 =
* First release: clients and matters, conflicts, time and costs, rates, billing, per-client trust ledgers that cannot be overdrawn, three-way reconciliation, contingency settlements, deadlines, the client portal and reports.
* Self-hosted updates through Dashboard > Updates with checksum verification, and backup and restore under Settings > Backup.
