@extends('backoffice.layout.master') @section('setSectionTitle', __('Docenti')) @section('setSectionDescription', __('Gestisci i docenti della tua organizzazione')) @section('setContent')
{{ __('I tuoi docenti') }}
@if($allowsActions) @endif
@if(!$allowsActions) @endif @if($teachers->count() > 0)
@foreach($teachers as $teacher)
{{ strtoupper(substr($teacher->first_name, 0, 1) . substr($teacher->last_name, 0, 1)) }}
{{ $teacher->first_name }} {{ $teacher->last_name }}
@if($teacher->email)

{{ $teacher->email }}

@endif @if($teacher->refJobCategory)

{{ $teacher->refJobCategory->name }}

@endif
@endforeach
@else
{{ __('Nessun docente trovato') }}

{{ __('Inizia aggiungendo il tuo primo docente.') }}

@endif
@endsection @section('setBodyEnd') @endsection