@if (!($projet->migrated && $projet->forfait != 'fantastique'))
{!! lang('Commentaires de ') !!} {{ $projet->user->prenom }}
@if (count($proposition->commentaires) == 0)
{!! lang('Aucun commentaire pour le moment') !!}
@else
@endif
@endif
{!! lang('Évaluation de ') !!} {{ $projet->user->prenom }}
@if ($projet->migrated && $projet->forfait != 'fantastique')
@else
@endif
@if (!($projet->migrated && $projet->forfait != 'fantastique'))
{!! lang("J'aime") !!} :
@if ($projet->conception)
{!! $proposition->jaime ?? 'Aucun message fourni' !!}
@else
Aucun message fourni
@endif
{!! lang("J'aime un peu moins") !!} :
@if ($projet->conception)
{!! $proposition->jaime_peu_moins ?? 'Aucun message fourni' !!}
@else
Aucun message fourni
@endif
@endif
@if ($projet->conception)
@php
// $esquisses = $projet->esquisses->where('designer_id', '!=', auth()->id())->where('is_draft',0)->get();
$esquisses = array_filter(
$projet->esquisses->toArray(),
function ($item, $key) {
return $item['designer_id'] != auth()->id();
},
ARRAY_FILTER_USE_BOTH,
);
$unique_esquisses_arr = array_unique(array_column($esquisses, 'designer_id'));
@endphp
@foreach ($unique_esquisses_arr as $key => $esquisse)
Concept d'idées {{ $key + 1 }}
@endforeach
@endif