@extends('guru.layout') @section('title','Identitas Guru') @section('content')
Identitas Guru

Informasi identitas akun Anda.

@auth
Nama{{ auth()->user()->name }}
Username{{ auth()->user()->username }}
Email{{ auth()->user()->email }}
Role{{ auth()->user()->role }}

Data Guru
@if(session('success')) @endif
@csrf
@php $currentSekolahId = auth()->user()->sekolah_binaan_id ?? null; $currentSekolah = null; if ($currentSekolahId && isset($sekolahs)) { $currentSekolah = $sekolahs->firstWhere('id', $currentSekolahId); } @endphp @if($currentSekolah) @else @endif
@else

Harap login untuk melihat data.

@endauth
@endsection