@extends('layouts.app') @section('content') @php $createAccount = old('create_account', $teacher->exists ? (bool) $account : true); $accountUsername = old('account_username', $account->username ?? strtolower($teacher->teacher_code ?? '')); $accountRole = old('account_role', $account->role ?? 'advisor'); @endphp
จัดการข้อมูลครูและบัญชีเข้าสู่ระบบจากหน้าเดียว
@if ($errors->any())