@extends('layouts.parent') @section('title', 'My Profile - Kidscholl') @section('styles') @endsection @section('content')

Profile Directory

Manage and verify registered credentials, child mappings, and security access logs.

Verified Profile
Student Details
@if($student->photo) {{ $student->name }} @else
{{ substr($student->name, 0, 1) }}
@endif

{{ $student->name }}

Roll Number: {{ $student->roll_number }}
Class & Section: {{ $student->schoolClass->name }} - {{ $student->section->name }}
Campus Branch: {{ $student->branch->name }}
School Group: {{ $student->branch->school->name }}
Parent Information
{{ substr($parent->name, 0, 1) }}

{{ $parent->name }}

Relation: Primary Guardian
Parent Name: {{ $parent->name }}
Mobile Phone: {{ $parent->mobile }}
Email ID: {{ $parent->email ?: 'Not Configured' }}
Linked Accounts: You have {{ $parent->students->count() }} children registered under this mobile number. Use the top navbar switcher to switch profile logs.
Security & Login History

Below are the security verification checks recorded for accesses to this account.

@forelse($loginLogs as $log) @empty @endforelse
Date / Time Verification Status IP Address Device User Agent
{{ \Carbon\Carbon::parse($log->created_at)->format('d M Y H:i:s') }} Success {{ $log->ip_address }} {{ Str::limit($log->user_agent, 80) }}
No security logs recorded yet.
@endsection