mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-20 05:56:53 +00:00
5315bacc2a
The web expense modal only sent the payer when at least one split participant was selected, so a personal expense (e.g. a flight paid by one person, not shared) was stored with an empty payers[] and lost its payment attribution. Drop the participants.size guard so a picked payer always goes out, matching MCostSheet. "Nobody paid" stays expressible via the explicit "No one paid yet" option (payerId 0); the #1286 test is updated to use it. Fixes #1766