asxpio/views/admin/invoices
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
..
index.erb invoices: statistics page 2026-10-10 09:12:21 +04:00
new.erb invoices: payout addresses in the database 2026-10-10 08:36:32 +04:00
payout_addresses.erb invoices: payout addresses in the database 2026-10-10 08:36:32 +04:00
show.erb invoices: fix 500 on the admin invoice page 2026-10-10 08:47:23 +04:00
stats.erb invoices: statistics page 2026-10-10 09:12:21 +04:00