@php $configData = Helper::appClasses(); @endphp @extends('layouts/layoutMaster') @section('title', 'Publication') @section('vendor-style') @vite(['resources/assets/vendor/libs/datatables-bs5/datatables.bootstrap5.scss', 'resources/assets/vendor/libs/datatables-responsive-bs5/responsive.bootstrap5.scss', 'resources/assets/vendor/libs/animate-css/animate.scss', 'resources/assets/vendor/libs/datatables-checkboxes-jquery/datatables.checkboxes.scss', 'resources/assets/vendor/libs/datatables-buttons-bs5/buttons.bootstrap5.scss', 'resources/assets/vendor/libs/flatpickr/flatpickr.scss', 'resources/assets/vendor/libs/datatables-rowgroup-bs5/rowgroup.bootstrap5.scss', 'resources/assets/vendor/libs/@form-validation/form-validation.scss']) @endsection @section('vendor-script') @vite(['resources/assets/vendor/libs/datatables-bs5/datatables-bootstrap5.js', 'resources/assets/vendor/libs/moment/moment.js', 'resources/assets/vendor/libs/flatpickr/flatpickr.js', 'resources/assets/vendor/libs/@form-validation/popular.js', 'resources/assets/vendor/libs/@form-validation/bootstrap5.js', 'resources/assets/vendor/libs/@form-validation/auto-focus.js']) @endsection @section('content')

{{ $name }}

@csrf

Publication List

{{ $totalCount }}

Total Publications

@php $selectedPerPage = request('perPage', 10); $searchQuery = request('search', ''); @endphp
Show entries
@php $fromYearSelected = request('from_year'); $toYearSelected = request('to_year'); @endphp
{{--
--}}
@if (count($publications) > 0) @foreach ($publications as $publication)
@if (!empty($publication['publication_type'])) {{ $publication['publication_type'] }} @endif
{{ $publication['title'] ?? 'No Title' }}

{{ $publication['authors'] ?? 'Unknown Authors' }}

{{ $publication['journal'] ?? '' }} {!! $publication['date_issued'] ? 'Year: ' . \Carbon\Carbon::parse($publication['date_issued'])->format('Y') : '' !!} {!! $publication['volume'] ? ', Volume: ' . $publication['volume'] : '' !!}

@if (!empty($publication['doi'])) {{ $publication['doi'] }} @endif
@if (!empty($publication['doi']) && $publication['doi'] !== 'null' && $publication['doi'] !== 'undefined') @php $metricId = 'metricBadgesContainer_' . $publication['uuid']; @endphp
@endif
@if ($publication['crossref_citation'] > 0)
Crossref {{ $publication['crossref_citation'] ?? 0 }}
@endif @if ($publication['scopus_citation'] > 0)
Scopus {{ $publication['scopus_citation'] ?? 0 }}
@endif @php $unpaywall = $publication['unpaywall'] ?? 'closed'; $upurl = $publication['upurl'] ?? null; $doi = $publication['doi'] ?? null; $icon = ''; $color = 'grey'; if ($unpaywall === 'gold') { $color = '#FFC300'; } elseif ($unpaywall === 'green') { $color = 'green'; } elseif (in_array($unpaywall, ['hybrid', 'bronze'])) { $color = '#CD7F32'; } // Safe HTML for DOI popover $doiUrl = 'https://doi.org/' . urlencode($doi); $doiLink = "{$doi}"; @endphp @if ($unpaywall !== 'closed' && !empty($upurl) && $upurl !== 'null' && $upurl !== 'undefined') {!! $icon !!} @elseif (!empty($doi)) {!! $icon !!} @endif

@endforeach @else
No publications found.
@endif

Showing {{ $publications->firstItem() ?? 0 }} to {{ $publications->lastItem() ?? 0 }} of {{ $publications->total() }} entries @if (request('search') | request('from_year') || (request('to_year') && $totalCount > $publications->total())) (filtered from {{ $totalCount }} total entries) @endif

No Data Available

There are no PublicationsList available in the database.

@endsection