@extends('theme.master') @section('title', "$zoom->meeting_title") @section('content') @include('admin.message') @section('meta_tags') @php $url = URL::current(); @endphp @endsection {{ $zoom['meeting_title'] }} {{ __('Created') }}: {{ $zoom->user['fname'] }} @if($zoom->type != '3') {{ __('Start At')}}: {{ date('d-m-Y | h:i:s A',strtotime($zoom['start_time'])) }} @endif @php // Ensure $meeting->paid_meeting_price is a number $paidMeetingPrice = (float) $zoom->paid_meeting_price; $isPaid = App\PaidMettings::where('user_id', auth()->id()) ->where('meeting_id', $zoom->id) ->where('amount', '>=', $paidMeetingPrice) ->exists(); @endphp @if($zoom['image'] !== NULL && $zoom['image'] !== '') @else @endif @if(isset($zoom) && $zoom->paid_meeting_price && !$isPaid) {{ currency($zoom->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') }} {!! $zoom->agenda !!} @endsection @section('custom-script') @endsection
{{ currency($zoom->paid_meeting_price, $from = $currency->code, $to = Session::has('changed_currency') ? Session::get('changed_currency') : $currency->code, $format = true) }}