@extends('layouts.admin.index') @section('content') @php $col = 'col-md-12 col-xl-12 col-xs-12 col-sm-12'; @endphp
@if(create()) @php $col = 'col-md-8 col-xl-8 col-xs-8 col-sm-8'; @endphp
@csrf
@if($errors->has('department_name')) {{ $errors->first('department_name') }} @endif
{{--
@if($errors->has('department_short_name')) {{ $errors->first('department_short_name') }} @endif
--}} {{--
@if($errors->has('department_description')) {{ $errors->first('department_description') }} @endif
--}}
@endif
{{-- --}}
{{-- --}} @foreach($departments as $key => $department) {{-- --}} {{-- --}} @endforeach
{{ trans('cruds.department_name') }}{{ trans('cruds.department_short_name') }} {{ trans('cruds.actions') }}
{{ $department->department_name ?? '' }}{{ $department->department_short_name ?? '' }}{{ isset($department->status)?$department->status->name:'' }} @if(show()) @endif @if(edit()) @endif {{-- @if(delete())
@endif --}}
@endsection @section('scripts') @parent @endsection