{{-- Floating sticky attendance bar — rendered on BOTH the portal landing page AND the per-startup detail page so the investor can confirm / cancel from anywhere. State syncs in-place via fetch (no full reload). Props: - $investor : current session investor (for the greeting text) - $committee : the active committee - $attendance : current CommitteeAttendance row, or null --}} @php use App\Models\CommitteeAttendance; $status = $attendance?->status ?? CommitteeAttendance::STATUS_PENDING; @endphp @once @push('styles') @endpush @endonce
{{ __('web.committee_attendance.sticky.your_attendance') }}
{{-- "Confirm Attendance" when state is pending or cancelled. Once the investor has confirmed, the action button is removed entirely — the status pill on the left is enough feedback, and there is no longer a "cancel" affordance (confirmation is one-way per the latest spec). --}}
@once @push('scripts') @endpush @endonce