Files
Spanglish/frontend
MichilisandClaude Opus 5.5 b3584e6c4d Keep event revenue at what was paid when the ticket price changes.
The event header revenue and the door summary's pre-sale total were
computed as settled tickets × the current event price, so editing the
price rewrote revenue for tickets already sold. They now sum the paid
payment amounts; the header no longer falls back to count × price.
Admin analytics per-event revenue gets the same fix.

Bookings that haven't been paid yet owe the current price, so a price or
currency change now reprices open `pending` payments in the same
transaction as the event update. Paid/refunded history, pending_approval,
on_hold and Lightning invoices keep their amount.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 04:38:35 +00:00
..
2026-01-29 14:13:11 -03:00
2026-01-29 14:13:11 -03:00
2026-01-29 14:13:11 -03:00