@extends('layouts.app') @section('content')

Panel de tareas por perfil

@if (is_countable($allTaskByProfile))
@foreach($allTaskByProfile as $tasks)

@foreach($tasks as $t) {{--{{dd($tasks)}}--}} @if($t->unit_id == null ) Borrador @else @endif @if(!$user->isApplicant()) @if($t->unit_id == null )
@else @endif @endif @endforeach
Tarea Líneas de producción Unidad Estado Fecha de ingreso Ver tarea Pipelines
{{($t->title) ? $t->title : " "}} {{($t->pipeline->first()) ? $t->pipeline->first()->name : " "}} {{ ($t->unit) ? $t->unit->name : " " }}{{ ($t->status) ? $t->status->name : " " }}{{ ($t->created_at) ? date('d-m-Y', strtotime(str_replace('/', '-', $t->created_at))) : " " }}
    @if($t->unit_id) @foreach($t->pipeline->first()->unitsByRevision($t->pipelineRevision) as $u)
  • @endforeach @endif
@endforeach
@endif
@endsection