@extends('layouts.app') @section('content')

{{ label('Add Employees') }}

@csrf
{{ createText( 'first_name', 'first_name', "First Name", '', $editable ? $data->first_name : '', ) }}
{{ createText( 'middle_name', 'middle_name', "Middle Name", '', $editable ? $data->middle_name : '', ) }}
{{ createText( 'last_name', 'last_name', "Last Name", '', $editable ? $data->last_name : '', ) }}
{{ createText('email', 'email', 'Email', '', $editable ? $data->email : '') }}
{{ createCustomSelect( 'tbl_genders', 'title', 'gender_id', $editable ? $data->genders_id : '', 'Genders Id', 'genders_id', 'form-control select2', 'status<>-1', ) }}
{{ createText( 'nepali_dob', 'nepali_dob', "Nepali Dob", '', $editable ? $data->nepali_dob : '', ) }}
{{ createDate('dob', 'Dob', '', $editable ? $data->dob : '') }}
{{ createCustomSelect( 'tbl_nationalities', 'title', 'nationality_id', $editable ? $data->nationalities_id : '', 'Nationalities Id', 'nationalities_id', 'form-control select2', 'status<>-1', ) }}
{{ createText( 'about_me', 'about_me', "About Me", '', $editable ? $data->about_me : '', ) }}
{{ createImageInput('signature', 'Signature', '', $editable ? $data->signature : '') }}
{{ createText( 'father_name', 'father_name', "Father Name", '', $editable ? $data->father_name : '', ) }}
{{ createText( 'mother_name', 'mother_name', "Mother Name", '', $editable ? $data->mother_name : '', ) }}
{{ createText( 'grand_father_name', 'grand_father_name', "Grand Father Name", '', $editable ? $data->grand_father_name : '', ) }}
{{ createText( 'grand_mother_name', 'grand_mother_name', "Grand Mother Name", '', $editable ? $data->grand_mother_name : '', ) }}
{{ createText('spouse', 'spouse', 'Spouse', '', $editable ? $data->spouse : '') }}
{{ createText('contact', 'contact', 'Contact', '', $editable ? $data->contact : '') }}
{{ createText( 'alt_contact', 'alt_contact', "Alt Contact", '', $editable ? $data->alt_contact : '', ) }}
{{ createImageInput( 'profile_picture', "Profile Picture", '', $editable ? $data->profile_picture : '', ) }}
{{ createCustomSelect( 'tbl_users', 'name', 'id', $editable ? $data->users_id : '', 'Users Id', 'users_id', 'form-control select2', 'status<>-1', ) }}
{{ createText( 'is_login_required', 'is_login_required', "Is Login Required", '', $editable ? $data->is_login_required : '', ) }}
{{ createText('skills', 'skills', 'Skills', '', $editable ? $data->skills : '') }}
{{ createTextarea( 'experience', "experience ckeditor-classic", 'Experience', $editable ? $data->experience : '', ) }}
{{ createText( 'permanent_address', 'permanent_address', "Permanent Address", '', $editable ? $data->permanent_address : '', ) }}
{{ createCustomSelect( 'tbl_cities', 'title', 'city_id', $editable ? $data->permanent_city : '', 'Permanent City', 'permanent_city', 'form-control select2', 'status<>-1', ) }}
{{ createText( 'temporary_address', 'temporary_address', "Temporary Address", '', $editable ? $data->temporary_address : '', ) }}
{{ createCustomSelect( 'tbl_cities', 'title', 'city_id', $editable ? $data->temporary_city : '', 'Temporary City', 'temporary_city', 'form-control select2', 'status<>-1', ) }}
{{ createText( 'old_system_address', 'old_system_address', "Old System Address", '', $editable ? $data->old_system_address : '', ) }}
{{ createText('education', 'education', 'Education', '', $editable ? $data->education : '') }}
{{ createCustomSelect( 'tbl_castes', 'title', 'caste_id', $editable ? $data->castes_id : '', 'Castes Id', 'castes_id', 'form-control select2', 'status<>-1', ) }}
{{ createCustomSelect( 'tbl_ethnicities', 'title', 'ethnicity_id', $editable ? $data->ethnicities_id : '', 'Ethnicities Id', 'ethnicities_id', 'form-control select2', 'status<>-1', ) }}
{{ createCustomSelect( 'tbl_dags', 'title', 'dag_id', $editable ? $data->dags_id : '', 'Dags Id', 'dags_id', 'form-control select2', 'status <>-1', ) }}
{{ createText('title', 'title', 'Title', '', $editable ? $data->title : '') }}
{{ createPlainTextArea('remarks', '', 'Remarks', $editable ? $data->remarks : '') }}
@endsection