@extends('layouts.applicant.applicant') @section('title', 'D4 - Journal Papers') @section('breadcrumbs') @endsection @section('content')

Journal Papers (Paid Journal not allowed)

Application: {{ $application->application_number }}

@php $previousStep = $currentStep->getPreviousStep(); @endphp @if($previousStep) Previous Step @endif
@include('applicant.applications.partials.progress-indicator') @php $journalPapers = $application->journalPapers()->orderBy('serial_no')->get(); $totalCreditPoints = $journalPapers->sum('credit_points'); $coAuthorCount = $journalPapers->where('role', 'co_author')->count(); $mainSupervisorCount = $journalPapers->where('role', 'main_supervisor')->count(); $firstAuthorCount = $journalPapers->where('role', 'first_author')->count(); $isSkipped = $application->skip_d4_journal_papers ?? false; @endphp @if(config('app.debug'))
Debug Information

Journal Papers Count: {{ $journalPapers->count() }}

Application ID: {{ $application->id }}

Is Skipped: {{ $isSkipped ? 'Yes' : 'No' }}

Is Editable: {{ $application->isEditable() ? 'Yes' : 'No' }}

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

Paper IDs: {{ $journalPapers->pluck('id')->implode(', ') }}

@endif
@endif
{{ number_format($totalCreditPoints, 2) }}
Total Credit Points
Credit Points Calculation
First Author:
  • Sole Author (0 others): 4 Credit Points
  • With Co-Authors: 2 Credit Points
Main Supervisor: 2 Credit Points per paper
Co-Author: 2 ÷ Total Other Authors

Important:
  • Paid journals are not allowed
  • Only SCOPUS/SCI indexed journals are accepted
Journal Papers
@if($application->isEditable()) @endif
@if($journalPapers->count() > 0)
@if($application->isEditable()) @endif @foreach($journalPapers as $paper) @if($application->isEditable()) @endif @endforeach
Sr. No Author(s) Name/Journal Name (Volume, PP, Year, etc...) Indexed In Role Total No of Other Authors Credit Points First Page Document Added OnActions
{{ $paper->serial_no }}
{{ $paper->journal_name_details }}
ID: {{ $paper->id }}
{{ $paper->indexed_in_label }} @php $badgeClass = 'secondary'; if ($paper->role === 'co_author') { $badgeClass = 'primary'; } elseif ($paper->role === 'main_supervisor') { $badgeClass = 'success'; } elseif ($paper->role === 'first_author') { $badgeClass = 'info'; } @endphp {{ $paper->role_label }} {{ $paper->total_other_authors }} {{ number_format($paper->credit_points, 2) }} @if($paper->hasDocument()) Download @else No Document @endif {{ $paper->created_at->format('M d, Y') }}
Summary

Total Papers: {{ $journalPapers->count() }}

Co-Author: {{ $coAuthorCount }} papers

Main Supervisor: {{ $mainSupervisorCount }} papers

First Author: {{ $firstAuthorCount }} papers

Total Credit Points: {{ number_format($totalCreditPoints, 2) }}

Breakdown
@php $scopusCount = $journalPapers->where('indexed_in', 'scopus')->count(); $sciCount = $journalPapers->where('indexed_in', 'sci')->count(); $withDocuments = $journalPapers->filter(function($paper) { return $paper->hasDocument(); })->count(); @endphp

SCOPUS Indexed: {{ $scopusCount }}

SCI Indexed: {{ $sciCount }}

With Documents: {{ $withDocuments }} / {{ $journalPapers->count() }}

Last Updated: {{ $journalPapers->max('updated_at') ? $journalPapers->max('updated_at')->format('M d, Y H:i') : 'N/A' }}

@else
No Journal Papers Added

Add your published journal papers to earn credit points.

@if($application->isEditable()) @endif
@endif
@if($previousStep) Previous: {{ $previousStep->name }} @endif
@php $nextStep = $currentStep->getNextStep(); @endphp @if($nextStep) Next: {{ $nextStep->name }} @endif
@if($application->isEditable()) @endif @endsection