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