@extends('theme.master') @section('title', 'Institute Profile') @section('content') @include('admin.message') @php $gets = App\Breadcum::first(); @endphp @if(isset($gets)) @endif
{{ $data->title }} @if($data->verified) @endif
@php $year = Carbon\Carbon::parse($data->created_at)->year; $course_count = App\Course::where('institude_id',$data->id)->count(); $enroll_count = App\Order::where('course_id', $course->id)->count(); $live_1 = App\Meeting::where('course_id','=',$course->id)->count(); $live_2 = App\Googlemeet::where('course_id','=',$course->id)->count(); $live_3 = App\JitsiMeeting::where('course_id','=',$course->id)->count(); $live_4 = App\BBL::where('course_id','=',$course->id)->count(); $live_class = $live_1 + $live_2 + $live_3 + $live_4; @endphp
@if($course_count >= 5) @endif

@php $inst_count = App\Course::where('institude_id',$data->id)->count(); @endphp

{{ $inst_count }}

{{__('Courses')}}

@php $instii= App\Course::where('institude_id',$data->id)->get(); $count = 0; $count1 = 0; @endphp @foreach($instii as $value) @php $instii_count = App\Order::where('course_id',$value->id)->count(); $count = $count + $instii_count; @endphp @endforeach

{{ $count }}

{{__('Students')}}

{{ $live_class }}

{{__('Meetings')}}

{{__('About')}}

{{ $data->detail }}

{{__('Skill')}}

{{ $data->skill }}

@if(isset($data->email))
{{__('Email')}}

{{ $data->email ?? '' }}

@endif @if(isset($data->mobile))
{{__('Mobile')}}

{{ $data->mobile ?? '' }}

@endif
@endsection