@extends('layouts.app') @section('content')
@include('search.form')

@forelse ($data as $k => $v)
@if ($k == 'App\Onboarding')

Onboarding

@else

@if ( canTask('can_web') && canTask('can_prog') ) Web & Projects @elseif ( canTask('can_web') && !canTask('can_prog') ) Web @elseif ( !canTask('can_web') && canTask('can_prog') ) Projects @endif

@endif
@if ($k == 'App\Onboarding' || ($k == 'App\Task' && (canTask('can_web') || canTask('can_prog'))) ) @forelse ($data[$k] as $k_taskdata => $v_taskdata)
@if ($k == 'App\Onboarding') {{ $v_taskdata['taskdata']['internal_id'] }} @else {{ $v_taskdata['taskdata']['internal_id'] }} @endif No.
@if ($k == 'App\Onboarding')
@else
@endif
edit
{!! $v_taskdata['taskdata']->buttonBadge('status') !!} status
@if ($k == 'App\Onboarding') {{ $v_taskdata['taskdata']['vendor_id'] }} vendor @else {{ $v_taskdata['taskdata']['title'] }} title @endif
@if ($k == 'App\Onboarding') {{ $v_taskdata['taskdata']['product_name'] }} product @else {{ $v_taskdata['taskdata']['primary_contact_name'] }} name @endif
@forelse ($v_taskdata['microtask'] as $k_microtask => $v_microtask)
{!! $v_microtask['microtaskdata']['createdBy']->avatar !!}
{{ $v_microtask['microtaskdata']['createdBy']['name'] }} {{ $v_microtask['microtaskdata']['re'] }} {!! $v_microtask['microtaskdata']->buttonBadge() !!} created: {{ SetTimeZoneFormat($v_microtask['microtaskdata']['created_at'], 'time_ago') }} ({{ SetTimeZoneFormat($v_microtask['microtaskdata']['created_at'], 'day_date_time') }}) {!! $v_microtask['microtaskdata']['note'] !!}
@forelse ($v_microtask['mtsknotesdata'] as $k_mtsknotesdata => $v_mtsknotesdata)
{!! $v_mtsknotesdata['user']->avatar !!}
{{ $v_mtsknotesdata['user']['name'] }} created: {{ SetTimeZoneFormat($v_mtsknotesdata['created_at'], 'time_ago') }} ({{ SetTimeZoneFormat($v_mtsknotesdata['created_at'], 'day_date_time') }}) {!! $v_mtsknotesdata['note'] !!} Hours: {{ $v_mtsknotesdata['hours'] }}
@empty There are no notes yet @endforelse
@empty No entries @endforelse
@empty No entries @endforelse @endif @empty No entries @endforelse
@endsection @section('more_scripts') @include('notessearch.table-js') @endsection