@include('common.header_links')
@include('common.header') @include('common.sidebar')

{{ $main_title }}

Please fill in all required * fields below. After completing the form, click "{{ isset($details) ? 'Update' : 'Add' }}" to submit. Click "Reset Form" to clear the form.
@if(session('error'))
@endif @if(session('failed'))
@endif @if(session('success'))
@endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

{{ isset($details) ? 'Edit' : 'Add' }} {{ $title }} Form

{{-- list --}} List
@csrf
Please enter Name.
Please select a Gender.
Please enter Date of Birth.
Please enter the address.
@if(isset($details) && !empty($details->photo_path) && file_exists(public_path($details->photo)))
Employee Photo
*Upload a new image to replace the current photo.
@endif
Please enter Contact Number.
Please enter Aadhaar Number.
Please Select a Designation.
Please Select a Designation.
Please select a Type.
Please enter Joining Date.
Please select a Attendance Type.
@include('common.footer')
@include('common.script')