@if (count($consultations) == 0 && count($propositions) == 0 && count($tags) == 0)
@else
@if (count($consultations) != 0)
Consultations
| # |
Titre |
Description |
Gestion |
@foreach ($consultations as $consultation)
| {{ $consultation->id }} |
{!! $consultation->title !!} |
{!! $consultation->description !!} |
@include('consultations.index_gestion', ['consultation' => $consultation])
|
@endforeach
@endif
@if (count($propositions) != 0)
Propositions
| # |
Titre |
Description |
Gestion |
@foreach ($propositions as $proposition)
| {{ $proposition->id }} |
{!! $proposition->title !!} |
{!! $proposition->description !!} |
@include('consultations.propositions.index_gestion', ['proposition' => $proposition])
|
@endforeach
@endif
@if (count($tags) != 0)
Tags
| # |
Nom |
Consultations |
@foreach ($tags as $tag)
| {{ $tag->id }} |
{!! $tag->name !!} |
@foreach ($tag->consultations as $consultation)
{!! $consultation->title !!}@php
if (!$loop->last)
{
echo ', ';
}
@endphp
@endforeach
|
@endforeach
@endif
@endif