@if(auth()->user()->role->name === 'Faculty')
Fetching from Google Scholar...
@endif
Department
@if(auth()->user()->role_id == 1)
{{-- Admin: can choose any department --}}
All Departments
@foreach($departments as $department)
{{ $department->name }}
@endforeach
@else
{{-- Coordinator/Faculty: department is fixed --}}
{{ auth()->user()->department->name }}
@endif
Category
All
SCI
Scopus
Peer Reviewed
@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