@extends('layouts.admin') @section('content')
Whatsapp groups
{{-- Whatsapp groupsCount --}}

Whatsapp groups Count List

@php $count=0 @endphp @foreach ($course_offering as $course) @foreach ( $course->groups as $group) @foreach ( $course->teachingTeam->coachingTeachers as $teacher) @endforeach @endforeach @endforeach
id Course Name Group Name Participants count (student groups) Participants count (parent groups)
{{++$count}}{{$course->has_label ? ' ( '.$course->label.' ) ':''}} {{$course->course->cname. '_' . ' ( '.$course->course->level->lshort_name.' )'}} {{$group->groupName->gname}} {{$group->student_whatsapp_group_count}} @if (round(($group->student_whatsapp_group_count / 240 ) * 100 ,1) <= 50) {{round(($group->student_whatsapp_group_count / 240 ) * 100 ,1)}}% full @elseif( round(($group->student_whatsapp_group_count / 240 ) * 100 ,1) <= 90 && round(($group->student_whatsapp_group_count / 240 ) * 100 ,1) >= 51) {{round(($group->student_whatsapp_group_count / 240 ) * 100 ,1)}}% full @else {{round(($group->student_whatsapp_group_count / 240 ) * 100 ,1)}}% full @endif {{$group->parent_whatsapp_group_count}} @if (round(($group->parent_whatsapp_group_count / 240 ) * 100 ,1) <= 50) {{round(($group->parent_whatsapp_group_count / 240 ) * 100 ,1)}}% full @elseif( round(($group->parent_whatsapp_group_count / 240 ) * 100 ,1) <= 90 && round(($group->parent_whatsapp_group_count / 240 ) * 100 ,1) >= 51) {{round(($group->parent_whatsapp_group_count / 240 ) * 100 ,1)}}% full @else {{round(($group->parent_whatsapp_group_count / 240 ) * 100 ,1)}}% full @endif
{{-- {{ $transactions->links('inc.paginate') }} --}}
@endsection