diff --git a/frontend/src/components/GuestList.jsx b/frontend/src/components/GuestList.jsx index c159d20..38fb862 100644 --- a/frontend/src/components/GuestList.jsx +++ b/frontend/src/components/GuestList.jsx @@ -374,6 +374,9 @@ function GuestList({ eventId, onBack, onShowMembers }) { confirmed: guests.filter(g => g.rsvp_status === 'confirmed').length, declined: guests.filter(g => g.rsvp_status === 'declined').length, invited: guests.filter(g => g.rsvp_status === 'invited').length, + totalCompany: guests + .filter(g => g.rsvp_status === 'confirmed') + .reduce((sum, g) => sum + (g.companion_count > 0 ? g.companion_count : 1), 0), } const exportToExcel = () => { @@ -523,6 +526,10 @@ function GuestList({ eventId, onBack, onShowMembers }) { {he.invited} {stats.invited} +