@extends('master') @php $breadcrumbs = Breadcrumbs::generate('authorArticles',$user_id,$status); @endphp @section('breadcrumbs') @if (count($breadcrumbs))
    @foreach ($breadcrumbs as $breadcrumb) @if ($breadcrumb->url && !$loop->last)
  1. {{{$breadcrumb->title}}}
  2. @else
  3. {{{ App\Models\Helper::displayArticleBreadcrumbsTitle($breadcrumb->title) }}}
  4. @endif @endforeach
@endif @endsection @section('content')
@include('includes.side-menu')
@if (Session::has('message'))
@elseif (Session::has('error'))
@elseif ($errors->any())
@foreach ($errors->all() as $error) @endforeach
@endif

{{{$page_title}}}

{!! Form::open(['url' => url('author/user/'.$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($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}}}
  • {{{trans('User Image')}}}
    {{{ 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))}}}

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

    {{{trans('Download')}}}
    {{{trans('Doc Image')}}}

    {{{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::getAdminArticleFeedbacks($article->id, $article->status); @endphp @if(!empty($comments))

    {{trans('Feedback')}}

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

    {{$comment->name}}

    {{{$comment->role_type}}}

    Status

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

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