Back to the AllSorted website

Changelog

What we shipped, when. Newest first.

Requirement dates, safer joining, family pricing, a steadier register and member requests

02-10-2026

Member requirements

  • A new member no longer gets an "expired" requirement the day after they join. Each requirement now has a "When someone joins" choice in Settings → Member requirements:
  • "Leave blank until we record it": the member shows "Not recorded yet". AllSorted sends no bill and no reminder, and never blocks them, until staff save a date. New requirements, and requirements that renew a year at a time, start with this choice.
  • "Due when they join": due on the day they join. This is only for people who join from the day you choose it. Anyone who is already a member shows "Not recorded yet" until you save a date. A requirement renewed on one club renewal day (for example every 1 September) keeps this choice for everyone, as it works today, and Settings says so.
  • "Covered for a year from when they join": their first expiry is one year after they joined. This needs an expiry date, so a requirement without dates only offers the first two choices.
  • Members who already have a date keep it.
  • A requirement without an expiry date no longer sends a new bill and a new reminder every night to a member who was never renewed. It stays due from the day it was first billed until they are renewed.
  • The register and the member's page show a quiet "Not recorded yet" for a missing date. It never blocks anyone. Everyone taking a register still sees who is blocked; the list of dates not recorded yet is shown only to staff who can see member requirements.
  • Staff can clear a wrong date back to "Not recorded yet" from the member's requirement card. It is saved in the audit log. It can't be cleared while a payment for that date is waiting, while a payment link is open, or for 7 days after a family started paying online (a payment can still finish after its link has run out). The message says what is happening and from which day the date can be cleared, or you can save the right date in Edit details straight away. After 7 days an unfinished payment no longer blocks it. If such a payment does finish later, the member's card shows "A payment for … is waiting": save that date again in Edit details, then press Process renewal. A date that came from a payment can't be cleared at all. The dialog says what happens next, for example that it will be due again on the next renewal day.
  • In "Edit details", leaving the expiry date blank clears it the same way, with the same checks. A date more than 5 years away asks "Are you sure?" first.
  • The Action Centre shows one item for each requirement with dates still to record, for example "4 members have no Taekwondo insurance recorded yet", with a button to the list of those members. It closes by itself when none are left.
  • Families can't start paying online for a requirement whose date isn't recorded yet, unless "Due when they join" applies to them. The portal says the club manages it. A payment they had already started can still be finished.
  • Settings no longer shows "Valid for (days)". Renewals use the one-year rule, and the saved number is left alone.

Insurance shown as "Not recorded yet"

  • A member with no insurance date shows a grey "Not recorded yet", never a red "No Insurance": on the Members list, in Communications, on the register, on the Grading page, and on the event and grading day pages.
  • An insurance date that ended yesterday now always shows "Expired" (in summer time it could show "Expiring soon" for a day).
  • An "Expired" insurance filter never includes a member with no date. That includes scheduled messages, which use the same filter. There is a new "Not recorded" choice in the insurance filters.
  • The older insurance reminders never call a missing insurance date "expired". A reminder already waiting for someone with no date is held back.

Renewing a requirement

  • When staff mark a requirement renewed (or process a renewal a family paid for online), they now choose the new date: "1 year from the current expiry date" (only while that date hasn't passed), "1 year from today", or "Pick a date" (after today and no more than 5 years ahead). The box shows the exact date before you confirm, for example "Valid until 1 September 2027".
  • A requirement renewed on one club renewal day offers "The next renewal day" instead of "1 year from today", and picks it for you once the date has passed.
  • A picked date earlier than the member's current cover is allowed, but the box says "This is earlier than their current cover" and asks you to tick before you confirm.
  • Renewing early no longer loses time. Before, a rolling renewal restarted from today, and a fixed-date renewal before its renewal day kept the same expiry.
  • Renewing uses the club's own day, so just after midnight it is already the new day. If something changes while the box is open, it reloads and shows the new choices. The nightly requirements run uses the club's day too.

Joining with no classes to pick

  • When every class in a programme has ended and the next ones aren't on the timetable yet, the joining form now says "Classes for Little Tigers aren't ready yet. You can still finish joining, and the club will tell you which class to come to." Families can still finish joining; the club adds their class later. The message has draft translations in every portal language.
  • Before an enrolment link goes out, staff now see a clear warning when the family won't find a class to pick: "There are no classes new members can join in Little Tigers right now (the last one ended on 26 September). The family can still finish joining, and you'll need to add their class later." It shows in the Send enrolment form and household link dialogs, and as a check before sending or resending from Trials & Enrolments, the invites list and the register. Staff can always carry on, and a slow check never holds them up: after 3 seconds the link goes out without the warning (a resent link's email never waits for it). If a link is for a programme the joining form can't offer at all, the warning says so.
  • Archiving a class, or saving an end date or settings that stop new members joining it, now warns first when it leaves the programme with no class to join: "After this change, new members can't join any class in Little Tigers. 3 enrolment links that can choose Little Tigers are still open. Families can still finish joining, and you'll need to add their class later." A future end date says "From 19 December, …". Staff can carry on, and after 3 seconds the change goes ahead without the warning.
  • The Action Centre now shows "Little Tigers has no classes new members can join" for a programme that is in use (it has members, or an open enrolment link made for it) when none of its classes can be joined. The button opens the timetable, and the item closes itself once a class can be joined again. Tidying the timetable (archiving the class that ended) keeps it the same item; the next gap, next term, is a new one. A programme with no members and no links of its own stays quiet.
  • Proof that joining never fails without a class: route tests for preparing and finishing with no class, and a database rehearsal (npm run db:rehearse-enrollment-safety, a run-owned copy of the test database) that prepares and finishes a pay-later and a paid enrolment with no class while the programme's only class has ended. The member simply has no class until the club adds one.
  • The joining form, its class list, the website join page, staff Add member and the staff warnings all use one rule for which classes a new member can join (not archived, a regular class, not ended, open to beginners). The website join page no longer offers bookable sessions as classes to join. Staff Add member no longer offers classes that have ended, and shows when a class starts or ends.

When a family can't start paying

  • If a family can't start paying to join (for example the club's card payments are switched off, Stripe is unreachable, the link has run out or the price changed), AllSorted now records the reason on that enrolment and tells the family in plain words, with a Try again button. Staff taking payment at the desk see what to fix. Recording the reason never changes the enrolment or any money.
  • Staff then see an Action Centre item, with no money in it: "A family couldn't pay to join Little Tigers on 29 September 2026: Stripe isn't letting your club take card payments right now". The button opens payment settings or the enrolment, and the item closes itself once the family starts paying. When the problem is with the club's own payments (not set up, card payments switched off, or Stripe unreachable or refusing), it is one item however many families it stops: "3 families couldn't pay to join Little Tigers, the latest on 30 September 2026: …".
  • Opening the joining page again while a bank payment is still going through (or after it went through) is normal: the family now sees "Your payment is still going through" and is asked not to pay again, and nothing is recorded for staff.

A safety net for joining payments

  • Every 15 minutes AllSorted now checks enrolment payments that started more than 15 minutes ago (up to 10 days) and haven't finished. It only reads from Stripe. A payment that went through finishes the enrolment exactly as Stripe's own message would have, so a family is never added twice or charged twice. Bank payments still being processed, and payments waiting at 3-D Secure or the bank, are left alone and looked at again. A payment that failed or was never made before the link ran out is recorded as not paid. It looks at the payments it checked longest ago first, so payments that stay unfinished for days (a slow bank payment, a link the family hasn't used yet) can't stop it reaching the others.
  • When a family has paid but their enrolment can't finish (for example a class they chose is full, or their link ran out before it finished), staff who can see payments get an Action Centre item: "A family paid £69.00 to join Little Tigers on 29 September 2026, but their enrolment didn't finish", with the reason and a link to the enrolment. Stripe keeps retrying for up to 3 days and the family can try again, so it may still finish by itself; the item then closes itself. Before refunding the family or adding them by hand, staff cancel their enrolment link (a new "Cancel their link" button on the enrolments page, which asks first; it waits while a payment for the link may still be going through), so a later retry can't add them as well: once a link is cancelled, a late payment message only puts the enrolment up for a refund review (proved on a copy of the database by npm run db:rehearse-enrollment-safety, which also shows that without the cancel the retry would enrol them). A short hiccup (for example two finishing steps running at the same moment) only becomes an item if it is still stuck 15 minutes later.
  • A payment that was refunded or disputed before the enrolment finished is never used to join: Stripe's message (and its retries) and the safety net check the payment first, and the family's page refuses it once it has been found (and checks again for an enrolment waiting for review). Staff get their own item for it: "A family's £69.00 payment to join Little Tigers on 29 September 2026 was refunded or disputed before their enrolment finished", which stays open until someone has checked it. The family is asked to contact the club. A refund that failed or was cancelled (the money stayed with the club) doesn't count, and a payment Stripe's message describes without its charge is looked up again before anyone is asked to check it.
  • The enrolments page has a new "Enrolments that need a look" list: families who paid but whose enrolment didn't finish, who couldn't start paying, whose payment didn't go through or who started paying and haven't finished. Each one says why in plain words and what to do next. Staff who send enrolment links or who can see payments can open it; amounts show only for staff who can see payments. The Action Centre items open the page on the right enrolment.
  • The 15-minute payment recovery job now gives its three parts 40 seconds (joining payments), 160 seconds (renewal payments) and 40 seconds (renewal baskets): 4 of its 5 minutes, so it always has time to write its log. Where Stripe isn't set up, the joining part reports "not set up" instead of failing.
  • Release note: no SQL is needed. The two new item kinds are listed in the Action Centre's check after (_verify/action-centre-bundle-p-postflight.sql). Before the deploy that ships the safety net, the owner runs the read-only census in docs/ops/stripe-webhook-configuration-2026-09-10.md ("Before the release"): counts of what the net will act on first.

Family pricing

  • A family's household page now says, in plain words, which family-discount rule the club uses, for example "Family discount: each membership on its own. Change this in Settings → Memberships → Household pricing", with a link there. It also says when a different rule is already scheduled.
  • When the club's rule is "Within each membership" and counting everyone in the family together ("Highest standard price first") would really lower this family's bill, it adds a gentle hint that says by how much: "Want the family discount to count across memberships? Choose 'Highest standard price first'. It would save this family £3.00 a month." It is worked out by the same pricing as the totals on the page (the same prices, household cap and VAT), which counts people, not memberships: one child on two memberships is the 1st person on both either way, so their family never sees the hint. It only counts the bills AllSorted collects: a membership the club collects itself (for example during the Xero handover) is left out, just as billing leaves it out, so the saving shown is exactly the change to AllSorted's bills. It never suggests a rule that would make any bill dearer. Nothing about how anything is priced has changed.

Collect-from date

  • A club that has never chosen its collect-from date gets the club's real date (today) when AllSorted first collects for it, or when it first connects Direct Debits. A billing job run by hand for an earlier date no longer saves that earlier date as the club's collect-from date, so older bills are never collected automatically before the club has chosen.
  • Late-bill checks that no longer need anything (the bill was paid, cancelled or credited) now close for clubs with more than 500 open checks too: AllSorted looks at them all, 500 at a time, within the time each run has, and carries on with the rest next time. A billing run never spends past its own time limit on them, and saving the collect-from date spends at most about 3 seconds on them, so a big club's save doesn't keep you waiting.
  • Collecting a bill by Direct Debit from a family's page now asks first exactly when AllSorted wouldn't collect it automatically. Before, it didn't read the club's collect-from date at all, so it never asked. Now it asks for a bill due before the collect-from date; while no date has been chosen yet, for a bill due before today ("Your club hasn't chosen a collect-from date yet, so AllSorted only collects bills due from today automatically"); and for a bill with no due date, whatever the setting (AllSorted never collects one automatically, so a club that collects every bill is still asked about it). A late bill still waiting for its check is refused until someone checks it on the family's household page, as before: unless a collect-from date is saved (which hides that check while the bill is before it, so the question says so), saying yes to the question never skips the check.
  • In Settings → Payments, a club that hasn't chosen a collect-from date can now choose to collect every unpaid bill straight away ("Collect every bill"). As with clearing a date, AllSorted first says how many older unpaid bills that would let it collect, and saves only when you confirm.

Text and Telegram messages

  • When the SMS gateway or Telegram sends AllSorted the same message again with a small, harmless change (for example the sender renamed their Telegram account while the message waited, or the gateway added an empty field), AllSorted now recognises it as the same message instead of refusing it for ever. A message finished before this change can't be checked against its first delivery, so a changed resend of it is still treated as the same message, and is counted for someone to check ("Didn't match 24h"). A stuck Telegram message no longer holds back the club's later ones. A genuinely different message under the same id is still never acted on: Telegram is now told it arrived, so the club's later messages aren't held back, and it is recorded for someone to check (Admin Health → Messaging, "Didn't match 24h"); the SMS gateway is still told no.

Register

  • While a day's register loads, the class list no longer shows classes that have ended, have not started yet or are archived, only for them to vanish a moment later. Classes added for just that day appear as soon as the day has loaded. The same rule applies to the "Add a regular lesson" list and to the class the register remembers from last time.
  • The register keeps working for clubs with a long history. It used to load every class the club had ever had, and stopped with an error after 500. It now loads the current timetable and recent classes, and older classes still appear on their own dates, under the right programme. If a club ever has more than 1,000 regular classes, "Add a regular lesson" says that only the first 1,000 are listed.

Syllabus covered

  • "On the mat" now shows the levels of everyone marked Present or Late, including people added to the class from another programme (it uses their level in this class's programme) and trial students (shown as the first level).
  • A skill that appears in several grades shows once, for example "Pattern 1 · White, Yellow and Orange belts". One tick covers it for the grades of the people on the mat, so nothing is recorded for a grade nobody there holds. If nobody on the mat holds any of them (for example in "Class syllabus"), the tick covers every grade listed, and the row says which ("Tick covers White, Yellow and Orange belts"). "Cover the rest" adds the other grades, and "Tick one grade" lets you tick or clear a single grade. Unticking clears all of them. If only some grades are covered, the row says so ("Covered for White Belt only").
  • Ticks show straight away and save in the background. Quick ticks are saved together in one go. Nothing locks or blanks while saving, or when someone is marked present or added. If a save fails, that row goes back to how it was and says "Couldn't save. Tap to try again". If another coach changed an item at the same moment, only that row says so ("Someone else changed this just now"), and your other ticks are saved again once the list has refreshed (unless you have changed them since). If the class is no longer on for that date, the rows say so and nothing is sent again.
  • Screen readers hear what each tick will do ("Mark covered" or "Clear"), and which grades and syllabus it is for.
  • Search also finds tag names, and tag buttons under the search box filter the list. Only your club's own tags appear.

Member requests

  • Sending a request is now one step. While you fill in the form, a summary updates by itself a moment after each change: who gets the request, who is left out and why, and the email check. There is no "Check choices" button any more. Create switches on as soon as the summary matches what is on screen, and AllSorted checks everything again when you press it.
  • The reasons are shown straight away, one line per member (for example "Already has a membership request open, or an accepted change that hasn't started yet"), instead of being folded away.
  • A membership request must now offer at least one plan, so nobody is asked only to keep the plan they have. A member who is already on the only plan you picked is left out of the membership question and the summary says why.
  • No class question is sent to a member whose accepted class change hasn't started yet (their answer would have been refused). You can replace that change instead.
  • Replace instead of skip: a member who already has an earlier request is listed with what it was and when it was sent. Tick "Replace Sam's earlier request" (or "Replace all"). This works if the family hasn't answered yet, has answered and is waiting for you, or has accepted a change that hasn't started. For an accepted change you see, for example, "Sam accepted Black Belt Club from 1 November 2026. Replacing cancels that change." A change that has already started can't be replaced. When you press Create, the old request is withdrawn and the new one is created together, so nobody ends up with neither. The family gets one email: the new request, saying who it is for and what is still open, for example "For Sam, this replaces the earlier request from 20 September 2026." A staff-only record of what was replaced is kept.
  • Replacing withdraws the earlier request, so only staff who can review member requests see Replace. Others see why.
  • If the earlier request also changes something the new one doesn't ask about (for example their classes, when the new request is about membership only), it can't be replaced. The summary says "Sam's earlier request also changes their classes. To replace it, ask about classes in this request too, or withdraw the earlier request first." Nothing is lost by accident.
  • Create stays off when a member you ticked to replace would get nothing from the new request, or when a family is answering right now (press Check again in a moment). If AllSorted refuses because something changed, the summary updates straight away.
  • Replacing a whole request from the household page follows the same rules.
  • If two published automations both send the new-request email, the email check now says so: "Families will get 2 emails because 2 automations send this."
  • The review window has Previous and Next buttons at the top, with "2 of 9", so you can move between families in the queue. Approve all is unchanged.
  • The long "Upcoming" list of scheduled class changes is now a button, "Upcoming accepted changes (12)". It opens a list of every accepted change that hasn't started yet, membership-only ones too: who, what changes and from which date. You can search by name, show more, and use Return for changes or Withdraw from there. "Needs attention" stays on the page.
  • One email per family: when two or more members of a family answer the same request one at a time (membership only, classes only, or both), the family gets one email for that sitting. AllSorted waits up to 10 minutes while others in the request are still answering. When you approve several members of one family within a few minutes, the family gets one approval email listing each member (this replaces "one approval email per member"). Declines work the same way, with each member's reason. Families waiting like this never hold up other emails.
  • The staff list of requests no longer shows requests that families start themselves; those are handled in the review queue.
  • Status: Local only. Needs the SQL below; until it is applied, sending works as before (with the new summary) and Replace is not offered.

Families asking to change lessons or membership

  • A new club setting in Member Requests: "Let families ask to change their lessons or membership". It is off for every club until staff with permission to manage member requests turn it on. While it is off, families see nothing new and nothing can be started.
  • When it is on, the Actions page in the family portal has a "Change lessons or membership" part under "Ask the club for a change". For each member it shows what they can do now: ask for a change, carry on with a change they started, wait for the club, or when they can ask again.
  • A family can ask for one change for each member each month (the club's calendar month). A request that is started, waiting or approved counts. One the club declined, the family cancelled, that was withdrawn, or that went out of date does not.
  • The family chooses the new membership and classes on the same screen the club's own requests use, then sends it. Nothing changes until staff approve it in Member Requests. Staff see who sent it ("Sent by"), and that it starts at the member's next bill.
  • An approved change starts on the member's next bill date, so nothing is billed backwards and a bill that is already made never changes. Bills are made a few days before their date, so the family sees: "If the club agrees before that bill is made, the change starts then. If not, it starts at the bill after."
  • A family can cancel a request before sending it. A request they started but didn't send goes out of date once its date has passed or the bill for that date has been made (so the family is only ever shown, and can only send, the date the change will really start). It then closes by itself within a few minutes, with no message, so it never stops the member being asked by the club. Asking again starts a fresh request for the new date straight away. A request the club sent back for changes is never closed this way: the family sees the club's reason ("The club has returned these choices for you to check"), then can ask again or cancel it.
  • A family request is always sent as one answer with the membership and the classes together. A membership-only or classes-only send is refused in plain words, so a member is never left waiting on half a request.
  • A family is only offered memberships the club's billing allows for them on that date, checked plan by plan exactly as the change is checked when they choose it (for example, a family price cap that covers one plan, while the family already has that plan billed on another day, takes just that plan away). When only the club can change a member's membership (it has a special price, it is paid by card subscription, or every other plan is ruled out that way), the family is told why in plain words and can still ask to change classes: the request then offers their current membership only.
  • With the setting off (every club today), the Actions page only looks for requests a family had already started, instead of working out every member's options on each visit, and its two parts load at the same time.
  • If the member leaves or is paused, an open request is withdrawn automatically and the family gets the same short message as for other requests.
  • In Member Requests, a family's request shows on its review card as "Family request: change lessons or membership", and once it is approved, in "Upcoming accepted changes" (marked "asked for by the family"). It is not listed with the requests the club sends, and it is not offered in the automation request filters, so it never uses up those lists.

Answering the club's membership and class requests

  • When the club asks about membership and classes, each member now has a choice: "Change membership or classes", or "Keep as now (no change)". A family can change one member and leave another as they are, and send without picking a plan for everyone.
  • "Keep as now" is offered on every kind of club request: membership and classes, membership only ("Change membership" or "Keep as now"), and classes only ("Change classes" or "Keep as now"), for one member or for each member when several answer together. It works even when the member's current plan is no longer on sale. The household card only mentions keeping when someone on it can keep.
  • "Keep as now" is saved straight away, even in clubs that check answers first. It doesn't go to the staff review list, nothing is scheduled and nothing new is billed. It never stops the club sending that member a new request later. It isn't offered for a request the family started themselves (they can cancel it), for a paused member's return offer, or for a member with no membership yet.
  • Picking exactly what a member has now (the same membership, the same classes, or both) counts as "Keep as now" too: it is recorded at once, not sent for review and not scheduled as a change.
  • A request about membership and classes together is answered as one: sending just the membership (or just the classes) is refused in plain words, so nothing is left half answered.
  • Staff see "Kept as now" in the request's member list (including under Completed). Trying to withdraw a kept answer says plainly there is nothing to withdraw. A kept answer keeps the history of that answer, such as an earlier "returned for changes" and the club's reason.
  • The family page only shows "Keep as now" once the database update below is in place; before that the page stays as it was.
  • When the club asks several members about membership only, or about classes only, the family now answers everyone on one card and sends it once. Everything is saved together or not at all, and the family gets one message about it. A request for just one member works as before.

Release requirements

  • Apply requirement-join-start-01 before final readiness: _verify/requirement-join-start-preflight.sql → _proposed/requirement-join-start-01.sql → _verify/requirement-join-start-postflight.sql. Until it is applied, every requirement behaves as "Leave blank until we record it" and the choice can't be changed. It changes no member's dates, creates no bills and sends nothing. Final readiness now requires it.
  • Apply requirement-renewal-choice-01 before final readiness: _verify/requirement-renewal-choice-preflight.sql → _proposed/requirement-renewal-choice-01.sql → _verify/requirement-renewal-choice-postflight.sql. It adds the new renewal step beside the current one, which the app in use today keeps calling until the deploy. The new app needs it: without it, renewing says it isn't available and changes nothing. Final readiness now requires it.
  • The read-only owner check docs/database/requirement-dates-new-starters-check-2026-10-02.sql (the same file as ~/Downloads/AllSorted-check-requirement-dates-new-starters.sql) counts which requirements gave new starters a date within 7 days of joining, and which choice each will start with.
  • New additive SQL provider-webhook-receipt-stable-identity-01 (after webhook-claim-stable-identity-01, before readiness): preflight, apply, postflight, as listed in docs/ops/kata-membership-owner-sql-2026-09-25.md (step 39d2). Readiness was regenerated to require it, so use the readiness copy from this branch or later. The app works before and after it is applied (it falls back to the old receipt check until then).
  • Apply syllabus-lesson-coverage-04-groups (after syllabus-lesson-coverage-03-replay) and register-setup-current-lessons-01, each with its check before and check after, before final readiness. The regenerated readiness check requires both. They add read and save functions only: no table, permission or data change, and nothing is sent.
  • Until they are applied (for example on a preview), the register falls back safely: one row per grade, one save per item, no tag buttons, and the older full class list.
  • New additive SQL member-request-replace-07 (after member-request-withdrawal-delivery-06, step 39.7, before readiness): _verify/member-request-replace-preflight.sql → _proposed/member-request-replace-07.sql → _verify/member-request-replace-postflight.sql. It adds read and request functions only (no table, permission on a table, or data change) and sends nothing by itself. Readiness was regenerated to require it, so use the readiness copy from this branch or later. Before it is applied the app falls back to the current request functions and offers no Replace.
  • Part B only (the branch claude/portal-change-requests): apply portal-family-change-requests-01 after the three portal family-details units and before final readiness: _verify/portal-family-change-requests-preflight.sql → _proposed/portal-family-change-requests-01.sql → _verify/portal-family-change-requests-postflight.sql (step 39a.4 in docs/ops/kata-membership-owner-sql-2026-09-25.md), at a quiet time: until it finishes (usually under a second) saving member requests waits, and reading request batches and request settings pauses briefly while their new columns are added; it stops with nothing changed if it waits more than 5 seconds. Readiness was regenerated to require it. Until it is applied the new parts stay hidden, the staff setting is not shown, and the member request job closes nothing. Turning the setting on is the owner's choice per club, after the October change.
  • Same branch: apply member-request-family-answers-01 after portal-family-change-requests-01 and before final readiness: _verify/member-request-family-answers-preflight.sql → _proposed/member-request-family-answers-01.sql → _verify/member-request-family-answers-postflight.sql (step 39a.5), at a quiet time (it replaces two checks on member requests). Readiness was regenerated to require it. Without it, "Keep as now" is not shown; the shared membership-only and classes-only cards still save each member's answer one by one (not together, and without the single message); changing membership and classes together still works.

Reliable conflict responses

01-10-2026

Reliability

  • A save that loses its claim or encounters a changed record returns a conflict promptly. Billing and membership checks continue to reject the same invalid requests, without repeatedly retrying them at the database API.

Release requirements

  • Use the corrected pending SQL units and their matching checks from the final release copy. Already-installed renewal follow-up claims have a separate additive correction, requirement-renewal-side-effect-conflicts-02, after the renewals basket checks and before final readiness. Applying the correction does not process renewals, create charges or send messages.
  • Existing runtime authorities also need the additive postgrest-business-conflicts-01 correction after the release units. Install the Xero and platform-referral companions only where their prerequisite chains exist; an installed chain must pass its matching correction and postflight before readiness. These changes preserve prices, permissions, locks and genuine database serialization handling.
  • The final readiness check now pins the conflict response definitions as well as their permissions. Earlier passing checks do not prove this release's corrected SQL is installed. The complete local release check and source-matched database rehearsals have passed. Current PR CI, production checks and SQL application remain with the owner.

Xero contact confirmation stability

30-09-2026

Accounting

  • Bulk Xero contact confirmations now stay open while the match list refreshes. Starting the next action no longer risks having its confirmation closed by the previous action's delayed completion.

Release verification

  • CI now exercises public enrolment preparation, completion and retry through the real route and database, including one suppressed automation delivery. The rehearsal uses an explicitly owned temporary database and API, refuses shared or remote targets, and does not read application environment files. No additional production SQL or setting is required by this test change.
  • The owner SQL handoff now checks existing automation prerequisites before beginning the release sequence: installed RPCs, template-snapshot authority, retained inbox source identifiers, and eleven historical delivery columns. The new delivery probe reads catalogue metadata only; a failure requires review, not reapplying an old installation. These checks do not send messages or prove live delivery.

Security

  • Updated Next.js and its matching lint configuration to 16.3.8, with patched brace expansion, DOMPurify and URI parsing dependencies. This addresses newly reported upstream advisories without adding audit exceptions. No database or environment change is required for these dependency updates.

Combined release collection safeguards

29-09-2026

Billing

  • Bills held for a chargeback or a detached bank payment no longer use up the collection run's limit. Eligible bills further down the list can still be collected, while held bills remain blocked.
  • A failed Direct Debit only shows an automatic retry date when the club's collection start setting permits that bill to be collected.
  • Release readiness also checks the exact finished-payment release and updated failure-notification SQL. These owner-applied units must be installed before the final readiness unit and application deployment. No remote SQL has been applied during integration.
  • Direct Debit bring-across now includes the existing collection-date setting and its impact preview before linking. The confirmed date remains subject to the same server permissions and confirmation checks as Settings.
  • The Direct Debit linking rehearsal uses a disposable database clone and no longer resets the shared local test stack.
  • The combined refund webhook keeps the demo-club guard before refund observation. Demo refunds are acknowledged without recording refund or credit-note changes.
  • Invoice issuance is verified together with the collection-date safeguard: older bills stay untouched until the club chooses a date that includes them, and eligible bills receive their number before the payment request.

Communications

  • A suppressed email no longer resets the retry counter for a scheduled send whose text messages still cannot reach the gateway. Only a new delivery resets that counter; both saved-member and previously rendered sending paths follow the same rule.

Member request withdrawal follow-up

Automatic withdrawal after a member pauses or leaves now queues one short family message per member and request. An approval waiting to be sent cannot include a withdrawn member. A busy withdrawal retry returns promptly, and plan-card Cancel directs current return offers to the return controls.

Operator requirement: apply additive member-request-release-05.sql after units 01–04 and run its read-only postflight, then deploy the application. Notices wait with a compatibility marker that older workers cannot consume; the new worker releases them in bounded pages only when that club has a live withdrawal trigger with a published version. Install and publish the new withdrawal starter automation through the existing owner-controlled workflow; this change enables no flags and sends no live messages. Required SQL readiness must reflect the final composed definitions. See the member-request fixes operations report.

Retry settings

  • A failed Direct Debit keeps the retry gap chosen for that invoice's attempt. Later settings changes cannot add a retry after its last attempt or remove one already scheduled.
  • Retry settings now freeze old exhausted invoices and save the new policy with its audit receipt in one transaction, so simultaneous saves cannot cancel a newly scheduled retry. Requires owner-applied collection-retry-policy-01.sql, its exact postflight, and regenerated final readiness SQL before application deployment; the settings route fails closed without it.

Pending withdrawal delivery

Release correction: an automatic withdrawal that is still busy now holds affected request messages without spending delivery retries. Other family members and household details keep working. Delayed grouped messages recheck their members before sending; a completed withdrawal invalidates an old frozen summary. A family message already sent retains its coverage markers if a later step must wait.

Additional operator requirement: apply member-request-withdrawal-delivery-06.sql after 05, with its read-only preflight/postflight, before this code and final required-SQL readiness. The new bounded read RPC is service-only; missing SQL fails closed. No new flag or sender is enabled.

Billing messages follow each bill's retry schedule

  • Changing the club's retry policy no longer makes family messages contradict a bill's retained schedule. An existing retry stays a retry when fewer future tries are chosen; an exhausted bill keeps its stopped-trying message when more future tries are chosen. This applies to Direct Debit failure messages, queued card failures and the New bill collection wording.
  • Messages do not promise automatic collection for a bill before the club's collection start date, or while that setting is invalid. A Direct Debit already requested keeps its existing wording. The recommended-message preview uses the same schedule and collection-date rules for its immediate stopped-message count.
  • No new SQL, flag or message activation is required by this correction. The retry policy's existing reviewed SQL prerequisites remain unchanged.

Collection start dates, portal lesson coverage and release preparation

28-09-2026

Member portal

  • Progress: the syllabus list now has one "Lessons covered" heading. Each item has a small number next to it, on the right (on the left in Arabic, Persian and Urdu). The number is how many lessons the member went to where the coach taught that item. This replaces the sentence that used to repeat under every item.
  • Tap a number to see the dates of those lessons, newest first, in the language the family has chosen. If two of those lessons were on the same day, their start times show too. The dates only load when you tap, 50 at a time, with "Show older dates" for more. Close it with the Close button, the Escape key or a tap anywhere else.
  • A 0 shows as a grey "0" with nothing to open. If every item's number is 0 (for example, when a club doesn't record which lessons covered what), the heading and the numbers stay hidden until one of them is above 0. If the numbers can't load, one line says so, instead of a message under every item.
  • In Arabic, Persian and Urdu, pop-ups and menus now grow out from the side of the button that opened them, as they already did in the other languages.
  • The dates only ever show the signed-in family's own member; the server still checks this on every tap. The lesson dates list now always comes back newest first. No SQL, settings or data changes are needed.
  • The new wording is drafted in all eleven other portal languages. As for every language pack, no native-speaker review is recorded yet.

Owner SQL and development checks

  • Owner SQL runbook: the one ordered SQL list now includes the family renewals payments basket (step 37), with the Cover companion I2 in its place. It also has a place for refund records (step 38): recording refunds is moving into the release (owner decision, 28 September), and its unit joins the list with the payment automations work. GoCardless payment facts may follow; that is still to be decided. There is also a place for the member request withdraw units (step 39). No SQL or application change.
  • Owner checks: the read-only check that every other database function the app uses is installed now skips the Xero functions, which stay switched off until Xero is turned on. It lists 401 functions to confirm. A release test now proves each Xero function is only in the Xero switch-on SQL and is only called by Xero code. No application change.
  • Development checks: the family pricing and invoice collection database rehearsals now run on their own throwaway copy of the test database, which they remove afterwards, instead of resetting the shared test database. Several checks can now run at the same time without disturbing each other. They test exactly the same things as before. No application change.
  • Owner SQL runbook: the one ordered SQL list now includes the dated price changes, the restart rule and the paused-family portal as ordinary steps (31–33). The allowance scope step (8) now describes the plan list with its check code, and grade undo is "same person, same day". Step 32 adds the read-only billing start check, with its backfill only when that check asks for it. The check runs again before the first billing run. In the older step list the renewals basket is now step 17f. No SQL or application change.
  • Owner SQL runbook: the one ordered SQL list now gives the Action Centre's database step (36) in full: the check before, the three units in order, and what the check after must show. The switch-on step (45) also says how to turn it off. audit-events-01 is not run again (it has been live since 16 July). No SQL or application change.

Collection start dates and billing

  • Payments (owner decision): a new setting in Settings → Payments, "Which date would you like to collect from?". AllSorted then collects Direct Debits and saved cards only for bills due on or after that date: "AllSorted will collect bills due on or after 1 November 2026, by Direct Debit and saved card. Older unpaid bills won't be collected automatically." This covers every automatic collection, including the Video Review top-up. Before you save a date, the page shows what it would mean, for example "From 1 November 2026, AllSorted will collect 12 bills (£540.00) by Direct Debit and saved card, and 3 older unpaid bills (£135.00) won't be collected automatically." Moving the date earlier, or clearing it, asks you to confirm first, because older bills would then be collected. Owners and admins can change it; each change is recorded. Clubs without a date collect as before.
  • Payments: older unpaid bills from before the date are listed under the setting, each with its family, so you can mark them paid, cancel them or collect them. The Action Centre shows one item for them, for example "3 unpaid bills from before your collect-from date (£135.00): mark paid, cancel or collect them", and it closes itself once none are left. Staff can still collect an older bill by Direct Debit from the family's page, after confirming. A late bill that is held for a check but was due before the date no longer shows as held, because it is never collected automatically. No SQL change. Local work only; deployment remains pending.
  • Payments (owner decision): when a club connects GoCardless for the first time and has no collect-from date, AllSorted saves today's date straight away, so no older bills are collected before the club has chosen. Settings → Payments then opens with "Which date would you like to collect from?" at the top, showing what the date means, a preview and the older unpaid bills. The date covers saved cards too, so older unpaid card bills also wait for the club's answer. A club that already has a date keeps it, and reconnecting changes nothing. Each default is recorded. No SQL change. Local work only; deployment remains pending.
  • Payments (review): "no date" never means "collect everything" any more. A club that has never chosen a collect-from date, including clubs that were already connected before this change, gets one automatically: the first time AllSorted collects, it saves that day's date first and records it, so no older bills are collected until the club chooses. If that can't be saved, nothing is collected for the club that day. Clearing the date on purpose (after confirming) still collects every bill that's due. If the saved date is ever not a real date, AllSorted collects nothing automatically for that club, the billing run reports it, and staff see "Your collect-from date isn't a valid date, so nothing will be collected automatically. Fix it in Settings → Payments." Settings → Payments says so and lets you choose a date or clear it; collecting a bill by hand asks first. No SQL change. Local work only; deployment remains pending.
  • Payments (review): a late bill that waits for a staff check, but was due before the collect-from date, is no longer closed. Its check stays open and is only hidden while the bill is before the date. If you move the date earlier, the bill is held until you check it on the family's page, and the Action Centre shows it again. Moving the date earlier also tells you how many of the bills it lets in are late bills that still need a check. No SQL change. Local work only; deployment remains pending.
  • Payments (review): when you confirm moving the collect-from date earlier, the confirmation only counts for what you were shown. If someone else changed the date in the meantime, you are asked again with the new numbers, and nothing is saved over their change. Clubs with a great many unpaid bills can still choose their date: the bills are only counted when the change could let some be collected. Collecting a bill with no due date by hand now asks in plain words. The setting and its preview say "by Direct Debit and saved card", because saved cards follow the date too. No SQL change. Local work only; deployment remains pending.
  • Billing (review): changing a bill's due date so that AllSorted would start collecting it automatically (from before your collect-from date to on or after it) now asks first, in plain words, and saves only when you save again. No SQL change. Local work only; deployment remains pending.
  • Payments (review): Settings → Payments now says that the collect-from date doesn't stop a payment already sent to GoCardless, or a retry GoCardless has already planned. On the Arrears page, "DD retrying" now only shows when a retry will really happen (GoCardless's own retry, or AllSorted's next try for a bill on or after the collect-from date); a bill that won't be tried again shows "DD failed". No SQL change. Local work only; deployment remains pending.
  • Payments (review): each billing run now reaches every bill it can collect. Before, it picked its 100 bills before leaving out the ones it couldn't collect (families who pay by hand, or bills that had used every try), so once a club had 100 or more of those, some collectable bills were never reached. Now those are left out first, the rest go oldest due first, and only bills it will really charge count towards the 100; any left over wait for the next run. The skipped bills are counted as before. No SQL change. Local work only; deployment remains pending.
  • Payments (review): the daily billing run and the background billing jobs now always use the club's own date, never the UTC date. Late in the evening in summer the UTC date is still the day before, so a background run could have treated the wrong bills as due, or saved the wrong day as a club's first collect-from date. No SQL change. Local work only; deployment remains pending.
  • Development checks: db:rehearse-collect-from (CI pack db-collect-from) runs the real collection code against a disposable database copy, with no payment provider reachable: Direct Debit and saved card, the Video Review top-up, held late bills, the preview, the grouped item and a first Direct Debit connect. No behaviour change.

title: Direct Debit review fixes: whose address is copied, switching bank, refused links date: 2026-09-28 ---

  • Families with no address (review fix, safeguarding): AllSorted now copies a payer's address from GoCardless only when the payer is the family's main contact. That means their GoCardless email is the family's main contact email. A billing email doesn't count (the billing contact may be the other parent), and neither does how the Direct Debit was set up, because staff can send a family's set-up link to anyone. Anyone else is left out. For example, when separated parents share the cost and the father pays by Direct Debit for a child whose family in AllSorted is the mother's, his home address is never copied onto her family or shown in her portal. This applies when a Direct Debit is linked, when GoCardless first reports a new one, and to "Copy missing addresses", whose confirmation now says so. Its summary counts the payers who were left out ("1 payer isn't the family's main contact, so their address wasn't copied."). Local work only; deployment remains pending.
  • Moving a Direct Debit to another family (review fix): if AllSorted had copied the payer's address into the old family and that family never confirmed or changed it, the address is now removed again, and the audit log records it as cleared ("Direct Debit moved to another family"). An address the family confirmed, changed or that staff typed always stays. When a family answers "Is it right?" in the portal, the audit log now also records which portal user answered. The family-address SQL unit household-address-from-gocardless-01 gains a fourth function for this, and its answer function takes the portal user's email. It was edited in place (it hasn't been applied anywhere yet), and the production build now requires 86 definitions and 67 functions. Its locks on the family's record no longer hold up adding a member or a booking for that family. Local work only; deployment remains pending.
  • Linking Direct Debits (review fix): when a link is refused because the family already got another Direct Debit at the same moment, AllSorted now puts the Direct Debit's GoCardless labels back exactly as they were before (for a move, its collections' labels too), and the audit log records it ("link refused", and whether the labels were put back). If GoCardless can't be reached to put them back, a staff item appears in Payments Health. The bring-across list also never trusts AllSorted's label on a Direct Debit whose link was refused, so it can't show "Set up through AllSorted" for the wrong family. Local work only; deployment remains pending.
  • Switching bank (review fix): with the owner's "another app uses this GoCardless account" switch on, a family's bank switch in the portal left both Direct Debits live, for every family. AllSorted now looks at the old Direct Debit itself. It cancels it when it carries only AllSorted's own labels and GoCardless shows nothing else using it. It keeps it, and tells staff in Payments Health, only when GoCardless shows another app may use it: a collection AllSorted doesn't track, a payment AllSorted didn't ask for in the last 90 days, another app's label, or (while the switch is on) no label at all. If GoCardless can't be checked just then, AllSorted waits and tries again when GoCardless resends the message, instead of keeping the old Direct Debit for good. Automatic collection now always uses a family's newest active Direct Debit. Local work only; deployment remains pending.
  • GoCardless messages (review fix): if the first message about a Direct Debit AllSorted set up for a family was lost, later messages about it (for example "active") were ignored as if it belonged to another app. AllSorted now records it for that family and applies the message, when the Direct Debit's own labels name one of the club's families or members. A label left behind by a refused link is never trusted: staff see an item in Payments Health instead. Direct Debits that name none of the club's families are still ignored. Local work only; deployment remains pending.
  • Bring existing Direct Debits across (review fix): a payer email that matches a family's carer contact now goes to "Please check" ("Payer email matches a carer contact for the Smith Family, who may not be the payer"), not "Ready". A carer may look after a child without paying for them. Only the family's main contact, its billing email, and parent or guardian contacts count as the payer's. Local work only; deployment remains pending.
  • Linking Direct Debits (review fix): the wait for the owner's switch now also holds on the server, not just in the page. Linking (on the bring-across page, or "Link existing mandate" on a family's page) goes ahead only when the owner has marked the GoCardless account as shared, or the person linking answered "No, only AllSorted" to "Does another app (for example GoCardless for Xero) also collect payments from this GoCardless account?". A family's link dialog now asks that question too, while the switch is off. After "Yes, another app does", linking waits until the owner turns the switch on in Settings → Payments. Moving or cancelling a Direct Debit AllSorted already has isn't affected. Local work only; deployment remains pending.
  • Household Direct Debit card (review fix): the "could pay twice" check asked GoCardless for two lists per Direct Debit every time the household was opened. It now reuses those answers for up to a minute, so opening a household again straight away is quicker and asks GoCardless less. Who can see the card and which family it is are still checked every time. Local work only; deployment remains pending.
  • Owner SQL runbook step 17c: now says plainly which pending Direct Debit SQL files were changed in place since the first handover (unit 01's checks, the shared-account switch, the family-address unit), that none has been applied anywhere yet, and to use the current files. No SQL or application change. Local work only.
  • GoCardless messages (payments QA): a message with a missing or wrong signature now gets the answer GoCardless expects (498), so it stops resending it. A message for the demo club is now acknowledged and ignored, instead of failing and being resent until GoCardless gives up. Tests now prove that with two clubs connected, each message goes to the club it names, and that AllSorted never guesses which club an unnamed message is for. A Direct Debit made in the GoCardless dashboard, with none of AllSorted's labels, is acknowledged from start to finish without recording anything. Local work only; deployment remains pending.
  • GoCardless payments (payments QA, decided safely): a payment AllSorted didn't ask for, for example one someone made in the GoCardless dashboard on a family's linked Direct Debit, no longer becomes a hidden "Membership — Direct Debit" bill (it had no bill number and the family was never sent it). Staff now see an item instead: money was paid to GoCardless but isn't on any bill here, with the family it came from, so they can add the right bill or refund it. AllSorted's own collections (bills it asked GoCardless to collect, and its recurring collections) work as before. When the owner has said another app uses the GoCardless account, that app's payments are still simply left alone. Local work only; deployment remains pending.
  • Direct Debits GoCardless replaces (payments QA): sometimes GoCardless swaps a family's Direct Debit for a new one (for example when the club's bank reference changes). AllSorted used to ignore this and kept trying to collect from the old one, which no longer works. Now it records the new Direct Debit for the same family or member, moves the family's regular collections to it, and shows staff an item that says the Direct Debit was replaced (for information only). If AllSorted can't tell which Direct Debit replaced it, or the new one belongs to another payer or another family, nothing is moved and staff are asked to check. Local work only; deployment remains pending.
  • Payer moved to a new bank (payments QA): when a payer moves their Direct Debit to a new bank, AllSorted now updates the bank name and the last digits of the account number it keeps for that Direct Debit. It never reads the account holder's name. Local work only; deployment remains pending.
  • GoCardless messages the payment history needs (payments QA): messages that GoCardless took a failed payment or a chargeback back out of a payout, or charged or refunded a fee for a failed payment, are no longer ignored. AllSorted checks the payment again and records the message under its own name for the payment history. These checks never send anything to a family. Messages that a payer skipped an approval step, or that a Direct Debit was sent to the bank again after a bank move, now update the Direct Debit's status. Local work only; deployment remains pending.
  • GoCardless account problems (payments QA): staff now see an item in the Action Centre when GoCardless freezes the club's account, when GoCardless needs the club to check its account details, when the club's GoCardless account is disconnected from AllSorted, and when a payout didn't reach the club's bank (with the amount). Each item closes by itself when the problem is over: GoCardless unfreezes the account, the check is being reviewed or is done, the club connects GoCardless again, or the payout is paid. If it happens again, the item comes back. Refunds that fail are handled by the separate refunds work. Local work only; deployment remains pending.
  • Payouts that didn't reach the club's bank (owner decision): the staff item for a payout that bounced now also closes by itself when any later payout to the club is paid, because that shows the club's bank takes payouts again. A payout paid before the bounce doesn't count, and neither does one for another GoCardless account or currency. Staff still can't close this item by hand. Local work only; deployment remains pending.
  • GoCardless disconnected (owner decision): when GoCardless tells AllSorted that a club's GoCardless account was disconnected (for example from inside GoCardless), AllSorted now marks the club's connection as disconnected. It stops using the old connection, keeps the record of which GoCardless account it was, and notes it in the audit log. Settings → Payments says: "GoCardless was disconnected on 28 Sept 2026, so Direct Debits can't be collected. Reconnect to start again.", with a button for the owner to reconnect the normal way. Only a genuine, signed message from GoCardless that names the club's own account can do this, and a message from before the club last connected changes nothing. Local work only; deployment remains pending.
  • Direct Debits GoCardless replaces (review fix): AllSorted now also refuses to move a family to a replacement Direct Debit when GoCardless doesn't show who pays both of them, or when GoCardless's message and GoCardless itself name different replacements. Nothing is moved, and staff are asked to check. Messages for the demo club are now always acknowledged and ignored, however they arrive, instead of failing and being resent. Local work only; deployment remains pending.
  • Linking Direct Debits (review fix): when a link is refused, AllSorted puts the Direct Debit's GoCardless labels back only if they are still the ones that link wrote. If another link has claimed the same Direct Debit in the meantime, its labels are left alone, and the audit log says so. Local work only; deployment remains pending.
  • GoCardless account frozen (review fix): GoCardless's messages that it froze the club's account, and that it lifted the freeze, can arrive in either order. AllSorted now goes by when each one happened, so a late message can't leave the "account frozen" item open or open it again by mistake. If the "freeze lifted" message never arrives, AllSorted checks GoCardless's own record of the account's messages the next time GoCardless tells it about a payout or the account, and closes the item if the freeze was lifted. Local work only; deployment remains pending.
  • Families with no address (review fixes): if AllSorted copied a payer's address from a Direct Debit that GoCardless later replaced with a new one, moving the new Direct Debit to another family now takes that address back too, as long as the family never confirmed or changed it. And a family member whose sign-in email is unusual but valid can now answer "Is this address right?" in the portal; the check uses the same rule as the portal sign-in itself. The family-address SQL unit household-address-from-gocardless-01 gains a fifth function for this and was edited in place again (it hasn't been applied anywhere yet); the production build now requires 87 definitions and 68 functions. Local work only; deployment remains pending.
  • Programs: staff can now give a program's joining fee a promotion, right under the joining fee on the program's edit page (Settings → Programs → Edit). A promotion takes an amount off, takes a percentage off or sets a new joining fee, from a first day to a last day (the club's calendar), with an optional limit (for example "20 families") and an optional code. Staff can change or stop a promotion, and see how many families used it and who. Only staff who can edit the joining fee can manage promotions, and demo clubs can't save them.
  • Enrolment: the usual enrolment form applies the promotion by itself. Families see the lower price on the program card, and a "Have a code?" box when the program has a code promotion. The quote, the payment and the bill all use the lower price. The bill keeps the joining fee line and adds a "Promotion: <name>" line under it, as the same kind of charge, so the joining fee never goes below zero. Staff-created enrolments (Add member) work the same way.
  • One promotion per enrolment: the one that saves the most. Promotions without a code count for everyone; a code promotion counts once its code is entered. Promotions never add up.
  • The limit is exact: if two families take the last place at the same moment, one gets it and the other pays the normal joining fee. An unpaid enrolment keeps its place for one hour, and the form checks again just before any money is taken, which gives it another hour. After that, or if its link is cancelled or expires, the place goes back.
  • If the offer runs out while a family is part-way through their link, the form tells them "The offer has run out, so the joining fee is now £X" before any money is taken, and they carry on straight away at the full price on the same link. Staff don't need to send a new link. Add member works the same way for staff.
  • In the rare case that a payment still goes through after the last place went, the family keeps the offer price. The limit then goes over by one, and "Who used it" says so: "Joined after the last place went. We kept the offer price for them." The count stays honest, for example "Used 21 of 20".
  • If a promotion would leave less than 50p to pay (but more than nothing), the enrolment is made free instead, because a card payment can't be that small. The bill shows the whole joining fee taken off and comes to £0.00, numbered and marked paid. If other items make the total 50p or more, nothing changes.
  • Codes: a code that is used up and a code that doesn't lower this fee get the same plain answer. A code that works while a bigger offer already applies says "Your code works, but a better offer is already applied". If the offer a family saw was replaced by a smaller one, the quote says so. A link can only check codes for its own program. Dates show in the family's language.
  • Refunds are unchanged: a refund gives back what was actually paid, the promotion line stays on the bill, and the place stays used ("Who used it" shows refunded or part refunded). Clubs that charge VAT and use Xero: when you refund a bill that has a promotion on it, make the credit note in Xero by hand. AllSorted can't make that one for you yet.
  • Needs SQL unit enrollment-fee-promotions-01 (step 17i, after invoice-issuance-contract-02 and enrollment-stripe-checkout-01, and before readiness). It also gives the frozen enrolment quote one narrow new exception: a quote refreshed at the full price after its promotion ended or filled, before any payment. Until the unit is applied no promotion is shown or applied, and a code is refused in plain words. Local work only; deployment remains pending.
  • Final release review, 29 September: a delayed Direct Debit creation event cannot undo a refused link. Existing links keep their stored family, including when filling an empty address. A delayed activation or reinstatement for an older Direct Debit cannot cancel the newer one; cancellation rechecks the selected mandate and family immediately before asking GoCardless. No new SQL or activation is required for this correction. Local work only; deployment remains pending.

title: Member requests — withdraw one member, automatic withdrawal when someone leaves or is paused, and fewer dead ends date: 2026-09-28 ---

  • Member requests: staff can now withdraw one member from a request without cancelling it for the whole family. Use Withdraw member on the household page (Review open requests), on a review card, or on a scheduled class change. It works before the change happens: not answered yet, sent back for changes, waiting for review, accepted and waiting for its start date, or back for review. You write a short reason; the family sees "Withdrawn by the club" and your reason in their portal history. The member's current plan and classes stay as they are, and brothers and sisters in the same request are not affected. It cannot be used once the change has happened, while it is being applied, or when a Video Review add-on from the request has already been charged; the message says so in plain words. If part of an older request already happened (for example its class change), only the part still to come is withdrawn, and the screen says the rest stays. An offer for a member to come back from a pause, or to take a place from the waiting list, is not withdrawn here while they can still take it: if the family does not answer by the reply date, it closes by itself. If that member has left, the offer is withdrawn like any other request and the return is closed. The audit log records who withdrew and that a reason was given; the reason itself is kept only for the family to see. Same permission as approving or rejecting requests. Needs SQL unit member-request-withdraw-01.
  • Member requests: when a member is marked a leaver or paused, any open or accepted request for that member is now withdrawn automatically, so it never waits forever. This covers a single status change, bulk status changes, pausing and scheduled status changes. The household page shows "Request withdrawn because <name> left" (or "was paused"), and the change is recorded with who made it. Other family members keep their requests. If the member comes back, send them a new request. The status change never waits for this: if the family is busy with another save at that moment, the status still changes straight away and the withdrawal is finished by the member-request maintenance job within about five minutes. An offer for a paused member to come back is left alone; a leaver's is withdrawn and the return closed. If a member who accepted a waiting-list place while active is then paused, that offer is withdrawn too (otherwise it would restart them on its start date); the member's page shows "Return needs review" so staff can decide about the waiting-list place. If the withdrawal keeps failing for one family, it is tried again the next day rather than every few minutes. This only happens for status changes made after the update; members who had already left or been paused keep their request, and the household page now marks it so you can withdraw it yourself. Needs SQL unit member-request-withdraw-01.
  • Member requests: the household plan-card Cancel on a member's membership question now also closes that member's unanswered class question in the same request. Before, the class question stayed open and could never be answered. Needs SQL unit member-request-dead-ends-02.
  • Member requests: Cancel change on a scheduled class change that goes with a new membership is now refused with a plain explanation ("This class change goes with a new membership, so it can't be cancelled on its own. Use 'Withdraw member' to stop both."), and those cards show Withdraw member instead. Before, cancelling it quietly sent the whole family back to review on the start date. Needs SQL unit member-request-dead-ends-02.
  • Member requests: Return for changes now brings the member's saved membership details up to date, so the family can answer again after staff changed a status, discount or plan. If the member moved to a different membership agreement (or gained or lost one), returning is refused with a plain message instead, because approval would fail later: reject the request or withdraw the member, then send a new one. A request you sent back for changes can now be rejected from the household page (before, it could only wait). The family gets the same "not approved" message, with your reason, as for any other rejection; pressing Reject twice is safe and sends nothing extra. Needs SQL unit member-request-dead-ends-02.
  • Member requests: approving a change for a member who has since left or been paused now says "This member has left or is paused, so this change can't go ahead. Withdraw them from the request instead." (a clear conflict), instead of "This request is no longer available". Other changed requests say "This request changed after the family answered. Refresh the page to see where it is now."
  • Member requests: when an accepted change goes back to review on its start date, the review card and the household page now say why, in plain words, and which family member caused it. A brother or sister held back with them is told their own choice is fine and can be approved again. Needs SQL unit member-request-bounce-cause-03 (after the push units).
  • Member requests: renaming a plan or a class no longer sends accepted changes back to review. A change to a price, plan, day, time or dates still does. Needs SQL unit member-request-rename-tolerance-04 (after the push units). Existing accepted changes keep their saved details and apply exactly as before.
  • Portal (families): "Previous decisions" now also lists requests the club withdrew, with "Withdrawn by the club." and either the club's reason or "<name> has left / is paused, so this change will not happen." New wording is in English; the translations are drafts for review like the rest of the portal.
  • Portal (families): paging through "Previous decisions" no longer skips decisions made at the same moment (for example two children withdrawn together).
  • Deployment: four new SQL units, applied with the push, in this order after the push units and before the required-SQL readiness unit: member-request-withdraw-01, member-request-dead-ends-02, member-request-bounce-cause-03, member-request-rename-tolerance-04. Each has a read-only preflight and postflight in supabase/_verify/. The required-SQL contract and readiness probe were regenerated, so the production build waits for all four (units 03 and 04 need the push chain, so none of this can go live before the push). The member-request events job (every five minutes) now also finishes automatic withdrawals that could not complete at the moment of a status change. Runbook: docs/ops/member-request-fixes-2026-09-28.md. Local work only; nothing applied, deployed, sent or switched on.
  • Family portal: "Update my details". On the Actions page (and from Payments, "Ask the club for a change"), a family can now open the same details form the club sends (phone, home address, and current children's emergency contact and medical information) at any time. Nothing changes straight away: the club checks the changes in Member Requests first ("Family request: update details"), and the family is told the answer through the club's usual member request messages. A family can have one of these requests waiting at a time; while it waits, the page says so instead of showing a second form. A family with no address is asked to add one, because bills need it. A family whose members are all paused can use it too, because their portal still has bills and payments. Staff viewing the portal as a family cannot send it. Needs portal-family-details-01 followed by portal-family-details-02 and portal-member-details-privacy-03 (with their checks before and after); until it is applied the button stays hidden.
  • Family details review: medical and emergency fields are limited to current children under 18, including paused children. Adult and former-member details stay private. Staff portal previews cannot open sensitive details forms. Staff see which family login sent the request; address-only changes need contact-edit permission, while medical changes need profile and medical access. These requests are reviewed individually, rather than through “Approve all ready”, and no longer create campaign entries. An expired request can be replaced without trapping the family. Staff-sent details forms also limit medical information to current children and the signed-in adult’s own record. Apply portal-family-details-02 after 01, then portal-member-details-privacy-03, before the release readiness check; monthly change requests remain a separate, unfinished feature.
  • Needs SQL unit enrollment-fee-promotions-01 (step 17c, after invoice-issuance-contract-02 and enrollment-stripe-checkout-01, and before readiness). It also gives the frozen enrolment quote one narrow new exception: a quote refreshed at the full price after its promotion ended or filled, before any payment. Until the unit is applied no promotion is shown or applied, and a code is refused in plain words. Local work only; deployment remains pending.
  • A joining-fee offer ending while a card payment is being set up can no longer attach an old-price payment to the refreshed quote. Checkout checks both the quote and payment attempt before returning its payment details. Apply the updated, unapplied enrollment-fee-promotions-01 unit before this code; it adds the generation-bound checkout stamp and preserves original-quote compatibility for older code.