@extends('dashboard.layouts.master') @section('css') @endsection @section('breadcrumb')

{{trans('labels.educational_centers')}}

@can('admins-create') @endcan
@endsection @section('content')
{{--

Buttons example

--}} {{--

The Buttons extension for DataTables--}} {{-- provides a common set of options, API methods and styling to display--}} {{-- buttons on a page that will interact with a DataTable. The core library--}} {{-- provides the based framework upon which plug-ins can built.--}} {{--

--}} @foreach($data['centers'] as $center) @endforeach
{{trans('labels.name')}} {{trans('labels.groups')}} {{trans('labels.type')}} {{trans('labels.status')}} {{trans('labels.action')}}
{{$center->name}} {{$center->groups->count()}} {{$center->is_physical ? __('labels.physical') : __('labels.online')}} {{$center->is_active ? 'متاح' : 'مغلق'}} @can('configure-data') @endcan
@endsection @section('script') @endsection