@extends('layouts.master') @section('title') @lang('translation.Positions') @endsection @section('content') @component('components.breadcrumb') @slot('li_1') Admin @endslot @slot('title') Positions Management @endslot @endcomponent
Positions Management
Add New Position Smart View @if(request('onlyTrashed')) View Active View All @elseif(request('withTrashed')) View Active View Deleted @else View Deleted View All @endif
@if(session('success'))
{{ session('success') }}
@endif
@if(request()->has('search')) @endif
@forelse($positions as $position) @empty @endforelse
# Position Name Role Description Status Actions
{{ $loop->iteration + ($positions->currentPage() - 1) * $positions->perPage() }} {{ $position->position_name }} @if($position->role) {{ $position->role->name }} @else N/A @endif {{ Str::limit($position->description, 50) }} {{ $position->active ? 'Active' : 'Inactive' }} @if(method_exists($position, 'trashed') && $position->trashed()) Deleted @endif
@if($position->trashed())
@csrf @method('PUT')
@csrf @method('DELETE')
@else
@csrf @method('DELETE')
@endif

No positions found

Try adjusting your search or filter to find what you're looking for.

Add New Position
Showing {{ $positions->firstItem() }} to {{ $positions->lastItem() }} of {{ $positions->total() }} entries
{{ $positions->withQueryString()->onEachSide(1)->links() }}
@endsection @section('script') @endsection @section('script-bottom') @endsection