@php use App\Enums\Gender; $title = __('Create Employee'); @endphp @extends('layouts/layoutMaster') @section('title', $title) @section('vendor-style') @vite([ 'resources/assets/vendor/libs/select2/select2.scss', 'resources/assets/vendor/libs/flatpickr/flatpickr.scss', 'resources/assets/vendor/libs/dropzone/dropzone.scss', 'resources/assets/vendor/libs/bs-stepper/bs-stepper.scss', 'resources/assets/vendor/libs/sweetalert2/sweetalert2.scss', ]) @endsection @section('vendor-script') @vite([ 'resources/assets/vendor/libs/select2/select2.js', 'resources/assets/vendor/libs/flatpickr/flatpickr.js', 'resources/assets/vendor/libs/dropzone/dropzone.js', 'resources/assets/vendor/libs/bs-stepper/bs-stepper.js', 'resources/assets/vendor/libs/sweetalert2/sweetalert2.js', ]) @endsection @section('page-script') @vite(['resources/assets/js/app/employee-builder.js']) @endsection @section('content') {{-- Breadcrumbs --}}
{{-- Employee Builder with Stepper --}}
@csrf {{-- Step 1: Personal Information --}}

{{ __('Personal Information') }}

{{ __('Enter basic employee details. Email, phone, and employee code will be validated in real-time.') }}

{{-- Profile Picture --}}
{{ __('Drop profile picture here or click to upload') }}
{{ __('Only .jpg, .jpeg, .png files up to 5MB') }}
{{-- Employee Code --}}
{{ __('Unique identifier for the employee') }}
{{-- Email --}}
{{ __('Used for login and notifications') }}
{{-- Phone --}}
{{ __('Primary contact number') }}
{{-- First Name --}}
{{-- Last Name --}}
{{-- Gender --}}
{{-- Date of Birth --}}
{{-- Blood Group --}}
{{-- Alternative Phone --}}
{{-- Address --}}
{{-- Emergency Contact Section --}}
{{ __('Emergency Contact Information') }}
{{-- Emergency Contact Name --}}
{{-- Emergency Contact Relationship --}}
{{-- Emergency Contact Phone --}}
{{-- Emergency Contact Address --}}
{{-- Step 2: Employment & Account Details --}}

{{ __('Employment & Account Details') }}

{{ __('Configure work-related information, account access, and attendance settings.') }}

{{-- Employment Details Section --}}
{{ __('Employment Details') }}
{{-- Account Settings Section --}}
{{ __('Account Settings') }}
{{ __('Defines user permissions and access level') }}
@if($settings->is_helper_text_enabled) {{ __('Default password:') }} {{$settings->default_password}} @endif
{{-- Attendance Configuration Section --}}
{{ __('Attendance Configuration') }}
{{ __('Choose how this employee will mark attendance') }}
{{-- Dynamic Attendance Type Fields --}} {{-- Probation Period Section --}}
{{ __('Probation Period') }} {{ __('Optional') }}
{{ __('Based on joining date and duration') }}
{{-- Step 3: Review & Create --}}

{{ __('Review & Create') }}

{{ __('Review all employee information before creating the account.') }}

{{-- Personal Information Review --}}
{{ __('Personal Information') }}
{{ __('First Name') }} -
{{ __('Last Name') }} -
{{ __('Employee Code') }} -
{{ __('Email') }} -
{{ __('Phone') }} -
{{ __('Alternative Phone') }} -
{{ __('Gender') }} -
{{ __('Date of Birth') }} -
{{ __('Address') }} -
{{-- Employment Details Review --}}
{{ __('Employment Details') }}
{{ __('Date of Joining') }} -
{{ __('Designation') }} -
{{ __('Team') }} -
{{ __('Reporting Manager') }} -
{{ __('Shift') }} -
{{-- Account Settings Review --}}
{{ __('Account Settings') }}
{{ __('Role') }} -
{{ __('Password') }} -
{{-- Attendance Configuration Review --}}
{{ __('Attendance Configuration') }}
{{ __('Attendance Type') }} -
{{ __('Configuration') }} -
{{-- Probation Period Review --}}
{{ __('Probation Period') }}
{{ __('Duration') }} -
{{ __('End Date') }} -
@endsection