@extends('layouts.app') @section('page-css') @endsection @section('content')
{{ $page_title }}
@if(session()->has('success'))
{{ session()->get('success') }}
@endif @if(session()->has('danger'))
{{ session()->get('danger') }}
@endif
{{-- Coach Name --}}

{{ $coach_details->user->full_name }}

{{-- Coachees Open Bucket --}}
@if(!empty($coachees)) @else @endif
{{-- Effectivity Date --}}
{{-- Tag Request Reason --}}
@csrf
{{--
--}}
{{-- Coachees List --}}
@if(!empty($coach_details->coachees)) @foreach($coach_details->coachees as $key => $value) @endforeach @else @endif
ID Coachee Name Status Created Action
{{ $value->user_id }} {{ $value->user->full_name }} {{ $value->status }} {{ date('F d, Y', strtotime($value->created_at)) }}
{{-- Division --}}

{{ $coach_details->user->division->division_name }}

{{-- Slug --}}

{{ $coach_details->user->user_slug }}

{{-- Email --}}

{{ $coach_details->user->email_address }}

{{-- Contact --}}

{{ $coach_details->user->contact }}

{{-- Gender --}}

{{ ($coach_details->user->gender == 'M') ? 'MALE' : 'FEMALE' }}

{{-- Created --}}

{{ date('F d, Y', strtotime($coach_details->created_at)) }}

{{-- Logs --}}

Most Recent

@if($tag_logs->responseCode == 800) @if(!empty($tag_logs->data)) @foreach($tag_logs->data as $key => $value) @endforeach @else @endif @else @endif
Date Created Details Action Reason Created
{{ date('Y-m-d', strtotime($value->created_at)) }} {{ $value->admin_name }} {{ ($value->action == 'TAG' ? 'tagged' : 'untagged') }} {{ $value->coachee_name }} with {{ $value->coach_name }} {{ $value->action }} {{ strtoupper($value->request_reason) }} {{ date('F d, Y', strtotime($value->created_at)) }}
{{-- Comment --}}
Cancel
@include('pages.includes.footer')
@endsection @section('page-js') @endsection