CluPilotCloud/resources/views
nexxo cd54212b34
tests / pest (push) Failing after 7m32s Details
tests / assets (push) Successful in 25s Details
tests / release (push) Has been skipped Details
Issue an invoice from what somebody bought, and freeze it there
One invoice per purchase rather than per order: a customer who buys a plan and
two add-ons in one go has bought once, and three invoices for one purchase is
three times the paperwork for the same money. Each order becomes a line, which
is also how the add-ons get listed individually.

Everything the document says is copied into the snapshot at the moment the
number is assigned — issuer, recipient, lines, rate, the reason for the rate.
A test changes the company name and the customer name afterwards and asserts
the invoice still says what it said. That is the whole reason no PDF is stored.

The number and the invoice commit in one transaction. A number taken and then
lost to a failure is a gap in a series that must not have one, and the refusal
test asserts that a rejected invoice leaves the counter where it was.

It refuses outright until the company details are complete. An invoice without
a registered name, an address or a VAT number is not a valid invoice here, and
issuing one consumes a number that can never be handed out again.

VAT comes from TaxTreatment, which already existed and already handles a
verified EU VAT ID correctly — including the reverse-charge note, without which
a zero-rated invoice says nothing about why no VAT was charged.

The billing address is carried as the lines it was written as. It is one
free-text field today, and guessing which line is the postcode would put it
where the street belongs, on a document nobody can correct afterwards.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-29 02:09:05 +02:00
..
components Merge credentials and infrastructure into one Integrations page 2026-07-29 01:49:39 +02:00
errors Refuse a portal login for an address that already belongs to an operator 2026-07-28 14:42:16 +02:00
layouts Answer a check at once, start an update at once, and count down to neither 2026-07-28 22:25:07 +02:00
livewire Add a raw .env editor to the Integrations page, with a net under it 2026-07-29 01:51:27 +02:00
mail Put every mail in one design, and confirm an order when the money arrives 2026-07-29 00:14:04 +02:00
pdf Issue an invoice from what somebody bought, and freeze it there 2026-07-29 02:09:05 +02:00
vendor/wire-elements-modal fix(admin): no admin lockout (is_admin fallback); centered modal width; datacenter edit modal + country dropdown 2026-07-25 18:09:17 +02:00
coming-soon.blade.php One design system for every surface 2026-07-27 16:03:47 +02:00
landing.blade.php Say EU and stop there, as the approved template does 2026-07-28 09:19:24 +02:00
legal.blade.php feat(landing): public marketing homepage at / (+ legal placeholders) 2026-07-25 08:59:39 +02:00
status.blade.php Show times on the operator's clock, keep storing them in UTC 2026-07-27 17:32:21 +02:00
welcome.blade.php feat(portal): design foundation — Tailwind v3, tokens, self-hosted fonts 2026-07-25 00:43:01 +02:00