@extends('front/layout') @section('page_title','Profile') @section('container')

Admin

@if(count($school_code) > 0) School Code : {{$school_code[0]->school_code}} @endif @if(count($principalLoginUsers) > 0) @foreach($principal_principal as $princ)
@foreach($principalLoginUsers as $princlogUsers) @php $allIds[] = $princlogUsers->id; $idsString = implode(',', $allIds); @endphp
@php $userIdsArray = explode(',', $princ->user_login_type); @endphp id, $userIdsArray)) checked @endif >
@endforeach
@endforeach
@endif

Teachers (upto 12)

@if(count($principal_teachers) > 0) @foreach($principal_teachers as $princTeacher)
{{$princTeacher->name}}
{{$princTeacher->phone}}
{{$princTeacher->email}}
@foreach($loginUsers as $logUsers)
@php $userIdsArray = explode(',', $princTeacher->user_login_type); @endphp id, $userIdsArray)) checked @endif>
@endforeach

@endforeach @endif
@if(count($principal_students) > 0)

Students

School Code : {{$principal_students[0]->school_code}}
@if(!empty($principal_students)) @foreach($principal_students as $prinStd)
Name Mobile Number Course Name Payment Payment Date Registered Date