added engagement congratulations to guest book

This commit is contained in:
2025-07-15 09:23:33 -04:00
parent 5931d042b5
commit 3a2b20e468
7 changed files with 220 additions and 26 deletions

View File

@@ -13,6 +13,7 @@ export default function EditGuestBookEntryModal({ isOpen, onClose, initialData,
email?: string
phone?: string
address?: string
congratulated?: boolean | null
side?: string
notes?: string
}
@@ -109,6 +110,21 @@ export default function EditGuestBookEntryModal({ isOpen, onClose, initialData,
value={formData.address || ''}
onChange={handleChange}
/>
<div className="flex items-center gap-2">
<input
type="checkbox"
name="congratulated"
checked={!!formData.congratulated}
onChange={(e) =>
setFormData((prev) => ({
...prev,
congratulated: e.target.checked,
}))
}
className="checkbox"
/>
<label htmlFor="congratulated">Congratulated</label>
</div>
<input
className="input input-bordered w-full"
type="text"