@extends('layouts.master') @section('main-content')
<< Back to Profile
{{user_details_by_id($oneStaffs->user_id)->name.'\'s 1:1 : '.date('dS M, Y',strtotime($oneStaffs->meetDate))}}
Conducted by {{$oneStaffs->reviewed_by > 0? user_details_by_id($oneStaffs->reviewed_by)->name:'NA'}}
{{getToogleCategory(['cat_id'=>$oneStaffs->one_info->oneTypeId,'cat_name'=>''])}}
{{date('dS M, Y H:ia',strtotime($oneStaffs->updated_at))}}
{!! profile_info(['user'=>$oneStaffs->user_id,'height'=>40,'width'=>40,'elementClass'=>'float-right','withinSpecificElement'=>'']) !!} {!! ($oneStaffs->reviewed_by>0)?profile_info(['user'=>$oneStaffs->reviewed_by,'height'=>40,'width'=>40,'elementClass'=>'float-right','withinSpecificElement'=>'']):'' !!}
Agenda for this 1:1
    @php($count=1) @foreach($oneStaffs->one_agendas as $agenda)
  • @php($count++) @endforeach
Notes:
@if(is_object($oneStaffs->staff_notes) && count($oneStaffs->staff_notes)>0) @php($count=1) @foreach($oneStaffs->staff_notes as $note) @if($note->accessibility == 'private' && in_array(loggedin_userSession()->id,explode(',',$note->accessible_to)))
{{$note->created_at->diffForHumans()}}
@php($count++) @elseif($note->accessibility == 'public')
{{$note->created_at->diffForHumans()}}
@php($count++) @endif @endforeach @if($count ==1) @endif @else @endif
Documents:
@if(is_object($oneStaffs->staff_documents) && count($oneStaffs->staff_documents)>0)
    @php($count=1) @foreach($oneStaffs->staff_documents as $docs) @if($docs->accessibility == 'private' && in_array(loggedin_userSession()->id,explode(',',$docs->accessible_to))) @php($count++)
  • {{$docs->doc_name}}
  • @elseif($docs->accessibility == 'public') @php($count++)
  • {{$docs->doc_name}}
  • @endif @endforeach @if($count ==1) @endif
@else @endif

Recently completed 1:1s for {{user_details_by_id($oneStaffs->user_id)->name}}

@php($count=0) @if(is_object($recentOnes) && count($recentOnes)>0) @foreach($recentOnes as $recent) @if($one->id != $recent->ones_staffs_id)
{{$recent->oneTitle}}

Completed On : {{date('dS M, Y H:ia',strtotime($recent->updated_at))}}

@if(auth()->user()->hasRole('admin') || auth()->user()->can('Can edit completed 1:1s')) @endif @if(auth()->user()->hasRole('admin') || auth()->user()->can('Can view completed 1:1s')) @endif
@php($count++) @endif @endforeach @if($count ==0)

No recent 1:1 found

@endif @else @endif
@endsection @section('page-js') @endsection