" . e($timeline->name); @endphp
@include('components.buttons._headLineButtonsBackAdd', [
'headLine' => $headLine,
'routeBack' => 'admin.contaAngra.linhasDoTempo.index',
'routeBackParams' => request()->only(['q', 'status', 'date_from', 'date_to', 'tag', 'sort', 'dir', 'view']),
'nameBack' => __('Lista'),
'routeAdd' => $perm['editar'] ? 'admin.contaAngra.linhasDoTempo.edit' : null,
'routeAddParams' => $perm['editar'] ? ['timeline' => $timeline] : [],
'nameAdd' => __('Editar linha'),
'permission' => 'GERENCIADOR_DE_LINHAS_DO_TEMPO',
])
@include('errors.messageFlash')
{{ __('Marco zero') }}: {{ $timeline->event_date?->format('d/m/Y') }}
@if($timeline->description)
{{ __('Descrição / resumo') }}: {{ $timeline->description }}
@endif
{{ __('Processo') }}
{!! $timeline->process_text !!}
@if($timelineAttachments->isNotEmpty())
{{ __('Anexos da linha') }}
@foreach($timelineAttachments as $att)
-
{{ e($att->original_name) }}
{{ __('Baixar') }}
@endforeach
@endif
@foreach($timeline->historicalPoints as $idx => $p)
@php
$pointAtt = $attachmentsByEntity->get(\App\Enums\Accounts\LinhasDoTempoAttachmentEntity::HistoricalPoint->value . ':' . $p->id, collect());
@endphp
{{ __('Ponto') }} {{ $idx + 1 }} {{ __('de') }} {{ $timeline->historicalPoints->count() }}
{{ $p->name }}
{{ $p->event_date?->format('d/m/Y H:i') }}
{{ __('Processo') }}
{!! $p->process_text !!}
@if($pointAtt->isNotEmpty())
{{ __('Anexos') }}
@foreach($pointAtt as $att)
@endforeach
@endif
@include('components.linhasDoTempo.offcanvas-notas-ponto', [
'timeline' => $timeline,
'point' => $p,
'perm' => $perm,
])
@endforeach
@if($timeline->historicalPoints->isEmpty() && $perm['adicionar'])
{{ __('Nenhum ponto histórico ainda. Use o botão “Adicionar ponto” na faixa acima.') }}
@endif
@if($perm['excluir'])
@endif