{{-- resources/views/delegations/index.blade.php --}} @extends('layouts.app') @section('title', 'Delegations') @section('page-header')
| Status | Original User | Delegated To | Workflow | Start Date | End Date | Reason | Actions |
|---|---|---|---|---|---|---|---|
|
{{ $status }}
@if($delegation->trashed())
(Soft Deleted) @endif |
{{ $delegation->originalUser->name ?? 'N/A' }} | {{ $delegation->delegatedUser->name ?? 'N/A' }} | @if($delegation->workflow) {{ $delegation->workflow->workflow_name }} @else All Workflows @endif | {{ $delegation->start_date->format('M d, Y H:i') }} | {{ $delegation->end_date->format('M d, Y H:i') }} | {{ $delegation->reason ?? 'N/A' }} |
@if($delegation->trashed())
@if(Auth::user()->isAdmin())
@endif
@else
@if($delegation->isActive() && $delegation->original_user_id == auth()->id())
@endif
@endif
|
Create delegations to temporarily transfer your approval authority.