@extends('layouts.app') @section('title', 'Create Teacher') @section('content')
{{-- ============================================================ Page Header ============================================================ --}}

Create Teacher

Add a new teacher and their employment information.

{{-- ============================================================ Validation Summary ============================================================ --}} @if($errors->any())

Please correct the following information.

    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif {{-- ============================================================ Form ============================================================ --}}
@csrf
{{-- ==================================================== Main Content ==================================================== --}}
{{-- ================================================= Personal Information ================================================= --}}

Personal Information

Enter the teacher's basic personal information.

{{-- Teacher ID --}}
@error('teacher_id')

{{ $message }}

@enderror

Enter a unique identification number for this teacher.

{{-- Gender --}}
@error('gender')

{{ $message }}

@enderror
{{-- First Name --}}
@error('first_name')

{{ $message }}

@enderror
{{-- Last Name --}}
@error('last_name')

{{ $message }}

@enderror
{{-- Date of Birth --}}
@error('date_of_birth')

{{ $message }}

@enderror
{{-- Profile Photo --}}
@error('profile_photo')

{{ $message }}

@enderror

JPG, JPEG, PNG or WEBP. Maximum size 2 MB.

{{-- ================================================= Contact Information ================================================= --}}

Contact Information

Add the teacher's contact details and address.

{{-- Phone --}}
@error('phone')

{{ $message }}

@enderror
{{-- Email --}}
@error('email')

{{ $message }}

@enderror
{{-- Address --}}
0 / 1000
@error('address')

{{ $message }}

@enderror
{{-- ================================================= Employment Information ================================================= --}}

Employment Information

Configure the teacher's designation and employment details.

{{-- Designation --}}
@error('designation')

{{ $message }}

@enderror
{{-- Employment Type --}}
@error('employment_type')

{{ $message }}

@enderror
{{-- Joining Date --}}
@error('joining_date')

{{ $message }}

@enderror
{{-- Qualification --}}
@error('qualification')

{{ $message }}

@enderror
{{-- Class Teacher --}}
@error('is_class_teacher')

{{ $message }}

@enderror

Class and section assignment can be configured separately.

{{-- Status --}}
@error('is_active')

{{ $message }}

@enderror

Inactive teachers remain stored but should not receive new assignments.

{{-- ================================================= Teacher Structure ================================================= --}}

Teacher Structure

How this teacher will be used in the attendance system.

Class Teacher

Teachers can be assigned as class teachers when required.

Assignments

Class and section assignments can be configured after saving.

Attendance

Teacher assignments will later support student attendance management.

{{-- ==================================================== Sidebar ==================================================== --}}
{{-- ================================================= Profile Preview ================================================= --}}

Profile Preview

Preview the selected teacher photo.

New Teacher

Designation

{{-- ================================================= Save ================================================= --}}

Create Teacher

Review the information before saving.

Teacher ID and phone number must be unique. Email must also be unique when provided.

Cancel
{{-- ================================================= Quick Guide ================================================= --}}

Quick Guide

1

Personal Details

Enter the teacher's ID, name, gender and basic information.

2

Employment Details

Set designation, employment type, joining date and qualification.

3

Assign Classes

After saving, class and section assignments can be configured.

@endsection @push('scripts') @endpush