@extends('layouts.page') @section('title')
Department Achievements {{ $achievements->total() }}
@endsection @section('navs') @include('common.search') @if ((Auth::user()->hasAnyDepartment(['ict','al','cdp','wep','leap']) && Auth::user()->hasAnyRole(['Second Inline','HOD'])) || Auth::user()->hasAnyRole(['admin'])) Create Formate @endif @endsection @section('content') @include('common.image_viewer')
@foreach ($achievements as $achievement) @endforeach
Title Department File Actions
{{ $achievement->dep_title }} {{ $achievement->department }} View File Edit @if (Auth::user()->isAdmin() || Auth::user()->hasAnyDepartment(['admin'])) @endif
{{ $achievements->links() }}
@endsection