asxpio/test
Sergei Poljanski 9128867a33
invoices: statistics page
Add /admin/invoices/stats with a year filter: invoiced, received and
outstanding totals in GEL at each invoice's captured rate (the one
currency every invoice has), overdue count, average days to pay, money
received per month by payment date as a bar chart with the same figures
in a table, per-currency totals, top clients and crypto option usage.
Cancelled invoices are left out of every amount; hidden ones follow the
usual superuser-only visibility.

Assisted-by: Claude:opus-5
2026-10-10 09:12:21 +04:00
..
admin_acl_test.rb admin: per-area permissions on every route 2026-10-10 08:27:37 +04:00
admin_auth_test.rb admin: per-area permissions on every route 2026-10-10 08:27:37 +04:00
app_test.rb admin: user accounts and session login 2026-10-10 08:25:46 +04:00
bingo_test.rb admin: user accounts and session login 2026-10-10 08:25:46 +04:00
crypto_test.rb invoices: payout addresses in the database 2026-10-10 08:36:32 +04:00
fmt_test.rb invoices: multi-crypto payment support 2026-07-03 02:01:57 +04:00
invoice_cancel_test.rb invoices: fix 500 on the admin invoice page 2026-10-10 08:47:23 +04:00
invoice_stats_test.rb invoices: statistics page 2026-10-10 09:12:21 +04:00
invoice_test.rb invoices: multi-crypto payment support 2026-07-03 02:01:57 +04:00
payout_address_test.rb invoices: payout addresses in the database 2026-10-10 08:36:32 +04:00
rate_limit_test.rb tests: minitest + rack-test suite, bin/test with ephemeral Postgres 2026-07-02 17:32:14 +04:00
templates_test.rb invoices: fix 500 on the admin invoice page 2026-10-10 08:47:23 +04:00
test_helper.rb admin: user accounts and session login 2026-10-10 08:25:46 +04:00
users_admin_test.rb mailer: send account emails as "asxp.io admin" 2026-10-10 08:50:30 +04:00