@extends('layouts.master') @section('title') @lang('translation.Position_Details') @endsection @section('content') @component('components.breadcrumb') @slot('li_1') Admin @endslot @slot('title') Position Details @endslot @endcomponent
Position Details
@if(session('success'))
{{ session('success') }}
@endif
{{ substr($position->position_name, 0, 1) }}

{{ $position->position_name }}

Role: {{ $position->role->name ?? 'N/A' }}

{{ $position->active ? 'Active' : 'Inactive' }} @if($position->trashed()) Deleted @endif
Basic Information

Name: {{ $position->position_name }}

Role: @if($position->role) {{ $position->role->name }} @else N/A @endif

Status: {{ $position->active ? 'Active' : 'Inactive' }}

Timestamps

Created: {{ $position->created_at->format('M d, Y') }}

Last Updated: {{ $position->updated_at->format('M d, Y') }}

@if($position->trashed())

Deleted: {{ $position->deleted_at->format('M d, Y') }}

@endif
Description
@if($position->description) {!! nl2br(e($position->description)) !!} @else
No description available for this position.
@endif
Quick Actions
@if($position->trashed())
@csrf @method('PUT')
@csrf @method('DELETE')
@else Edit Position View All Positions
@csrf @method('DELETE')
@endif
Staff with this Position
@if(optional($position->staff)->count() > 0) @else
No Staff assigned to this position.
@endif
@endsection @section('script') @endsection @section('script-bottom') @endsection