@extends('layouts.app') @section('content') @if(auth()->user()->user_type == 2)
@php $classes = class_section_data(); @endphp
@foreach($classes as $class)
Class

{{ $class->name }}

Total Sections

{{ $class->sections->count() }}

Total Students

{{ $class->section->student_count ?? 0 }}

@foreach($class->sections as $section) @endforeach
Section Name Total Students Total Boys Total Girls Action
{{ $section->name ?? 'N/A' }}
{{ total_student_section_wise($section->id) }}
{{ total_male_student_section_wise($section->id) }}
{{ total_female_student_section_wise($section->id) }}
@endforeach
@elseif(auth()->user()->user_type == 5)
icon-1

No. of Students Enrolled

432

icon-1

Students participation

132

icon-1

No. of Teachers Enrolled

32

icon-1

Other Staff Enrolled

02

Average Lifestyle Risk Score

Avg Student BMI

Questionnaire Completion Percent

Nutrition Surveillance

$8,550 25%
$5,550 15%
$8,550 25%
$5,550 15%

Lifestyle Risk Assessement

@elseif(auth()->user()->user_type == 10)
@elseif(auth()->user()->user_type == 2)
Class

{{ auth()->user()->class->name ?? '' }}

Total Sections

{{ auth()->user()->sections->count() }}

Total Students

{{ auth()->user()->section->student_count ?? 0 }}

Section Name Total Students Total Boys Total Girls Action
Section Alpha
42
22
20
Section Beta
42
22
20
@elseif(auth()->user()->user_type == 5)
@elseif(auth()->user()->user_type == 3)
@csrf

Food frequency & Dietary Behaviours Questions

1. What are your dietary preferences?

2. Cereals and Millets

2.1 Rice (Eg. White, Brown, Poha, Dosa)

No. of times in a day?

2.2 Wheat (e.g.,roti, upma, semiya)

No. of times in a day?

2.3 Millets (e.g.,Ragi, Jowar,etc)

No. of times in a day?

3. Pulses and Legumes (e.g.,redgram, blackgram, rajmah)

No. of times in a day?

2. Please List all the foods and Beverages you have eaten “Yesterday” (6am of yesterday to 6am Today)

@endif @endsection