@if (Session::has('message'))
@elseif (Session::has('error'))
@elseif ($errors->any())
@foreach ($errors->all() as $error)
@endforeach
@endif
{{{$page_title}}}
{!! Form::open(['url' => url('/'.$user_role.'/dashboard/'.$user_id.'/'.Request::segment(4).'/article-search'), '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 = App\Models\User::getUserDataByID($article->corresponding_author_id);
$edition = App\Models\Article::getArticleEdition($article->edition_id);
@endphp
-
@if($article->notify == 1) @endif {{{ Carbon\Carbon::parse($article->created_at)->format('d-m-Y') }}} @if(!empty($category->title)) {{{$category->title}}} @endif {{ trans('Id') }}{{{$article->unique_code}}} @if(!empty($edition)) {{{ trans('Edition') }}}: {{{$edition->title}}} @endif
{{{$article->title}}}
{{{ trans('Corresponding Author') }}}{{{$author->name}}}
{{{$author->email}}} -
@php $comments = App\Models\Article::getAdminArticleComments($article->id,'reviewer'); @endphp @if (!empty($comments)){{{ Carbon\Carbon::parse($article->created_at)->diffForHumans()}}} {{ trans('On') }} {{{Carbon\Carbon::parse($article->created_at)->format('l \\a\\t H:i:s')}}}@if ($article->status == "accepted_articles") @php $edition = !empty($editions) ? $editions : array(); $editionStatus = App\Models\Edition::getEditionStatusByID($article->edition_id); @endphp
{{{$article->title}}}
{!! Form::open(['url' => url('/'.$user_role.'/dashboard/update-accepted-article'),'class'=>'sj-categorysform', 'id' => $article->id, 'files' => true, 'enctype' => 'multipart/form-data']) !!} {!! Form::close() !!}@elseif ($article->status == "articles_under_review") @endif@php echo htmlspecialchars_decode(stripslashes($article->excerpt)); @endphp{{{trans('Attach Document')}}}
{{{trans('Download')}}}
{{{App\Models\Article::getArticleFullName($article->submitted_document)}}}
{{{trans('File Size')}}} {{{App\Models\UploadMedia::getArticleSize($article->corresponding_author_id,$article->submitted_document)}}}{{{trans('Feedback')}}}
@foreach ($comments as $comment)@endif{{{App\Models\Helper::getAcronym($comment->name)}}}{{{ Carbon\Carbon::parse($comment->created_at)->format('F j, Y') }}}{{{$comment->name}}}
{{{$comment->role_type}}}
{{{ trans('Status') }}}@if($comment->status != "articles_under_review" ) {{{ App\Models\Helper::displayReviewerCommentStatus($comment->status) }}} @endif
@endforeach{{{$comment->comment}}}
@endforeach
@else
@include('errors.no-record')
@endif