@extends('backend.layout.main') @section('content') @if($errors->has('name'))
×
{{ $errors->first('name') }}
@endif @if(session()->has('message'))
×
{{ session()->get('message') }}
@endif @if(session()->has('not_permitted'))
×
{{ session()->get('not_permitted') }}
@endif
{{trans('file.Add Department')}}
@foreach($lims_department_all as $key=>$department) @endforeach
{{trans('file.Department')}}
{{trans('file.action')}}
{{$key}}
{{ $department->name }}
{{trans('file.action')}}
Toggle Dropdown
{{trans('file.edit')}}
{{ Form::open(['route' => ['departments.destroy', $department->id], 'method' => 'DELETE'] ) }}
{{trans('file.delete')}}
{{ Form::close() }}
{!! Form::open(['route' => 'departments.store', 'method' => 'post']) !!}
{{trans('file.Add Department')}}
{{trans('file.The field labels marked with * are required input fields')}}.
{{trans('file.name')}} *
{{Form::text('name',null,array('required' => 'required', 'class' => 'form-control', 'placeholder' => 'Type department name...'))}}
{{ Form::close() }}
{{ Form::open(['route' => ['departments.update', 1], 'method' => 'PUT'] ) }}
{{trans('file.Update Department')}}
{{trans('file.The field labels marked with * are required input fields')}}.
{{trans('file.name')}} *
{{Form::text('name',null, array('required' => 'required', 'class' => 'form-control'))}}
{{ Form::close() }}
@endsection @push('scripts')