@extends('layouts.app') @section('title', 'Account Management') @section('content') @php $mid = trim((string) ($profile->middlename ?? '')); $fullName = trim($profile->firstname . ' ' . ($mid !== '' ? $mid . ' ' : '') . $profile->surname); $initials = strtoupper(substr($profile->firstname ?? 'S',0,1) . substr($profile->surname ?? '',0,1)); @endphp

Profile

@if ($photoUrl) Your profile photo @else @endif
@csrf
@php $ro = [ 'Full Name' => $fullName, 'LRN' => $profile->lrn ?: '—', 'Grade & Section'=> trim(($profile->grade_name ?: '') . ' ' . ($profile->section_name ?: '')) ?: '—', 'Department' => $profile->Department ?: '—', 'School Year' => $profile->school_year ?: '—', 'Sex' => $profile->sex ?: '—', 'Contact' => $profile->contact ?: '—', 'Email' => $profile->email ?: '—', 'Student Type' => $profile->student_type ?: '—', ]; @endphp @foreach ($ro as $k => $v)
{{ $k }}
{{ $v ?: '—' }}
@endforeach

To correct your name, LRN, or other details, please contact the Registrar or your class adviser.

Change Password

Update your login password.

Account Security

Last login: {{ $account && $account->last_login ? \Carbon\Carbon::parse($account->last_login)->format('M j, Y g:i A') : '—' }}

Keep your password private. If you suspect someone else knows it, change it immediately.

@endsection