@extends('layouts.app') @section('content')
@if (session('status'))ตำแหน่ง: {{ $teacher->position ?? '-' }}
กลุ่มสาระ/งาน: {{ $teacher->subject_group ?? '-' }}
โทรศัพท์: {{ $teacher->phone ?? '-' }}
อีเมล: {{ $teacher->email ?? '-' }}
ที่อยู่: {{ $teacher->address ?? '-' }}
สถานะ: {{ $teacher->is_active ? 'ใช้งานอยู่' : 'ปิดใช้งาน' }}
Username: {{ $account->username }}
สิทธิ์: {{ role_label($account->role) }}
สถานะบัญชี: {{ $account->is_active ? 'ใช้งานอยู่' : 'ปิดใช้งาน' }}
@elseยังไม่มีบัญชีเข้าสู่ระบบสำหรับครูคนนี้
@endif