@php $user = Auth::user(); $user->roles; @endphp @props(['link' => $user->roles->position])
@if ($link === 'assistant_supervisor') {{-- Operations Sidebar Menu --}}

Dashboard

My Tasks

{{ $operationTaskCountContent + $operationTaskCountGraphic }}

Incoming Requests

{{ $operationIncomingRequestCount }}

Outgoing Requests

Approvals

{{ $operationApprovalCount }}

My Revisions

{{ $revisionCount }}

Renewal

Track Job Orders

Profile

Users

Downloadables

@csrf
@elseif ($link === 'client') {{-- Client Sidebar Menu --}}

Dashboard

Approvals

{{ $clientDraftCount }}

Downloadables

Renewal

Track Job Orders

Profile

@csrf
@elseif ($link === 'content_writer') {{-- Content Writer Sidebar Menu --}}

Dashboard

My Tasks

{{ $contentDraftCount }}

Track Job Orders

Profile

My Revisions

{{ $contentRevisionCount }}

Downloadables

@csrf
@elseif ($link === 'graphic_designer') {{-- Graphic Designer Sidebar Menu --}}

Dashboard

My Tasks

{{ $graphicDraftCount }}

My Revisions

{{ $graphicRevisionCount }}

Downloadables

Track Job Orders

Profile

@csrf
@elseif ($link === 'top_management') {{-- Top Management Sidebar Menu --}}

Dashboard

Approval

{{ $topmanagerApprovalCount }}

Track Job Orders

Request Form

Profile

Users

@csrf
@elseif ($link == 'operations_supervisor') {{-- Supervisor Sidebar Menu --}}

Dashboard

Operation Job Order

{{--

{{ $supervisorDraftCount }}

--}}

Direct Job Orders

My Tasks

{{ $supervisorTaskCountContent + $supervisorTaskCountGraphic }}

My Revisions

{{ $revisionCount }}

Approvals

{{ $supervisorApprovalCount }}

Track Job Orders

Renewal

Users

Profile

Request Form

Downloadables

@csrf
@elseif ($link == 'accounting') {{-- Supervisor Sidebar Menu --}}

Dashboard

Profile

Request Form

@csrf
@endif