Shop block: places left for group sessions, refresh after booking

Group times show places left and can be added again for another place;
the listing reloads after adding, since one booking can block other
times. Checkout gets a quantity stepper for group lines.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VaXE9U7AmW3dfD2w6cbLfk
This commit is contained in:
agent 2026-10-24 08:26:37 +00:00
parent d7765fe605
commit 5c6dff9e18
2 changed files with 15 additions and 7 deletions

View file

@ -240,7 +240,8 @@
<p class="text-sm text-fg-body/70">{currency.format(line.itemPrice ?? 0)}</p>
</div>
{#if line.lineType === 'item'}
<!-- Products, and places in a group session (capacity > 1); the server checks what's left. -->
{#if line.lineType === 'item' || (line.slotCapacity ?? 1) > 1}
<div class="flex items-center gap-2">
<button
type="button"