Skip to content

feat(admin): configure tenant maximum booking length - #327

Merged
stakach merged 1 commit into
developfrom
feat/tenant-booking-period
Oct 21, 2026
Merged

stakach merged 1 commit into
developfrom
feat/tenant-booking-period

Conversation

@stakach

@stakach stakach commented Oct 21, 2026

Copy link
Copy Markdown
Member

Adds booking_period (staff-api / models: booking type => maximum booking length in minutes) to the tenant config.

  • Tenant modal: per booking type rows with days, hours and minutes, saved as total minutes. Lengths must be > 0, types unique.
  • Tenants table: new Max Length column, e.g. parking: 1 day 30 minutes (units at 0 are omitted).
  • Named the tenant row action buttons for screen readers.
  • Unit tests for the conversion and form, e2e tests for display, editing and validation.

🤖 Generated with Claude Code

Edit staff-api booking_period per booking type as days, hours and
minutes, stored as total minutes, and show it on the tenants table.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
backoffice Ready Ready Preview Oct 21, 2026 8:38am UTC

@stakach
stakach merged commit 64f111b into develop Oct 21, 2026
7 checks passed
@stakach
stakach deleted the feat/tenant-booking-period branch October 21, 2026 08:42

This branch was successfully deployed

1 active deployment
Preview — 1862cf8b Deployed Oct 21, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant