@extends('master') @section('content')
@if (Session::has('message'))
@elseif (Session::has('error'))
@endif @include('includes.side-menu')

{{{ $page_title }}}

{!! Form::open(['url' => '/reviewer/user/'.$reviewer_id.'/'.Request::segment(4).'/search-article', 'method' => 'get', 'class' => 'sj-formtheme sj-formsearchvtwo']) !!}
{!! Form::close() !!}
@if ($articles->count() > 0)
    @foreach ($articles as $article) @php $category = App\Models\Category::getCategoryByID($article->article_category_id); $author_image = App\Models\User::getArticleAuthorImage($article->id); @endphp
  • {{{ Carbon\Carbon::parse($article->created_at)->format('M j H:i:s') }}} @if (!empty($category)) {{{$category->title}}} @endif {{ trans('Id') }} {{{ $article->unique_code }}} @if ($article->status == 'major_revisions' || $article->status == 'minor_revisions') Status: {{{ $article->status }}} @endif

    {{{$article->title}}}

    @if ($article->status == 'articles_under_review') @endif
  • {{{ trans('user_img') }}}
    {{{ Carbon\Carbon::parse($article->created_at)->diffForHumans() }}} on {{{ Carbon\Carbon::parse($article->created_at)->format('l \\a\\t H:i:s') }}}

    {{{$article->title}}}

    @php echo htmlspecialchars_decode(stripslashes($article->excerpt)); @endphp

    {{{trans('Attached Document')}}}

    {{{trans('Download')}}}
    {{{trans('doc_img')}}}

    {{{ App\Models\Article::getArticleFullName($article->submitted_document) }}}

    {{{ trans('File Size') }}} {{{ App\Models\UploadMedia::getArticleSize($article->corresponding_author_id,$article->submitted_document) }}}
    @php $comments = App\Models\Article::getArticleCommentsByUserID($reviewer_id,$article->id); @endphp @if (!empty($comments))

    {{{trans('Reviewer Feedback')}}}

    @foreach ($comments as $comment)
    {{{ App\Models\Helper::getAcronym(Auth::user()->name) }}}
    {{{ Carbon\Carbon::parse($comment->created_at)->format('F j, Y') }}}

    {{{ Auth::user()->name }}}

    {{{trans('Status')}}}

    @if($comment->status != "articles_under_review" ) {{{ App\Models\Helper::displayReviewerCommentStatus($comment->status) }}} @endif

    {{{ $comment->comment }}}
    @endforeach
    @endif
  • @endforeach
@if( method_exists($articles,'links') ) {{ $articles->links('pagination.custom') }} @endif @else @include('errors.no-record') @endif
@endsection