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

Create Parent

Add parent, guardian and communication information for students.

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

Please correct the following information.

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

Parent Information

Enter the student's primary parent information.

{{-- Father Name --}}
@error('father_name')

{{ $message }}

@enderror
{{-- Mother Name --}}
@error('mother_name')

{{ $message }}

@enderror
{{-- ================================================= Guardian Information ================================================= --}}

Guardian Information

Add guardian details when someone other than the parents is responsible for the student.

{{-- Guardian Name --}}
@error('guardian_name')

{{ $message }}

@enderror
{{-- Guardian Relation --}}
@error('guardian_relation')

{{ $message }}

@enderror
{{-- Guardian Phone --}}
@error('guardian_phone')

{{ $message }}

@enderror
{{-- Guardian Email --}}
@error('guardian_email')

{{ $message }}

@enderror
{{-- ================================================= Contact Information ================================================= --}}

Contact Information

Primary contact details used by the school for communication.

{{-- Primary Phone --}}
@error('primary_phone')

{{ $message }}

@enderror

This will be used as the main contact number.

{{-- Alternate Phone --}}
@error('alternate_phone')

{{ $message }}

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

{{ $message }}

@enderror
{{-- ================================================= Address ================================================= --}}

Address

Residential or correspondence address of the family.

0 / 1000
@error('address')

{{ $message }}

@enderror
{{-- ==================================================== Sidebar ==================================================== --}}
{{-- ================================================= Save ================================================= --}}

Create Parent

Review the information before saving.

The primary phone number must be unique. A single parent record can later be linked with one or more students.

Cancel
{{-- ================================================= Communication Preferences ================================================= --}}

Communication

Configure how the school can contact this family.

{{-- SMS --}}

Allow SMS messages to the primary phone.

@error('sms_enabled')

{{ $message }}

@enderror
{{-- Email --}}

Allow notices and communication by email.

@error('email_enabled')

{{ $message }}

@enderror
{{-- ================================================= Status ================================================= --}}

Record Status

@error('is_active')

{{ $message }}

@enderror

Inactive records remain stored but should not be selected for new student assignments.

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

Quick Guide

1

Add Parent Details

Enter the father and optional mother information.

2

Add Contact Information

Provide the primary phone and available email address.

3

Link Students

After saving, this parent can be selected when creating or editing students.

@endsection @push('scripts') @endpush