@extends('hr_main') @section('title', '| ' . $data['pageTitle']) @section('content')
{{ $data['pageTitle'] }}
@if(count($data['configurations']) != 0) {!! Form::open(['url' => '', 'role' => 'form', 'class' => 'form-horizontal form-groups']) !!}
@foreach($data['configurations'] as $key => $configValue) @endforeach
Department Designation Employee Action
{!! Form::select('department[]', $data['departments'], $configValue->department, ['class' => 'form-control department']) !!} {!! Form::select('designation[]', $data['designations'], $configValue->designation, ['class' => 'form-control designation']) !!} @if($configValue->employees) @else @endif @if($key != 0) @endif

{!! Form::submit('Update', ['id' => 'submit', 'class' => 'btn btn-info']) !!} Close
{!! Form::close() !!} @endif
@endsection