@extends('backEnd.master') @section('title') @lang('hr.add_new_staff') @endsection @section('css') @endsection @section('mainContent')
{{ html()->form('POST', route('staffStore'))->attributes([ 'class' => 'form-horizontal', 'files' => true, 'enctype' => 'multipart/form-data', ])->open() }}

@lang('hr.staff_information')

@if (moduleStatusCheck('MultiBranch') && isset($branches))
@if ($errors->has('branch_id')) {{ $errors->first('branch_id') }} @endif
@endif
@if ($errors->has('staff_no')) {{ $errors->first('staff_no') }} @endif
@if ($errors->has('role_id')) {{ $errors->first('role_id') }} @endif
@if ($errors->has('department_id')) {{ $errors->first('department_id') }} @endif
@if ($errors->has('designation_id')) {{ $errors->first('designation_id') }} @endif
@if ($errors->has('first_name')) {{ $errors->first('first_name') }} @endif
@if ($errors->has('last_name')) {{ $errors->first('last_name') }} @endif
@if ($errors->has('fathers_name')) {{ $errors->first('fathers_name') }} @endif
@if ($errors->has('mothers_name')) {{ $errors->first('mothers_name') }} @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@if ($errors->has('gender_id')) {{ $errors->first('gender_id') }} @endif
{{ $errors->first('date_of_birth') }}
{{ $errors->first('date_of_joining') }}
@if ($errors->has('mobile')) {{ $errors->first('mobile') }} @endif
@if ($errors->has('emergency_mobile')) {{ $errors->first('emergency_mobile') }} @endif
@if ($errors->has('driving_license')) {{ $errors->first('driving_license') }} @endif
(JPG,JPEG,PNG are allowed for upload)
show_public == 1 ? 'checked' : '' }}>
show_public == 0 ? 'checked' : '' }}>
@if ($errors->has('current_address')) {{ $errors->first('current_address') }} @endif
@if ($errors->has('permanent_address')) {{ $errors->first('permanent_address') }} @endif
@if ($errors->has('qualification')) {{ $errors->first('qualification') }} @endif
@if ($errors->has('experience')) {{ $errors->first('experience') }} @endif
@if ($errors->has('epf_no')) {{ $errors->first('epf_no') }} @endif
@if ($errors->has('basic_salary')) {{ $errors->first('basic_salary') }} @endif
@if ($errors->has('location')) {{ $errors->first('location') }} @endif
@if (isset($custom_fields) && $custom_fields->count()) {{-- Custom Field Start --}}

@lang('hr.custom_field')


@include('backEnd.studentInformation._custom_field') {{-- Custom Field End --}} @endif
{{ html()->form()->close() }}
@endsection @include('backEnd.partials.date_picker_css_js') @section('script') @endsection