@extends('layouts.app') @section('content')

All Publications

@if(auth()->user()->role->name === 'Faculty') @endif
@if(auth()->user()->role->name === 'Faculty') @endif
Department @if(auth()->user()->role_id == 1) {{-- Admin: can choose any department --}} @else {{-- Coordinator/Faculty: department is fixed --}} @endif
Peer Reviewed
Date Range to
@php use Illuminate\Support\Str; $labels = [ 'Title', 'First Author', 'Type', 'Journal/Conference', 'Faculty', 'Department', 'Start Date', 'End Date', 'Peer Reviewed', 'Scopus', 'SCI', ]; $columns = []; foreach ($labels as $i => $label) { $columns[] = [ 'label' => $label, 'id' => 'column-' . Str::slug($label, '-'), 'value' => $i + 2, 'checked' => $label !== 'Peer Reviewed', ]; } @endphp
ID Title First Author Type Journal/Conference Faculty Department Start Date End Date Peer Reviewed Scopus SCI Actions
@endsection @section('scripts') @endsection