@extends('theme.master') @section('title', "$jitsimeet->meeting_title") @section('content') @include('admin.message') {{ $jitsimeet['meeting_title'] }} {{ __('Start At')}}: {{ date('d-m-Y | h:i:s A',strtotime($jitsimeet['start_time'])) }} @if($jitsimeet['image'] !== NULL && $jitsimeet['image'] !== '') @else @endif @php // Ensure $meeting->paid_meeting_price is a number $paidMeetingPrice = (float) $jitsimeet->paid_meeting_price; $isPaid = App\PaidMettings::where('user_id', auth()->id()) ->where('meeting_id', $jitsimeet->id) ->where('amount', '>=', $paidMeetingPrice) ->exists(); @endphp @if(isset($jitsimeet) && $jitsimeet->paid_meeting_price && !$isPaid) {{ currency($jitsimeet->paid_meeting_price, $from = $currency->code, $to = Session::has('changed_currency') ? Session::get('changed_currency') : $currency->code, $format = true) }} {{ __('Checkout') }} @else {{ __('Join Meeting')}} @endif {{ __('Agenda') }} {!! $jitsimeet->agenda !!} @endsection
{{ currency($jitsimeet->paid_meeting_price, $from = $currency->code, $to = Session::has('changed_currency') ? Session::get('changed_currency') : $currency->code, $format = true) }}