@foreach ($wishlist as $key => $wlp)
@endforeach
{{$wlp->title}}
{{\Carbon\Carbon::parse($wlp->approved_time)->format('F j, Y g:i A')}}
Wants: @foreach($wlp->want as $key => $want) {{($want->type == 'Sample') ? 'Samples' : $want->type}}@isset($wlp->want[$key + 1]), @endisset @endforeach
@if(count($wlp->species) > 0)Species: @foreach($wlp->species as $key => $species) {{$species->name}}@isset($wlp->species[$key + 1]), @endisset @endforeach
@endif @php $stringLength = strlen($wlp->description); @endphp{!!nl2br(substr($wlp->description, 0, $textLength))!!}@if($stringLength >= $textLength){!!nl2br(substr($wlp->description, $textLength))!!}@endif
View {{$wlp->message_count ?? 0}} comments
@foreach($wlp->message as $key => $message)
@foreach($message->reply as $reply)
@endforeach
@endforeach