@foreach ($errors->all() as $error)
@endforeach
@if ($articles->count() > 0)
@foreach ($articles as $article)
@php
$category = App\Models\Category::getCategoryByID($article->article_category_id);
$author = App\Models\User::getUserDataByID($user_id);
@endphp
-
@if ($article->author_notify == 1)
@endif
{{{ Carbon\Carbon::parse($article->created_at)->format('d-m-Y') }}} @if(!empty($category->title))
{{{$category->title}}} @endif
ID: {{{$article->unique_code}}}
{{{$article->title}}}
{{{trans('Corresponding Author')}}}
{{{$author->name}}}
{{{$author->email}}}
-
{{{ Carbon\Carbon::parse($article->created_at)->diffForHumans()}}} on {{{Carbon\Carbon::parse($article->created_at)->format('l \\a\\t H:i:s')}}}
{{{$article->title}}}
@if($article->status == "minor_revisions" || $article->status == "major_revisions")
@php $article_input_id = 'article_input_'.$article->id @endphp
{!! Form::open(['url' => 'author/resubmit-article', 'enctype' => 'multipart/form-data',
'multiple' => true, 'class' => 'total-fields sj-formtheme sj-formarticle']) !!}
{!! Form::hidden('article_id', $article->id) !!}
{!! Form::submit(trans('Save'), ['class' => 'sj-btn sj-btnactive']) !!}
{!! Form::close() !!}
@endif
{{{htmlspecialchars_decode(stripslashes($article->excerpt))}}}
@php $comments = App\Models\Article::getAdminArticleFeedbacks($article->id, $article->status); @endphp
@if(!empty($comments))
{{trans('Feedback')}}
@foreach($comments as $comment)
@endforeach
@endif
@endforeach
@else
@include('errors.no-record')
@endif
@if ( method_exists($articles,'links') )
{{{ $articles->links('pagination.custom') }}}
@endif