@extends('layouts.app') @section('content')
@if (session('sucesso')) @endif @if(session('erro')) @endif

Substituições

{{$trabalho->titulo}}
@if($subsPendentes->count() > 0) @foreach($subsPendentes as $subs) @endforeach
Participante Substituido Participante Substituto Plano Substituto Opção
{{$subs->participanteSubstituido->user->name}} {{$subs->participanteSubstituto->user->name}} {{$subs->planoSubstituto->titulo}}
@else

Nenhuma substituição Pendente

@endif

Histórico de participantes

Nome/Periodo
@foreach($participantesExcluidos as $participante)

{{$participante->user->name}}

{{date('d-m-Y', strtotime($participante->created_at))}} - {{date('d-m-Y', strtotime($participante->deleted_at))}}
@endforeach
@endsection @section('javascript') @endsection