Recurnix docs

Docs › Releases › 1.20 › Release notes

Recurnix 1.20 release notes

Released 2026-07-31. Recurnix 2.11 is newer.

Raise an invoice. The Client field offers you: 1.

before, /admin/invoices/create, read from the live page

Client*    →   1 option:  "1"

Select::make('client_id')->relationship('client', 'id') tells Filament to use the id column as the option label. With one client in the sandbook that reads 1. With four thousand it reads 1, 2, 3, … — a scrolling list of integers, and the operator is expected to know which number is Acme Hosting Ltd.

The document being raised is an invoice, an order, or a payment. Picking the wrong number does not produce an error; it produces a correct-looking financial record belonging to the wrong customer, which is then sent to them.

after

Client*    →   "QA Client — qa-client@example.com", searchable

What was actually wrong, which is less than the note said

This project's own backlog carried the item as "four admin forms pick a client by raw numeric id". It was three.

Two more forms — Tickets and Quotes — match a grep for relationship('client', 'id'), which is what put them on the list. They then do this on the very next line:

->getOptionLabelFromRecordUsing(fn ($record) => $record->display_name)

The 'id' is only the column the relationship queries; the label the operator reads was already the customer's name. Services and Credit notes pass 'email' and were readable too. Four of the seven client pickers in the panel were already fine. They are named here rather than quietly folded into a bigger number, and a test now fails if the Tickets or Quotes override is removed.

One definition, not three

The fix is App\Filament\Forms\ClientSelect: labelled, searchable across company name, first name, last name and email, preloaded, and rendering Acme Hosting Ltd (Ada Owner) — ada@acme.test.

It deliberately does not call ->required(). Whether a client is mandatory is a property of the form, not of how the field is drawn, and a shared component that quietly asserted it would change three forms' validation in one commit. There is a test for that too.

How this was checked

Both readings come from the live page, out of the DOM after the Livewire component had hydrated — not from the source, and not from a re-implementation of the form. That distinction earned itself last release, when an unhydrated read made a working dashboard look broken.

                          before              after
Client field options      "1"                 "QA Client — qa-client@…"
control                   plain <select>      searchable, preloaded
forms showing ids         3                   0
forms already readable    4                   4

204 committed tests, 650 assertions.


Last modified: 16 November 2026 · This page documents Recurnix, self-hosted billing and automation. Ask a question.