@extends('layouts.promoter') @section('page-title', $session->title) @section('content')

{{ $session->title }}

@if($session->status === 'active') LIVE @endif
@if($session->status === 'scheduled')
@csrf
@endif Back
{{-- Video & Chat --}}
{{-- Video Container --}}
@if($session->daily_room_url)
@else

Video not configured

Add your Daily.co API key in Settings to enable live video

@endif
{{-- Session Chat --}}

Session Chat

Chat messages will appear here during the live session

{{-- Sidebar --}}
{{-- Product Card --}} @if($session->product)

Featured Product

@if($session->product->primaryImage) {{ $session->product->name }} @else
@endif

{{ $session->product->name }}

${{ number_format($session->product->price, 2) }}

@if($session->product->compare_price) ${{ number_format($session->product->compare_price, 2) }} @endif
@endif {{-- Session Stats --}}

Session Stats

Status {{ $session->status }}
Viewers {{ $session->viewers_count }}
Sales {{ $session->sales_count }}
Revenue ${{ number_format($session->revenue ?? 0, 2) }}
Commission ${{ number_format($session->commission ?? 0, 2) }}
Started {{ $session->started_at?->format('H:i') ?? 'Not started' }}
@if($session->status === 'active')
@csrf
@endif {{-- Description --}} @if($session->description)

Description

{{ $session->description }}

@endif
@if($session->daily_room_url && $dailyToken) @endif @endsection