@extends('pages.index') @section('admin_content')
| Foto | Nama | NIP | Mata Pelajaran | ||
|---|---|---|---|---|---|
|
@if($teacher->user && $teacher->user->profile_picture)
|
{{ $teacher->name }} | {{ $teacher->user->email ?? '-' }} | {{ $teacher->nip ?? '-' }} | {{ $teacher->subject_objects->pluck('name')->join(', ') ?: '-' }} |