@extends('admin.layouts.app') @section('title', 'Pathway Management') @section('content')

Pathway Management

@if(session('success')) @endif @if(session('error')) @endif

{{ $pathways->total() }}

Total Pathways

{{ \App\Models\Pathway::active()->count() }}

Active Pathways

{{ \App\Models\Pathway::where('status', false)->count() }}

Inactive Pathways

{{ \App\Models\Pathway::whereNotNull('logo')->count() }}

With Logos

Clear
Pathways List
@if($pathways->count() > 0)
@foreach($pathways as $pathway) @endforeach
Logo Name Description Status Sort Order Created Actions
@if($pathway->logo) {{ $pathway->name }} @else
@endif
{{ $pathway->name }} {{ Str::limit($pathway->short_description, 50) }}
status ? 'checked' : '' }}>
{{ $pathway->sorting }} {{ $pathway->created_at->format('M d, Y') }}
Showing {{ $pathways->firstItem() }} to {{ $pathways->lastItem() }} of {{ $pathways->total() }} results
{{ $pathways->links() }}
@else
No pathways found

Get started by creating your first pathway.

Create Pathway
@endif
@endsection @push('scripts') @endpush