{{-- Floating sticky attendance bar for the Demo portal. MIRROR OF: web.committee-attendance.partials.sticky-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) - $demo : the active demo - $attendance : current DemoAttendance row, or null --}} @php use App\Models\DemoAttendance; $status = $attendance?->status ?? DemoAttendance::STATUS_PENDING; @endphp @once @push('styles') @endpush @endonce
{{ __('web.demo_attendance.sticky.your_attendance') }}
{{-- "Confirm Attendance" when state is pending or cancelled. Once confirmed, the action button is removed — the status pill on the left is enough feedback. Same one-way contract as the committee equivalent per the latest spec. --}}
@once @push('scripts') @endpush @endonce