@extends('layouts.member-login') @section('title', 'My Saved Items') @section('page_title', 'SavedItems') @section('page_level_css') @endsection @section('content') @php $textLength = 250; @endphp
{{$wlp->user->investigator->last_name}} Laboratory
@endif{{$wlp->user->research_name}}
| Wants: | @foreach($wlp->want as $key => $keyword) {{$keyword->type}} @isset($wlp->want[($key + 1)]) {{', '}} @endisset @endforeach |
|---|---|
| Offering: | {{($wlp->post_type == 'Sample') ? 'Samples' : $wlp->post_type}} |
| Origin: | {{config("const.post_type.".$wlp['post_origin'])}} |
| Species: | {{$mainPostSpecies}} |
| Keywords: | @foreach($wlp->PostKeywords as $key => $keyword) {{$keyword->keyword}} @isset($wlp->PostKeywords[($key + 1)]) {{', '}} @endisset @endforeach |
{!!nl2br(substr($wlp->description, 0, $textLength))!!}@if($stringLength >= $textLength){!!nl2br(substr($wlp->description, $textLength))!!}@endif
@php $postImg = App\Models\PostDocument::select('name')->where(['type'=>'Thumbnail','post_id'=>$wlp->id])->first(); @endphp @if(!empty($postImg->name) && Storage::disk('public')->exists($postImg->name))
{{ $profile->short_bio }}
{{ $profile->other_info->research_division ?? '' }}
Fields : {{getResearchFields($profile->id)}}
@php $stringLength = strlen($profile->other_info->research_description ?? ""); @endphp{!!nl2br(substr($profile->other_info->research_description??"", 0, $textLength))!!}@if($stringLength >= $textLength){!!nl2br(substr($profile->other_info->research_description, $textLength))!!}@endif