@if(Session::has('success'))
Success!
{{Session::get('success')}}
@endif
@if(Session::has('fails'))
Alert! Failed.
{{Session::get('fails')}}
@endif
| {{Lang::get('lang.group_name')}} |
{{Lang::get('lang.status')}} |
{{Lang::get('lang.group_members')}} |
{{Lang::get('lang.created')}} |
{{Lang::get('lang.last_updated')}} |
{{Lang::get('lang.action')}} |
@foreach($groups as $group)
| {{$group -> name }} |
@if($group->group_status=='1')
{{'Active'}}
@else
{{'Inactive'}}
@endif
| {{count($group_assign_department->where('group_id',$group->id))}} |
{{$group -> created_at}} |
{{$group -> updated_at}} |
{!! Form::open(['route'=>['groups.destroy', $group->id],'method'=>'DELETE']) !!}
{!! Form::button(' Delete',
['type' => 'submit',
'class'=> 'actions-line icon-trash',
'onclick'=>'return confirm("Are you sure?")'])
!!}
{!! Form::close() !!}
|
@endforeach