diff options
Diffstat (limited to 'docs/STATE.md')
| -rw-r--r-- | docs/STATE.md | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/docs/STATE.md b/docs/STATE.md index 0102f54..cbfd8dd 100644 --- a/docs/STATE.md +++ b/docs/STATE.md @@ -14,7 +14,7 @@ unit tests and the docs consistency check. ## Resume here (2026-09-22) -- **Deployed**: `v0.1.62`, healthy on `nas` (Alpine runtime, static aarch64 +- **Deployed**: `v0.1.63`, healthy on `nas` (Alpine runtime, static aarch64 binaries cross-compiled on this machine — ~20 s, the host only assembles the image; image 33.7 MB, no `libssl3`). `v0.1.55` brought the payroll server waves (schema v11: employees, tax tables, lönebesked) and the @@ -32,7 +32,9 @@ unit tests and the docs consistency check. **text rows**, `u = duplicera`, `b = kvittera betalning` (`invoice.pay` links a payment voucher) and rejects name-like `smtp_from` values (schema v12: `invoice_rows.is_text`, `invoices.paid_date`/ - `payment_voucher_id`). The live database migrated v9 → v11 on the v0.1.55 + `payment_voucher_id`); `v0.1.63` prints the organization name in the + invoice and lönebesked headers and adds the shared document colour setting + `document_header_color`. The live database migrated v9 → v11 on the v0.1.55 startup and v11 → v12 on the v0.1.62 startup, each with the automatic pre-migration snapshot in `var/db/backup/`. `main` and the tags are pushed to `nas`. @@ -42,15 +44,15 @@ unit tests and the docs consistency check. validation. `test_core` has `invoice_extras`; the pty suite has `invoice-duplicate` and `invoice-pay`. Remaining invoice work is in the backlog (credit notes, per-row account, kundreskontra, partial payments). -- **Document header (2026-09-22)**: the invoice header bar prints the - organization name instead of the hard-coded `MAKANDRA AB` outline (scaled - down and truncated with `...` if long). The shared document setting - `document_header_color` (`#rrggbb`, default `#314c59`, editable in - Bolaget → Fakturauppgifter) colours the header bar of both the invoice - and the lönebesked, and the lönebesked prints the employer name there too - (it previously used the Comfortaa wordmark). The invoice's `FAKTURA` - outline is unchanged; the `MAKANDRA AB` outlines in `src/wordmark.h` are - now unused at runtime. +- **Document header (2026-09-22, deployed in `v0.1.63`)**: the invoice + header bar prints the organization name instead of the hard-coded + `MAKANDRA AB` outline (scaled down and truncated with `...` if long). + The shared document setting `document_header_color` (`#rrggbb`, default + `#314c59`, editable in Bolaget → Fakturauppgifter) colours the header bar + of both the invoice and the lönebesked, and the lönebesked prints the + employer name there too (it previously used the Comfortaa wordmark). The + invoice's `FAKTURA` outline is unchanged; the `MAKANDRA AB` outlines in + `src/wordmark.h` are now unused at runtime. - **Mail configuration**: Makandra AB (org 2) has **no** `smtp_*` settings in bokf, so `invoice.send` there is `SMTP_NOT_CONFIGURED` (fine if invoices are sent elsewhere — set them up when wanted). Mock AB (org 1) @@ -124,7 +126,7 @@ Original entries for the struck items are in `docs/DECISIONS.md`. ## Environment / how to run -- **Deployed**: `scripts/deploy.sh` (latest `v0.1.62`, healthy on nas). +- **Deployed**: `scripts/deploy.sh` (latest `v0.1.63`, healthy on nas). Live daemon `tls:bokf.makandra.eu:8788`, token `~/.config/bokf/migration-token` (scopes `read,write`; owner-only actions like closing years must be done by the human in the TUI). Git remote |
