@extends('layouts.member-login') @section('title',$postTitle) @section('page_title','') @section('page_level_css') @endsection @section('content') @php $textLength = 280; $tableLength = 4; $iconArray = []; foreach (config("const.effect_on_dependent_variable") as $key => $val) { $iconArray[$val['id']] = $val['icon']; } @endphp
@include('member.include.user-info-box')
@include('member.include.2027-pn')

{{$postTitle}}

@include('member.include.private-view-post-topbar')

@if(!empty($post->description))

Description

{!!nl2br($post->description ?? "")!!}

Read More
@endif @if (!empty($post->PI->full_name))

Principal Investigator

@if($post->PI->status=="Active")

{{$post->PI->full_name ?? ''}}

@else

{{$post->PI->full_name ?? ''}}

@endif
@endif @if($post->authorids->count()>0)

Authors

@foreach ($post->authorids as $authorid)

@if($authorid->status == "Active") {{$authorid->full_name ?? ''}} @else {{$authorid->full_name ?? ''}} @endif @if($authorid->role=='PI') @endif

@if($post->status == 'Approved' && $authorid->id == $post->PI->id)

PI Approved : {{\Carbon\Carbon::parse($post->approved_time)->format('F d, Y g:i A')}}

@endif
@endforeach
@endif @php $generalKeywords=$post->PostKeywords->pluck("keyword")->implode(', ') @endphp @if (!empty($generalKeywords))

General Keywords

{{$generalKeywords}}

@endif @if($post->legal->count()>0)

Legal

@foreach ($post->legal as $val)
@endforeach
@endif
@if($post->post_origin == "Cell") @include('member.post.includes.view-cell-culture-sample') @elseif($post->post_origin == "Model") @include('member.post.includes.view-model-sample') @elseif($post->post_origin == "Reaction") @include('member.post.includes.view-reaction-sample') @elseif($post->post_origin == "Field") @include('member.post.includes.view-field-sample') @elseif($post->post_origin == "Vectors") @include('member.post.includes.view-vectors-plasmids-sample') @else @include('member.post.includes.view-human-sample') @endif

Collection Dates

{{$post->collection_date_end ? $post->collection_date_start . " - " . $post->collection_date_end : $post->collection_date_start}}

@if (!empty($post->study_design_keyword))

Study Design Keywords

{{$post->study_design_keyword}}

@endif
@if ($inputKeywordList->count() > 0 || $outputKeywordList->count() > 0 || $reactionProcessKeywordList->count() > 0 || $modelKeywordList->count() > 0)

@if ($inputKeywordList->count()>0)

Input

@foreach($inputKeywordList as $keyID => $keyword)

{{$keyword->keyword}}

@if (!empty($keyword->description))

{!!nl2br($keyword->description ?? "")!!}

@if(strlen($keyword->description) >= 150) Read More @endif
@endif @endforeach
@endif @if ($outputKeywordList->count()>0)

Output

@foreach($outputKeywordList as $keyID => $keyword)

{{$keyword->keyword}}

@if (!empty($keyword->description))

{!!nl2br($keyword->description ?? "")!!}

@if(strlen($keyword->description) >= 150) Read More @endif
@endif @endforeach
@endif @if ($reactionProcessKeywordList->count()>0)

Reaction or Process

@foreach($reactionProcessKeywordList as $keyID => $keyword)

{{$keyword->keyword}}

@if (!empty($keyword->description))

{!!nl2br($keyword->description ?? "")!!}

@if(strlen($keyword->description) >= 150) Read More @endif
@endif @endforeach
@endif @if ($modelKeywordList->count()>0)

Model

@foreach($modelKeywordList as $keyID => $keyword)

{{$keyword->keyword}}

@if (!empty($keyword->description))

{!!nl2br($keyword->description ?? "")!!}

@if(strlen($keyword->description) >= 150) Read More @endif
@endif @endforeach
@endif
@endif @if ($locationKeywordList->count() > 0 || $gisCoordinates->count() > 0)

@if ($locationKeywordList->count() > 0)

Location Keyword

@foreach($locationKeywordList as $keyID => $keyword)

{{$keyword->keyword}}

@if (!empty($keyword->description))

{!!nl2br($keyword->description ?? "")!!}

@if(strlen($keyword->description) >= 150) Read More @endif
@endif @endforeach
@endif @if ($gisCoordinates->count() > 0)

GIS Coordinates

*{{config("const.post_location_title")}}

@endif
@endif
@if($post->experiment_perform_key == 'Yes') @if(!empty($post->experiment_perform_description))

Experiment Perform Description

@php $stringLength = strlen($post->experiment_perform_description); @endphp {!! nl2br(substr($post->experiment_perform_description, 0, $textLength)) !!} @if($stringLength >= $textLength) ... {!! nl2br(substr($post->experiment_perform_description, $textLength)) !!} @endif

@if($stringLength >= $textLength)
@endif @endif @if($independentVariable->count() > 0 || $dependentVariable->count() > 0)

Variables

variable

Independent Variables

@foreach($independentVariable as $independent) @if($independent->description == "")

{{$independent->keyword}}

@else

  • {{$independent->description}}
@endif @endforeach
variable

Dependent Variables

@foreach($dependentVariable as $dependent) @if($dependent->description == "")

{{$dependent->keyword}}

@else

  • {{$dependent->description}}
@endif @endforeach
@endif @if(!empty($post->relevant_control))

Controls

{!!nl2br($post->relevant_control ?? "")!!}

Read More
@endif @if (!empty($post->additional_endpoint))

Additional Endpoints

{!!nl2br($post->additional_endpoint ?? "")!!}

Read More
@endif @else

No experiment performed

@endif

@if(!empty($post->method))

Methods

{!!nl2br($post->method ?? "")!!}

Read More
@endif @if($methodDocument->count()>0)

Supporting Documentation

@foreach ($methodDocument as $key=>$val )

{{$val->original_name}}

@endforeach
@endif @if($PostKeyReagent->count()>0)

Key Reagents

@foreach ($PostKeyReagent as $val) @endforeach
@endif

Final Sample Size

@if($postInteractions->count()>0)

Findings

@endif @if (!empty($post->additional_endpoint_detail))

Additional Details

{!!nl2br($post->additional_endpoint_detail ?? "")!!}

Read More
@endif @if ($resultDocument->count()>0)

Supporting Documentation

@foreach ($resultDocument as $key => $val )

{{$val->original_name}}

@endforeach
@endif

Who can see this post?

{{config("const.post_setting.".$post->who_see.".title")}}

@if($post->status == 'Pending' || $post->status == 'Approved' || $post->status == 'Declined' || $post->status == 'Edited')
@if($post->status == 'Pending')

Request sent {{commonTimeFormat($post->request_time)}} MST {{ commonDateFormat($post->request_time)}}

@endif @if($post->status == 'Approved')

Approved {{commonTimeFormat($post->approved_time)}} MST {{ commonDateFormat($post->approved_time)}}

@endif @if($post->status == 'Declined')

Denied {{commonTimeFormat($post->declined_time)}} MST {{ commonDateFormat($post->declined_time)}}

@endif @if($post->status == 'Edited')

Edited {{commonTimeFormat($post->declined_time)}} MST {{ commonDateFormat($post->declined_time)}}

@endif
@endif
@if($previousPost) Previous @else @endif
Top
@if($nextPost) Next @else @endif
@endsection @section('page_level_js') @endsection @push('footerscript') @endpush