@extends('layouts.app') @section('title', 'Settings') @section('page-title', 'System Configuration & Admin Controls') @section('content')
@if(auth()->user()->isTeacher())
@csrf
Class Teacher Signature
@if(!empty($assignedClassesString))
Assigned Class: {{ $assignedClassesString }}
@endif
@if(!empty($teacherSignature))
@endif
Upload a clean .png signature file.
@endif @if(auth()->user()->isAdmin() || auth()->user()->isAcademic())
@csrf
School Information Profile
@if(!empty($settings['school_logo']))
Change
@else
Upload Logo
@endif
Primary / Nursery Headteacher
@if(!empty($settings['headteacher_signature_primary']))
@endif
Secondary Headteacher
@if(!empty($settings['headteacher_signature_secondary']))
@endif
Class Teachers Signatures

Manage signatures (.png) for each assigned Class Teacher to be displayed on student report cards.

@forelse($schoolClasses as $sc) @php $tUser = $sc->teacher; $tName = $tUser ? $tUser->name : $sc->class_teacher; $tSig = null; if ($tUser) { $tSig = \App\Models\Setting::get('teacher_signature_' . $tUser->id); } if (!$tSig && !empty($tName)) { $tSig = \App\Models\Setting::get('teacher_signature_name_' . md5(strtolower(trim($tName)))); } @endphp @empty @endforelse
Class & Stream Teacher Signature Action
{{ $sc->class_level }} ({{ $sc->stream ?: 'No stream' }}) @if($tName) {{ $tName }} @else Not assigned @endif @if($tSig && file_exists(storage_path('app/public/' . $tSig))) @else No signature @endif @if($tUser || $tName) @else — @endif
No classes found.
Teacher Result Entry Access

Control whether teachers are allowed to enter, edit, or submit student marks in the Result Entry module.

Class Teacher Student Edit Permission

Control whether class teachers are allowed to directly edit student information (Name, Class, Stream, Transport Station, Contact, etc.). You can allow all classes, disable all, or allow specific classes.

Select classes allowed to edit student information:
@php $allowedClasses = $settings['teacher_student_edit_classes'] ?? []; @endphp @foreach($schoolClasses as $sc) @php $scKey = trim($sc->class_level) . ($sc->stream && strtolower($sc->stream) !== 'no stream' ? ' ' . trim($sc->stream) : ''); $isChecked = in_array($scKey, $allowedClasses) || in_array(trim($sc->class_level), $allowedClasses); @endphp @endforeach
Allow Class Level Stream Class Teacher
{{ $sc->class_level }} {{ $sc->stream ?: '—' }} @if($sc->teacher) {{ $sc->teacher->name }} @elseif($sc->class_teacher) {{ $sc->class_teacher }} @else — @endif
@endif
@csrf
Change My Password
@error('current_password')
{{ $message }}
@enderror
@error('password')
{{ $message }}
@enderror
@csrf
Multi-Factor Authentication (2FA)
It is Recommended to use 2FA authentication for best security.
@if(session('two_factor_qr_code'))
Authenticator QR Code

Scan this code with Google Authenticator, Microsoft Authenticator, or Authy.

{!! session('two_factor_qr_code') !!}

Warning: You will only see this QR code once. Ensure you have scanned it before leaving this page.

@endif
@if(auth()->user()->isSuperAdmin()) @php $admissionUsers = $users->whereIn('role', ['admin', 'academic']); $teacherUsers = $users->where('role', 'teacher'); $staffUsers = $users->whereNotIn('role', ['admin', 'academic', 'teacher', 'super_admin']); @endphp
User Management (Super Admin)
Admission Team (Admins & Academics)
@forelse($admissionUsers as $u) @empty @endforelse
Name Role Username/Email Actions
{{ $u->name }} {{ $u->role }} {{ $u->username }}
@csrf
@csrf @method('DELETE')
No admission users found.
Teachers
@forelse($teacherUsers as $u) @empty @endforelse
Name Role Username/Email Actions
{{ $u->name }} {{ $u->role }} {{ $u->username }}
No teachers found.
Staff Members (Other Roles)
@forelse($staffUsers as $u) @empty @endforelse
Name Role Username/Email Actions
{{ $u->name }} {{ $u->role }} {{ $u->username }}
No other staff members found.