@extends('layouts.app') @section('title', 'Project exceptions') @section('content')

Workflow management

Project exceptions

Held, cancelled and archived projects, plus pending cancellation requests within your management scope.

@forelse($projects as $project)
@can('view', $project)

{{ $project->title }}

@else

Project {{ $project->reference }}

@endcan

{{ App\Models\Project::STATUSES[$project->status] }}

@if($project->exceptionRequests->where('status', 'pending')->isNotEmpty())

Cancellation review pending.

@can('manageExceptions', $project)@foreach($project->exceptionRequests->where('status', 'pending') as $request)

{{ $request->reason }}

@endforeach
@csrf
@endcan @endif
@empty

No project exceptions in your scope.

@endforelse
{{ $projects->links() }}
@endsection