@extends('layouts/gnr_layout') @section('title', '| ' . $data['title']) @section('content')
{{ $data['title'] }}
{!! Form::open(['url' => '', 'role' => 'form', 'class' => 'form-horizontal form-groups']) !!} id }}' />
{!! Form::text('title', $data['layerObject']->title, [ 'class' => 'form-control', 'id' => 'title', 'type' => 'text', 'readonly' => true ]) !!}
{!! Form::text('code', $data['layerObject']->code, [ 'class' => 'form-control', 'id' => 'code', 'type' => 'text', 'readonly' => true ]) !!}
{!! Form::text( 'assigned_emp', $data['layerObject']->employee ? $data['layerObject']->employee->employee_name : '', [ 'class' => 'form-control', 'id' => 'assigned_emp', 'type' => 'text', 'readonly' => true ]) !!}
{!! Form::text( 'effect_from_value', $data['layerObject']->effect_from ? date('d-m-Y', strtotime($data['layerObject']->effect_from)) : '', [ 'class' => 'form-control', 'id' => 'effect_from_value', 'type' => 'text', 'readonly' => true ]) !!}

All Available Employees To Assign


{!! Form::text('effect_from', null, [ 'class' => 'form-control', 'id' => 'effect_from', 'type' => 'date', 'readonly' => true, 'style' => 'cursor: pointer;' ]) !!}
{!! Form::submit('Submit', ['id' => 'submit', 'class' => 'btn btn-info']) !!} Close
{!! Form::close() !!}
@endsection