@extends('admin.layouts.app') @section('content')

{{ trans('admin/main.support_departments') }}

@foreach($departments as $department) @endforeach
{{ trans('admin/main.department') }} {{ trans('admin/main.conversations') }} {{ trans('admin/main.actions') }}
{{ $department->title }} {{ $department->supports_count }} @can('admin_support_departments_edit') @endcan @can('admin_support_departments_delete') @include('admin.includes.delete_button',['url' => getAdminPanelUrl().'/supports/departments/'. $department->id.'/delete','btnClass' => '']) @endcan
{{ $departments->appends(request()->input())->links() }}
{{ csrf_field() }} @if(!empty(getGeneralSettings('content_translate')))
@error('locale')
{{ $message }}
@enderror
@else @endif
@error('title')
{{ $message }}
@enderror
@endsection @push('scripts_bottom') @endpush