Payments and invoices now land at the branch the customer actually bought from.
- When a customer buys a pass or books a class, the payment and its invoice are filed under the branch that pass or class belongs to, instead of whichever branch the app happened to have selected.
- If the order contains shop products, the payment stays with the branch selected in the app. Product stock is checked against that branch when the item is added, so the sale is now always taken from the same branch, and stock can no longer be deducted from a branch that was never checked.
- Orders that mix branches, or that carry no branch of their own, continue to use the branch selected in the app.