fix: reminders include contacted bookings, confirmation details persist after status revert

- Reminders query now includes 'contacted' group bookings with confirmed_date,
  preventing people from being forgotten when admin hasn't clicked "Подтвердить"
- Confirmation details (group, date) remain visible regardless of booking status,
  so "Вернуть" no longer hides previously entered info
This commit is contained in:
2026-03-24 15:26:05 +03:00
parent c87c63bc4f
commit 669c4a3023
2 changed files with 2 additions and 2 deletions

View File

@@ -288,7 +288,7 @@ function GroupBookingsTab() {
renderExtra={(b) => (
<>
{b.groupInfo && <span className="text-xs text-neutral-400 bg-neutral-800 rounded-full px-2 py-0.5">{b.groupInfo}</span>}
{b.status === "confirmed" && (b.confirmedGroup || b.confirmedDate) && (
{(b.confirmedGroup || b.confirmedDate) && (
<span className="text-[10px] text-emerald-400/70">
{b.confirmedGroup}
{b.confirmedDate && ` · ${new Date(b.confirmedDate + "T12:00").toLocaleDateString("ru-RU", { day: "numeric", month: "short" })}`}