@extends(getTemplate() .'.panel.layouts.panel_layout') @push('styles_top') @endpush @section('content')

{{ trans('panel.meeting_statistics') }}

{{ $openReserveCount }} {{ trans('panel.open_meetings') }}
{{ $totalReserveCount }} {{ trans('panel.total_meetings') }}
{{ $activeHoursCount }} {{ trans('panel.active_hours') }}

{{ trans('panel.filter_meetings') }}

{{ trans('panel.meeting_list') }}

get('open_meetings', '') == 'on') ? 'checked' : '' }}>
@if($reserveMeetings->count() > 0)
@foreach($reserveMeetings as $ReserveMeeting) @endforeach
{{ trans('public.instructor') }} {{ trans('update.meeting_type') }} {{ trans('public.day') }} {{ trans('public.date') }} {{ trans('public.time') }} {{ trans('public.paid_amount') }} {{ trans('update.students_count') }} {{ trans('public.status') }}
{{ $ReserveMeeting->meeting->creator->full_name }} {{ $ReserveMeeting->meeting->creator->email }}
{{ trans('update.'.$ReserveMeeting->meeting_type) }} {{ dateTimeFormat($ReserveMeeting->start_at, 'D') }} {{ dateTimeFormat($ReserveMeeting->start_at, 'j M Y') }}
{{ dateTimeFormat($ReserveMeeting->start_at, 'H:i') }} - {{ dateTimeFormat($ReserveMeeting->end_at, 'H:i') }}
@if(!empty($ReserveMeeting->sale) and !empty($ReserveMeeting->sale->total_amount) and $ReserveMeeting->sale->total_amount > 0) {{ handlePrice($ReserveMeeting->sale->total_amount) }} @else {{ trans('public.free') }} @endif {{ $ReserveMeeting->student_count ?? 1 }} @switch($ReserveMeeting->status) @case(\App\Models\ReserveMeeting::$pending) {{ trans('public.pending') }} @break @case(\App\Models\ReserveMeeting::$open) {{ trans('public.open') }} @break @case(\App\Models\ReserveMeeting::$finished) {{ trans('public.finished') }} @break @case(\App\Models\ReserveMeeting::$canceled) {{ trans('public.canceled') }} @break @endswitch @if(!in_array($ReserveMeeting->status, [\App\Models\ReserveMeeting::$finished, \App\Models\ReserveMeeting::$canceled])) @endif
{{ $reserveMeetings->appends(request()->input())->links('vendor.pagination.panel') }}
@else @include(getTemplate() . '.includes.no-result',[ 'file_name' => 'meeting.png', 'title' => trans('panel.meeting_no_result'), 'hint' => nl2br(trans('panel.meeting_no_result_hint')), ]) @endif
@include('web.default.panel.meeting.join_modal') @include('web.default.panel.meeting.meeting_create_session_modal') @endsection @push('scripts_bottom') @endpush