@if(!$error)
@foreach($comments_normal as $comment)
@if($comment->user->profile_picture && file_exists(public_path('ProfilePicture/' . $comment->user->profile_picture))) user-img @else user-img @endif

{{ \Carbon\Carbon::parse($comment->comment_time)->format('H:i') }} : {{ $comment->username }}

{{ $comment->comment_text }}

@endforeach
@endif
@if(!$error)
user->profile_picture}")) ? "ProfilePicture/{$channel->user->profile_picture}" : 'default_assets/user/default.jpg') }}" class="rounded-circle" style="width: 24px; height: 24px;"> {{ $channel->user->username }}
@foreach($viewers as $viewer) user->profile_picture}")) ? "ProfilePicture/{$viewer->user->profile_picture}" : 'default_assets/user/default.jpg') }}" class="rounded-circle" data-user-id="{{ $viewer->user->id }}" style="width: 24px; height: 24px;"> @endforeach {{ count($viewers) }}
@foreach ($assetlist as $item) @if ($item->streaming_setting && (($channel->id == Auth::user()->id && !$item->streaming_setting->can_send_viewer && $item->streaming_setting->can_send_host) || ($channel->id != Auth::user()->id && !$item->streaming_setting->can_send_host && $item->streaming_setting->can_send_viewer)))
{{ App\Models\UserWallet::where('user_id', Auth::id())->where('digital_asset_id', $item->id)->first()->quantity ?? 0 }}
@endif @endforeach
@foreach ($assetlist as $item) @if ($item->streaming_setting && (($channel->id == Auth::user()->id && $item->streaming_setting->can_send_viewer) || ($channel->id != Auth::user()->id && $item->streaming_setting->can_send_host))) @endif @endforeach
@endif
@if(!$error) @if($channel->id == Auth::user()->id)
@foreach($alreadyjoinrequest_data as $y) @php $y_action = ($y['value'] * 1 > 0) ? 'remove' : 'allow'; @endphp

{{ $y['username'] }}: {{ $y['comment_text'] }} ({{ $y_action }})

@endforeach
@endif @endif
@if($error) @if($error == "no_view_permission") Video is Private, Send View Request @else {{ $error }} @endif @endif
@if(!$error)
@csrf {!! $send_join_request !!} @if($channel->id != Auth::user()->id) @endif
@endif
@include('streaming.payment_modal')