asxpio/views/admin/invoices
Sergei Poljanski 9d88b8af8f
All checks were successful
Build and Deploy to Production / test (push) Successful in 1m40s
Build and Deploy to Production / build (push) Successful in 1m19s
Build and Deploy to Production / deploy (push) Successful in 56s
invoices: let the admin set the payment date
Payments often arrive before they are recorded, so stamping paid_at
with the click time skews received-per-month and days-to-pay stats.
Mark paid now takes an optional date, and a paid invoice gets a form
to correct it. Past days are stored at 12:00 UTC so the date holds in
any timezone; future and malformed dates are refused. The PDF does not
print the date, so nothing is re-rendered.

Assisted-by: Claude:opus-5-5
Claude-Session: https://claude.ai/code/session_01TCc5TvWnAs5xPvGMQXTJw3
2026-11-03 01:47:03 +04:00
..
index.erb invoices: statistics page 2026-10-10 09:12:21 +04:00
new.erb invoices: self-contained payout addresses 2026-10-10 09:17:09 +04:00
payout_addresses.erb invoices: self-contained payout addresses 2026-10-10 09:17:09 +04:00
show.erb invoices: let the admin set the payment date 2026-11-03 01:47:03 +04:00
stats.erb invoices: self-contained payout addresses 2026-10-10 09:17:09 +04:00