@extends('admin.mainview') @section('admcontent')
Данни за научен ръководител
Титла
{{$advisor->title}}
Име
{{$advisor->name}} {{$advisor->surname}} {{$advisor->last_name}}
Месторабота
{{$advisor->workplace}}
e-mail
{{$advisor->email}}
Телефон
{{$advisor->phone}}
@if(\App\PhDStudent::where('scientific_advisor',$advisor->id)->orWhere('scientific_advisor_sec',$advisor->id)->count() > 0) Докторанти
{{----}} @foreach(\App\PhDStudent::where('scientific_advisor',$advisor->id)->orWhere('scientific_advisor_sec',$advisor->id)->get() as $p) {{----}} @endforeach
Име Професионално направление Специалност КатедраФакултетРъководители Дата на зачисляване Състояние Действия
{{$p->name}} {{$p->surname}} {{$p->last_name}} {{$p->specialty->professional_area->code}} {{$p->specialty->professional_area->name}} {{$p->specialty->name}} {{$p->department->name}}{{$p->department->faculty->name}} {{\App\ScientificAdvisor::where('id',$p->scientific_advisor)->first()->buildName()}} @if(!empty($p->scientific_advisor_sec))
{{\App\ScientificAdvisor::where('id',$p->scientific_advisor_sec)->first()->buildName()}} @endif
{{$p->enrollment_date}} {{$p->getStatus()}} Смяна на парола Редактирай Изтрий
@endif
@stop