@extends('layouts.user_type.guest') @section('header_title', __('Pay live entry')) @section('content')


@if(session('error'))
{{ session('error') }}
@endif

{{ $room->title ?: __('Untitled live stream') }}

{{ __('This live stream requires an entry fee before watching.') }}

{{ __('Entry fee') }}: {{ number_format($room->entry_fee) }} {{ __('Toman') }}
{{ __('Wallet balance') }}: {{ number_format($wallet->balance) }} {{ __('Toman') }}
{{ __('Balance after payment') }}: {{ number_format(max(0, $wallet->balance - (int) $room->entry_fee)) }} {{ __('Toman') }}
@php($hasEnoughBalance = $wallet->balance >= (int) $room->entry_fee)
@csrf
@unless($hasEnoughBalance){{ __('Top up wallet') }}@endunless{{ __('Back') }}
@endsection