@extends('layouts.master') @section('title') Formations @endsection @section('content') @component('components.breadcrumb') @slot('li_1') Administration @endslot @slot('title') Formations @endslot @endcomponent @if(session('success'))
{{ session('success') }}
@endif
JCF Formation
{{ $counts['portfolio'] }} Portfolios {{ $counts['area'] }} Branches {{ $counts['division'] }} Divisions {{ $counts['station'] }} Stations New Node

Portfolio → Area / Branch → Division → Station. Persons are placed on a Station node. Add a child with the buttons on each row, or edit/move any node.

Reset
@if($filtering) {{-- Flat filtered results --}} @forelse($formations as $f) @empty @endforelse @else {{-- Full nested tree --}} @forelse($byParent[''] ?? ($byParent[null] ?? collect()) as $root) @include('admin.formations._node', ['node' => $root, 'byParent' => $byParent, 'depth' => 0]) @empty @endforelse @endif
NameLevelPathPeopleActions
{{ $f->name }} {{ $f->level_label }} {{ $f->parent ? $f->parent->path : '—' }} {{ $f->users_count }} Edit
@csrf
No formation nodes match.
Formation nodeActions
No formation nodes yet.
@if($filtering)
{{ $formations->links('pagination::bootstrap-5') }}
@endif
@endsection