asxpio/public
Sergei Poljanski 33ba7650c3
invoices: self-contained payout addresses
Crypto options were limited to a hard-coded asset list, with one
address per coin in a side table. A payout address now carries
everything an invoice needs: ticker, name, QR URI scheme, amount
parameter, CoinGecko id, address and an active flag. Any coin can be
added, several addresses per ticker are fine, and known tickers fill the
QR and rate fields from the built-in templates.

The new-invoice form picks a payout address. The invoice snapshots the
ticker, address, name, scheme and amount parameter, and the PDF and QR
render from that copy, so editing, retiring or deleting a payout entry
never changes an issued invoice. "Fetch live" looks up the rate by the
payout address's CoinGecko id.

Migration 012 keeps the existing rows and backfills both the payout
metadata and the snapshots on existing crypto invoices.

Assisted-by: Claude:opus-5
2026-10-10 09:17:09 +04:00
..
fonts styles: design tokens and self-hosted IBM Plex fonts 2026-07-16 20:01:25 +04:00
admin-invoice-form.js invoices: self-contained payout addresses 2026-10-10 09:17:09 +04:00
apple-touch-icon.png assets: OG card and logo-derived favicons 2026-07-16 20:01:25 +04:00
copy.js site: multi-page structure with shared nav; rework services, keys, contact 2026-07-16 20:01:26 +04:00
favicon-32.png assets: OG card and logo-derived favicons 2026-07-16 20:01:25 +04:00
hedgehog.png ruby rework with contact form 2026-05-05 00:45:27 +04:00
id_ed25519.pub ruby rework with contact form 2026-05-05 00:45:27 +04:00
logo.png logo in pdf 2026-06-08 18:15:23 +03:00
logo.svg main page: SP -> Logo 2026-06-09 02:22:28 +03:00
og-card.png assets: OG card and logo-derived favicons 2026-07-16 20:01:25 +04:00
pgp.pub ruby rework with contact form 2026-05-05 00:45:27 +04:00
robots.txt SEO optimization 2026-05-05 01:13:59 +04:00
sitemap.xml site: multi-page structure with shared nav; rework services, keys, contact 2026-07-16 20:01:26 +04:00
style.css invoices: self-contained payout addresses 2026-10-10 09:17:09 +04:00