@extends('admin.layout.app') @section('title','Create Employee Family Detail') @section('content')

Create Employee Family Detail

{!! Form::open(['route'=>array('employee-family-detail.store'), 'onsubmit'=>'BtnSubmit.disabled = true','method' => 'post','files'=>true]) !!}
{!! Form::select("employee_id", [''=>'Select']+$employees, old("employee_id"), ['class'=>'form-control', 'required', 'id'=>'employee_id'] ) !!}
{{$errors->first() ? 'Employee family detail already exists':''}}
{{$errors->first('mother_name')}}
{{$errors->first('father_name')}}
{!! Form::select("marital_status", [''=>'Select','single'=>'Single', 'married'=>'Married', 'widowed'=>'Widowed', 'divorced'=>'Divorced', 'separated'=>'Separated'], old("marital_status"), ['class'=>'form-control', 'required', 'id'=>'marital_status'] ) !!}
{{$errors->first('marital_status')}}
{{$errors->first('family_photo')}}
{!! Form::close() !!}
@endsection @push('footerscript') @endpush