@extends(adminLayout()) @section('content')

User Details

{{ __lang('name') }}
{{ htmlentities($row->name) }} {{ htmlentities($row->last_name) }}
@php foreach($custom as $customRow): @endphp
{{ htmlentities($customRow->name) }}
{{ htmlentities($customRow->type == 'checkbox' ? boolToString($customRow->value) : $customRow->value) }}
@endforeach
{{ __lang('email') }}
{{ htmlentities($row->email) }}
{{ __lang('telephone-number') }}
{{ htmlentities($row->mobile_number ? $row->mobile_number : '-') }}
{{ __lang('status') }}
{{ htmlentities((empty($row->enabled)) ? 'Inactive' : 'Active') }}
@php if (!empty($row->picture) && isUrl($row->picture)) { echo ''; } elseif (!empty($row->picture) && isImage($row->picture)) { echo ''; } @endphp

Acara yang diikuti

@php foreach(\App\Student::find($id)->studentCourses()->whereHas('course')->get() as $session): @endphp @php endforeach; @endphp
Acara {{ __lang('enrolled-on') }}
{{ $session->course->name }} {{ showDate('d-M-Y', $session->created_at) }}
@endsection