@extends('layouts.applicant.applicant') @section('head') @endsection @section('title', 'D18 - International Textbook') @section('breadcrumbs') @endsection @section('content')

Text book Published by International Publisher

Application: {{ $application->application_number }}

@php $previousStep = $currentStep->getPreviousStep(); @endphp @if($previousStep) Previous Step @endif
@include('applicant.applications.partials.progress-indicator') @php $internationalTextbooks = $application->internationalTextbooks()->orderBy('serial_no')->get(); $totalCreditPoints = $internationalTextbooks->sum('credit_points'); $evaluationPoints = min($totalCreditPoints, 18); // Max 18 for evaluation $totalBooks = $internationalTextbooks->count(); $recentBooks = $internationalTextbooks->where('year_of_publication', '>=', now()->year - 5)->count(); $booksByYear = $internationalTextbooks->groupBy('year_of_publication')->map->count(); $booksByPublisher = $internationalTextbooks->groupBy('publishers')->map->count(); @endphp
No International Textbook Declaration
no_international_textbook ? 'checked' : '' }} @if(!$application->isEditable()) disabled @endif onchange="toggleNoInternationalTextbook()">
Check this box if you have not published any textbooks with international publishers. This step is non-mandatory to fill.
@if(!$application->no_international_textbook)
{{ number_format($totalCreditPoints, 2) }}
Total Credit Points
{{ number_format($evaluationPoints, 2) }}
Maximum Credit Points (Max 18)
{{ $totalBooks }}
Total Books
{{ $recentBooks }}
Recent (Last 5 Years)
Credit Points Calculation
Credit Points per Book: 6 Points
Total Books: {{ $totalBooks }}

Important:
  • Maximum 18 credit points can be used for further calculation
  • 6 credit points per international textbook published
  • Only books published by recognized international publishers
  • This step is non-mandatory to fill
  • Upload proof documents for verification
International Textbook Details
@if($application->isEditable()) @endif
@if($internationalTextbooks->count() > 0)
@if($application->isEditable()) @endif @foreach($internationalTextbooks as $textbook) @if($application->isEditable()) @endif @endforeach
Sr. No Book Title Author(s) Publisher Year ISBN/ISSN Credit Points Proof DocumentActions
{{ $textbook->serial_no }} {{ $textbook->title_short }} {{ $textbook->author }} {{ $textbook->publishers }} {{ $textbook->year_of_publication }} {{ $textbook->book_age }} years ago {{ $textbook->isbn_formatted }} {{ number_format($textbook->credit_points, 2) }} @if($textbook->hasDocument()) @else No Document @endif
Book Summary

Total Books: {{ $totalBooks }}

Recent (5 years): {{ $recentBooks }}

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

Evaluation

Evaluation Points: {{ number_format($evaluationPoints, 2) }} / 18

@if($totalCreditPoints > 18)

Note: Total exceeds 18, capped at 18 for evaluation

@else

Status: Within evaluation limit

@endif
@if($booksByYear->count() > 0)
Year-wise Distribution
@foreach($booksByYear->sortKeysDesc()->take(4) as $year => $count)
{{ $count }}
{{ $year }}
@endforeach
@endif @if($booksByPublisher->count() > 0)
Publisher Distribution
@foreach($booksByPublisher->sortDesc()->take(4) as $publisher => $count)
{{ Str::limit($publisher, 20) }} {{ $count }}
@endforeach
@endif
@else
No International Textbooks Added

Add your published international textbooks to earn credit points.

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