@extends('theme.master') @section('title', "$bbl->meetingname") @section('content') @include('admin.message') @section('meta_tags') @php $url = URL::current(); @endphp @endsection {{ $bbl['meetingname'] }} {{ __('Created') }}: {{ $bbl->user['fname'] }} Start At: {{ date('d-m-Y | h:i:s A',strtotime($bbl['start_time'])) }} @php // Ensure $meeting->paid_meeting_price is a number $paidMeetingPrice = (float) $bbl->paid_meeting_price; $isPaid = App\PaidMettings::where('user_id', auth()->id()) ->where('meeting_id', $bbl->id) ->where('amount', '>=', $paidMeetingPrice) ->exists(); @endphp @if(Auth::check()) @if($bbl->paid_meeting_price && !$isPaid) {{ currency($bbl->paid_meeting_price, $from = $currency->code, $to = Session::has('changed_currency') ? Session::get('changed_currency') : $currency->code, $format = true) }} {{ __('Checkout') }} @else {{ __('Join Meeting') }} @endif @else {{ __('Join Meeting') }} @endif {{ __('Join Meeting') }} × @csrf {{ __('Meeting ID')}}: {{ __('Your Name')}}: {{ __('Meeting Password')}}: + {{ __('Start')}} {{ __('Detail') }} {!! $bbl->detail !!} @endsection
{{ currency($bbl->paid_meeting_price, $from = $currency->code, $to = Session::has('changed_currency') ? Session::get('changed_currency') : $currency->code, $format = true) }}