@extends('backEnd.layouts.master') @section('title','Add New Employee') @section('css') @endsection @section('content')
{{-- HEADER --}}

Add New Employee

Create a new employee profile and link user account.

Back to List
@csrf
{{-- LEFT COLUMN: Main Form --}}
{{-- Personal Information --}}
Personal & Job Details
@error('name') {{ $message }} @enderror
@error('email') {{ $message }} @enderror
@error('joining_date') {{ $message }} @enderror
{{-- Financial Information --}}
Financial & Address
@error('basic_salary') {{ $message }} @enderror
{{-- RIGHT COLUMN: Account Setup --}}
Account Setup
{{-- Option 1: Existing User --}}
If the employee already has a login account.

OR
{{-- Option 2: Create New User --}}
Cancel
@endsection @push('scripts') @endpush