@extends('layouts.base') @php use Illuminate\Support\Str; @endphp @section('content') @section('breadcrumb') @endsection

{{ $task->name }}

Détails de l'étape

Informations
Nom
{{ $task->name }}
Slug
{{ $task->slug }}
Type
{{ $task->type?->label() ?? '-' }}
Ordre
{{ $task->order ?? '-' }}
Parent
{{ $task->parent?->name ?? 'Aucun' }}
Délai SRU
@if($task->sru_delay !== null) {{ $task->sru_delay }} jour(s) @else Non définie @endif
Intended for
{{ $task->intended_for ?? '-' }}
Contenu HTML
{!! $task->html_content ?? 'Aucun contenu' !!}
Descriptions

Client :
{{ $task->description_client ?? '—' }}

Admin :
{{ $task->description_admin ?? '—' }}

Hiérarchie

Enfants : {{ $task->children->count() }}

@if($task->sendEmails && $task->sendEmails->count() > 0)
Emails associés ({{ $task->sendEmails->count() }})
@foreach($task->sendEmails as $email)
{{ $email->object }}
@if($email->type) {{ $email->type->label() }} @endif
@if($email->from)
De :
{{ $email->from }}
@endif @if($email->to)
À :
{{ $email->to }}
@endif @if($email->bcc && is_array($email->bcc) && count($email->bcc) > 0)
BCC :
{{ count($email->bcc) }} email(s) {{ implode(', ', $email->bcc) }}
@endif @if($email->documentTemplate)
Document :
{{ $email->documentTemplate->name ?? 'Template #' . $email->documentTemplate->id }}
@endif
Texte :

{{ Str::limit($email->text, 150) }}

@if($email->signature) Signature :

{{ Str::limit($email->signature, 100) }}

@endif
@endforeach
@endif
@endsection