@extends('layouts.app') @section('content')
| Processo | Cliente | Tipo de Atividade | {{--Descrição da Atividade | --}}Responsável | Prioridade | Prazo | Situação | Status | Ações | |
|---|---|---|---|---|---|---|---|---|---|---|
| @if ($tarefa->processo) {{ $tarefa->processo }} @else sem processo @endif | @if ($tarefa->cliente && $tarefa->cliente->nome) {{ $tarefa->cliente->nome }} @else - @endif | {{ $tarefa->tipo_atividade }} | {{--{{ $tarefa->descricao_atividade }} | --}}@if ($tarefa->membroEquipe && $tarefa->membroEquipe->nome) {{ explode(' ', $tarefa->membroEquipe->nome)[0] }} @else - @endif | {{ ucfirst($tarefa->prioridade) }} | {{ $tarefa->prazo }} |
@can('update situacao tarefas')
|
@can('update status tarefas')
@if ($tarefa->data_inicio)
Início:
@if (is_string($tarefa->data_inicio))
{{ \Carbon\Carbon::parse($tarefa->data_inicio)->format('d/m/Y') }}
@else
{{ $tarefa->data_inicio->format('d/m/Y') }}
@endif
@endif
@if ($tarefa->data_termino)
Término:
@if (is_string($tarefa->data_termino))
{{ \Carbon\Carbon::parse($tarefa->data_termino)->format('d/m/Y') }}
@else
{{ $tarefa->data_termino->format('d/m/Y') }}
@endif
@endif
@if ($tarefa->data_inicio)
@endcan
Início:
@if (is_string($tarefa->data_inicio))
{{ \Carbon\Carbon::parse($tarefa->data_inicio)->format('d/m/Y') }}
@else
{{ $tarefa->data_inicio->format('d/m/Y') }}
@endif
@endif
@if ($tarefa->data_termino)
Término:
@if (is_string($tarefa->data_termino))
{{ \Carbon\Carbon::parse($tarefa->data_termino)->format('d/m/Y') }}
@else
{{ $tarefa->data_termino->format('d/m/Y') }}
@endif
@endif
|
|
|
|
Nenhuma tarefa encontrada. |
||||||||||