fix: early check-in checkout date capped at original planned checkout

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-21 19:07:14 +03:00
parent 6dbff276c8
commit b111cc0898

View File

@@ -604,6 +604,7 @@ export function BookingDetailPanel({ booking, room, rooms, allBookings, slug, on
className="input text-sm" className="input text-sm"
value={earlyNewCheckOut} value={earlyNewCheckOut}
min={today} min={today}
max={booking.checkOut}
onChange={e => setEarlyNewCheckOut(e.target.value)} onChange={e => setEarlyNewCheckOut(e.target.value)}
/> />
</div> </div>