@extends('hr_main') @section('title', '| ' . $data['pageTitle']) @section('content')
{{ $data['pageTitle'] }}
{!! Form::open(['url' => '', 'id' => 'formId', 'class' => 'form', 'method' => 'post']) !!} id }}' name='modelId' /> letter_type_wise_attribute_config->letter_type }}' name='letter_type' /> letter_type_wise_attribute_config->id }}' name='letterTypeWiseAttributeConfig' id="letterTypeWiseAttributeConfig" /> {{-- effect_date)) }}' name='effect_date' /> --}} effect_date)) }}'>



{!! Form::label('Letter Type', 'Letter Type', ['class' => 'control-label']) !!} *
{!! Form::select('org_letter_type', ['' => 'Select Letter Type'] + $data['org_letter_types'], $data['letterTemplateConfig']->letter_type_wise_attribute_config->letter_type, ['class' => 'form-control', 'id' => 'org_letter_type', 'disabled' => true] )!!}

{!! Form::label('Applicable For', 'Applicable For', ['class' => 'control-label']) !!} *
{!! Form::select('applicable_for', $data['applicable_for'], $data['letterTemplateConfig']->applicable_for, ['class' => 'form-control', 'id' => 'applicable_for', 'disabled' => true] )!!}

{!! Form::label('Project', 'Project', ['class' => 'control-label']) !!} *
{!! Form::select('project_ids[]', $data['projects'], json_decode($data['letterTemplateConfig']->project_id), ['class' => 'form-control', 'id' => 'project_id', 'multiple' => 'multiple', 'disabled' => true] )!!}

{!! Form::label('recruitment_type', 'Recruitment Type', ['class' => 'control-label']) !!} *
{!! Form::select('recruitment_type_ids[]', $data['recruitment_types'], json_decode($data['letterTemplateConfig']->recruitment_type_id), ['class' => 'form-control', 'id' => 'recruitment_type_id', 'multiple' => 'multiple', 'disabled' => true] )!!}

{!! Form::label('Position', 'Position', ['class' => 'control-label']) !!} *
{!! Form::select('position_ids[]', $data['positions'], json_decode($data['letterTemplateConfig']->position_id), ['class' => 'form-control', 'id' => 'position_id', 'multiple' => 'multiple', 'disabled' => true] )!!}

{!! Form::label('Effect Date', 'Effect Date', ['class' => 'control-label']) !!} *
{!! Form::text('effect_date', date('d-m-Y', strtotime($data['letterTemplateConfig']->effect_date)), ['class' => 'form-control datepicker', 'id' => 'effect_date', 'placeholder' => 'Choose Effect Date']) !!}


{!! Form::label('Letter Format', 'Letter Format', ['class' => 'control-label']) !!} *

{!! Form::close() !!}
@endsection